:root {
  --bgColler: #69001c;
  --paragrafCollor: #444;
  --bgWhiteCollor: #fff;
  --buttonCollor: #9f0016;
  --borderInputCollor: #777;
  --borderQrCollor: #ccc;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", serif;
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--bgColler);
}

/* Container */

.container {
  background-color: var(--bgWhiteCollor);
  max-width: 90%;
  width: 450px;
  border-radius: 5px;
  padding: 20px;
  transition: 0.4s ease-in-out;
  box-shadow: 2px 3px 17px -7px rgba(0, 0, 0, 0.75);
}

.container.active {
  height: auto;
}

#qr-header {
  text-align: center;
}

#qr-header img {
  height: 120px;
  width: auto;
  margin: 10px 5px 0px 5px;
}

#qr-header h1 {
  font-size: 1.8rem;
  margin: 5px 5px 0px 5px;
  font: 900;
}

#qr-header span {
  color: var(--buttonCollor);
  font-weight: 400;
}

#qr-header p {
  color: var(--paragrafCollor);
  font-size: 0.77rem;
  text-transform: uppercase;
  margin-top: -4px;
  margin-bottom: 10px;
}

.qr-response {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50px;
  background-color: var(--buttonCollor);
  color: var(--bgWhiteCollor);
  border-radius: 5px;
  opacity: 0.9;
  transition: 0.4s ease-in-out;
  margin: 20px 20px;
}

.qr-response #qr-title-msg {
  font-size: 15px;
  font-weight: 700;
}

.qr-response #qr-msg {
  font-size: 11px;
}

#qr-form {
  margin: 15px 20px;
}

#qr-form input,
#qr-form button {
  width: 100%;
  height: 55px;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
}

#qr-form input {
  border: 1px solid var(--borderInputCollor);
  padding: 10px 20px;
}

.button {
  background-color: var(--buttonCollor);
  color: var(--bgWhiteCollor);
  font-size: 1.2rem;
  margin-top: 20px;
  cursor: pointer;
  opacity: 0.9;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.button:hover {
  transform: scale(1.1);
}

.btnFooter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#btnCopy {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 100px;
  font-size: 0.9rem;
  background-color: orange;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

#btnCopy:hover {
  transform: scale(1.1);
}

.btnCopyHidden {
  display: none;
}

#qr-form button:hover {
  opacity: 1;
}

/* QR Code */

#qr-code {
  display: none;
  border: 1px solid var(--borderQrCollor);
  padding: 40px 0;
  justify-content: center;
  border-radius: 5px;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  transform: translateY(20px);
}

.container.active #qr-code {
  display: flex;
  opacity: 1;
  margin: 20px 20px;
  transform: translateY(0);
}

.qr-response.activeDisplay {
  display: none;
  transform: 0.5s;
}
