@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0rem;
  padding: 0rem;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

body {
  font-family: "Hanken Grotesk", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body p {
  font-size: 1.125rem;
}

/* Following a mobile-first approach. */

#container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#section-one {
  background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
  text-align: center;
  color: hsl(0, 0%, 100%);
  min-height: 15.625rem;
  border-bottom-right-radius: 10%;
  border-bottom-left-radius: 10%;
  padding: 1rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#section-one__title {
  color: hsl(241, 100%, 89%);
  font-weight: 700;
}
#section-one__circle {
  background: linear-gradient(hsla(256, 72%, 46%, 1), hsla(241, 72%, 46%, 0));
  min-width: fit-content;
  min-height: fit-content;
  margin: auto;
  border-radius: 50%;
  width: 7rem;
  height: 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#section-one__circle p {
  font-weight: 800;
  font-size: 2.5rem;
}
#section-one__circle span {
  color: hsl(241, 100%, 80%);
  font-weight: 700;
  font-size: 0.75rem;
}
#section-one__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#section-one__bottom__title {
  font-weight: 500;
}
#section-one__bottom__text {
  color: hsl(241, 100%, 82%);
  font-weight: 500;
  font-size: 1rem;
}

#section-two {
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
#section-two__title {
  color: hsl(224, 30%, 27%);
  font-weight: 800;
  display: flex;
  justify-content: flex-start;
}
#section-two__cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.section-two__cards__content {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 0.75rem;
}
.section-two__cards__title {
  display: flex;
  gap: 0.75rem;
  font-weight: 700;
}
.section-two__cards__score {
  color: hsl(224, 30%, 27%);
  font-weight: 700;
}
.section-two__cards__score span {
  color: hsl(224, 30%, 70%);
}

#section-two__cards__reaction {
  background: hsl(0, 100%, 98%);
  color: hsl(0, 100%, 67%);
}
#section-two__cards__memory {
  background: hsl(39, 100%, 98%);
  color: hsl(39, 100%, 56%);
}
#section-two__cards__verbal {
  background: hsl(166, 100%, 98%);
  color: hsl(166, 100%, 37%);
}
#section-two__cards__visual {
  background: hsl(234, 85%, 98%);
  color: hsl(234, 85%, 45%);
}

.section-two__button {
  background: hsl(224, 30%, 27%);
  color: hsl(0, 0%, 100%);
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0.025rem;
  border-radius: 2rem;
  border: none;
}
.section-two__button:hover {
  background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
  cursor: pointer;
}
.section-two__button:focus {
  background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
}

/* For desktop sizes. */
@media (min-width: 75rem) {
  body {
    height: 100vh;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #container {
    display: flex;
    flex-direction: row;
    border-radius: 1.5rem;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1), 0 1px 1px 0 rgba(0, 0, 0, 0.1),
      0 10px 15px 0 rgba(0, 0, 0, 0.1);
    gap: 1rem;
  }

  #section-one {
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }
  #section-one__title {
    font-size: 1.5rem;
  }
  #section-one__circle {
    width: 12rem;
    height: 12rem;
  }
  #section-one__circle p {
    font-size: 4.5rem;
  }
  #section-one__circle span {
    font-size: 1.25rem;
  }
  #section-one__bottom__title {
    font-size: 2rem;
  }

  #section-two {
    width: 100%;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }
}
