@font-face {
  font-family: "Satoshi";
  src: url("./fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

*:not(dialog) {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "Satoshi", sans-serif;
  max-width: 1920px;
  margin: 0 auto;
  background-color: #fefcfa;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

#root,
#__next {
  isolation: isolate;
}

.container {
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  width: 5rem;
}

nav p {
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
}

.hero-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-tablet {
  display: none;
}

.hero-desktop {
  display: none;
}

.summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chip {
  background-color: #eaf4ee;
  color: #1f2937aa;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  width: fit-content;
}

.description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.description h1 {
  font-size: 2.7rem;
  line-height: 130%;
  color: #1f2937;
  font-weight: 700;
}

.description span {
  color: #6fa488;
}

.description p {
  color: #1f2937aa;
  font-weight: 500;
  font-size: 15px;
}

.illustration img {
  width: 100%;
}

.mobile-category {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-evenly;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.card .image-holder {
  width: 4rem;
  height: 4rem;
  background-color: #faf8ef;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .image-holder img {
  width: 1.5rem;
}

.card p {
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  padding: 2rem 0;
}

.footer .social-header {
  font-weight: 500;
}

.footer .socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer .image-holder {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #faf8ef;
  border-radius: 999px;
}

.footer .image-holder img {
  width: 1.2rem;
}

.footer .copyright {
  font-size: 14px;
  color: #1f2937aa;
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    gap: 2rem;
  }

  nav {
    padding: 1.5rem 0;
  }

  .hero-mobile {
    display: none;
  }

  .hero-tablet {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .description p {
    max-width: 80%;
  }

  .category {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .card .image-holder {
    width: 3rem;
    height: 3rem;
    background-color: #faf8ef;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card .image-holder img {
    width: 1.2rem;
  }

  .card p {
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
  }
}

@media (min-width: 768px) {
  .chip {
    padding: 12px 20px;
    font-size: 15px;
  }

  .description h1 {
    font-size: 4rem;
  }

  .description p {
    font-size: 16px;
    max-width: 75%;
  }

  .category {
    gap: 3rem;
  }

  .card .image-holder {
    width: 4rem;
    height: 4rem;
  }

  .card .image-holder img {
    width: 1.5rem;
  }

  .card p {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
    gap: 2rem;
  }

  nav {
    padding: 2rem 0;
  }

  .logo {
    width: 6rem;
  }
}

@media (min-width: 1150px) {
  .hero-tablet {
    display: none;
  }

  .hero-desktop {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-desktop .header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .grid-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
  }

  .summary p {
    color: #1f2937aa;
    font-weight: 500;
  }

  .card p {
    color: #1f2937;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .logo {
    width: 7rem;
  }

  nav p {
    font-size: 18px;
  }

  .chip {
    padding: 16px 24px;
    font-size: 16px;
  }

  .description h1 {
    font-size: 5rem;
  }

  .summary {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .summary p {
    font-size: 18px;
  }

  .card p {
    font-size: 16px;
  }
}
