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

html {
  font-size: 15pt;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 1.5rem;
  background: #ffcf96;
  color: #000;
  font-family: "Afacad", sans-serif;
  font-size: 1.25rem;
  line-height: 1.5;
  text-align: center;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
h2,
h3,
.menu {
  font-family: "Fredoka One", sans-serif;
  font-weight: 400;
}

h1 {
  color: #c46a00;
  font-size: 2.75rem;
  text-transform: uppercase;
}

h2 {
  color: #c46a00;
  font-size: 2.25rem;
}

h3 {
  font-size: 1.625rem;
}

h3.accent {
  color: #c46a00;
}

h3.will {
  color: #197517;
}

h3.wont {
  color: #960202;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.card {
  width: 40rem;
  max-width: 100%;
  padding: 3rem;
  background: #fff2e6;
  border-radius: 2.375rem;
}

section {
  display: none;
  scroll-margin-top: 100vh;
  animation: fade-in 0.5s;
}

section:target,
.card:not(:has(:target)) #home {
  display: block;
}

section > * + * {
  margin-top: 0.75rem;
}

#home > * + * {
  margin-top: 1.5rem;
}

section > p + p {
  margin-top: 1rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.socials img {
  width: 2.125rem;
  height: 2.125rem;
}

.avatar {
  width: 15rem;
  border-radius: 50%;
}

.note {
  font-family: "Fredoka", sans-serif;
  font-size: 1.5rem;
}

.stickers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  background: #ffcf96;
  border-radius: 2.25rem;
}

.stickers img {
  width: 15rem;
}

.portrait,
.page {
  width: 20.875rem;
}

.portrait {
  border-radius: 1.75rem;
}

.landscape {
  width: 29.75rem;
  border-radius: 1.5rem;
}

.price {
  line-height: 1.25;
}

#tos p {
  font-size: 1.375rem;
}

#tos .intro {
  font-family: "Funnel Display", sans-serif;
}

#tos .list,
#tos .rights {
  font-size: 1.25rem;
}

#tos .list {
  font-weight: 600;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  margin-top: 1.5rem;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.375rem;
  font-size: 1.25rem;
}

.menu a {
  position: relative;
  color: #c46a00;
}

.menu a:hover {
  text-decoration: none;
}

.menu a + a::before {
  content: "";
  position: absolute;
  top: calc(55% - 0.25rem);
  left: -0.9375rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ffcf96;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@media (max-width: 1680px) {
  html {
    font-size: 11pt;
  }
}

@media (max-width: 980px) {
  html {
    font-size: 9pt;
  }
}

@media (max-width: 736px) {
  .card {
    padding: 3rem 2rem;
  }

  .stickers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .card {
    padding: 2.25rem 1.5rem;
  }

  h1,
  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  section {
    animation: none;
  }
}
