@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --bcg-color: #ffffff;
  --primary-color: #ffbc12;
  --border-radius: 8px;
  --secondary-color: #000000;
  --button-color: #ff0000;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bcg-color);
}

.box {
  background-color: var(--primary-color);
  padding: 30px;
  width: 400px;
  border-radius: var(--border-radius);
}

.qr-header h1 {
  font-size: 30px;
  text-align: center;
  color: var(--secondary-color);
  /* margin-bottom: 24px; */
}

.qr-header input {
  width: 100%;
  margin-block: 12px;
}

.qr-header input,
select {
  padding: 8px;
  border-radius: var(--border-radius);
  font-size: 18px;
  outline: none;
  border: 2px solid var(--border-color);
}

.qr-header label {
  color: var(--secondary-color);
  font-size: 20px;
}

.qr-header div {
  display: flex;
  justify-content: space-between;
}

.qr-footer {
  display: flex;
  justify-content: center;
}
.qr-footer a {
  background-color: var(--button-color);
  text-decoration: none;
  font-size: 20px;
  padding: 10px 30px;
  margin-inline: 2px;
  color: var(--bcg-color);
  font-weight: 600;
  border-radius: var(--border-radius);
}

.qr-body {
  display: grid;
  place-items: center;
  padding: 20px;
}

.qr-body img {
  max-width: 100%;
  max-height: 100%;
  margin-block: 10px;
  padding: 20px;
  border: 0.5px solid #000;
  border-radius: var(--border-radius);
}

@media screen and (max-width: 520px) {
  .box {
    width: 80%;
  }
  .qr-footer a {
    padding: 12px;
    font-size: 16px;
  }
}
