@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: hsl(212, 45%, 89%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  height: 100vh;
}

main {
  background-color: hsl(0, 0%, 100%);
  padding-top: 1rem;
  text-align: center;
  border-radius: 10px;
}

.qrcode {
  max-height: 90%;
  max-width: 90%;
  border-radius: 10px;
}

.heading {
  color: hsl(218, 44%, 22%);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 1rem auto;
  max-width: 70%;
}

.description {
  color: hsl(220, 15%, 55%);
  font-weight: 400;
  margin: 0 auto 2rem auto;
  max-width: 80%;
  text-align: center;
}

.attribution {
  font-size: 11px;
  text-align: center;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

/* LARGER SCREEN MEDIA QUERY  */

@media screen and (1440px < width < 2500px) {
  main {
    max-height: 70%;
    max-width: 15%;
  }
}

/* SMALLER SCREEN MEDIA QUERY */

@media screen and (1024px < width <= 1440px) {
  main {
    max-width: 20%;
  }

  .heading {
    max-width: 90%;
  }

  .description {
    max-width: 95%;
  }
}

/* MOBILE MEDIA QUERY */

@media screen and (0px < width <= 375px) {
  main {
    max-width: 90%;
  }
}

/* TABLET MEDIA QUERY */

@media screen and (375px < width <= 768px) {
  main {
    max-width: 90%;
    max-height: 80%;
  }
}
