@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: hsl(0, 0%, 8%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Inter", sans-serif;
  color: hsl(0, 0%, 100%);
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: auto;
  margin: 7% 0 3% 0;
  text-align: center;
  background-color: hsl(0, 0%, 12%);
  border-radius: 0.5rem;
  padding: 24px 24px;
}

header, nav {
  width: 100%;
}

main nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}
main nav a {
  background-color: hsl(0, 0%, 20%);
  border-radius: 0.5rem;
  height: 2rem;
  width: 100%;
  padding-block: 1rem;
  margin-block: 0.35rem;
  color: hsl(0, 0%, 100%);
  font-size: 0.65em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
main nav a:hover {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 8%);
  font-weight: bold;
}

main header img {
  width: 4em;
  border-radius: 50%;
  margin-bottom: 5%;
}
main header h1 {
  font-size: 1.1em;
  font-weight: 600;
  margin-block: 3%;
}
main header h2 {
  font-size: 0.65em;
  font-weight: 500;
  color: hsl(75, 94%, 57%);
  margin-top: 2%;
}
main header p {
  font-size: 0.65em;
  font-weight: 200;
  margin-block: 8%;
}

.attribution {
  color: hsl(0, 0%, 100%);
  font-size: 0.65em;
  font-weight: 200;
  text-align: center;
  margin-bottom: 2%;
}
.attribution a {
  text-decoration: none;
  color: hsl(75, 94%, 57%);
}

@media screen and (max-width: 500px) {
  main {
    margin: 16% 0 5% 0;
  }
  .attribution {
    margin: 5% 0 10% 0;
  }
}
@media screen and (max-width: 375px) {
  main {
    margin: 16% 0 6% 0;
  }
  .attribution {
    margin: 5% 0 10% 0;
  }
}
@media screen and (max-width: 300px) {
  main {
    width: 250px;
    margin: 17% 0 8% 0;
  }
}
@media screen and (max-width: 170px) {
  main {
    width: 140px;
    margin: 17% 0 4% 0;
    padding: 12px 12px;
  }
  .attribution {
    font-size: 0.5em;
  }
}/*# sourceMappingURL=style.css.map */