@font-face {
  font-family: "Teodor";
  font-weight: 200;
  src: url("../fonts/teodor.woff2") format("woff2");
}
@font-face {
  font-family: "PP Mori";
  font-weight: 400;
  src: url("../fonts/regular.woff2") format("woff2");
}
@font-face {
  font-family: "PP Mori";
  font-weight: 600;
  src: url("../fonts/semibold.woff2") format("woff2");
}
h1 {
  font-family: "Teodor", Georgia, serif;
  font-weight: 200;
  margin: 0;
  line-height: 48px;
  font-size: 40px;
}

h2,
h3 {
  font-family: "Teodor", Georgia, serif;
  font-weight: 200;
  margin: 0;
  line-height: 32px;
  font-size: 32px;
}

h4,
h5 {
  font-family: "Teodor", Georgia, serif;
  font-weight: 200;
  margin: 0;
  line-height: 28px;
  font-size: 24px;
}

h6 {
  font-family: "PP Mori", Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin: 0;
  line-height: 20px;
  font-size: 12px;
}

strong {
  font-family: "PP Mori", Arial, Helvetica, sans-serif;
  font-weight: 600;
  line-height: 28px;
  font-size: 24px;
}

b {
  font-family: "PP Mori", Arial, Helvetica, sans-serif;
  font-weight: 600;
  line-height: 24px;
  font-size: 18px;
}

p {
  font-family: "PP Mori", Arial, Helvetica, sans-serif;
  font-weight: 400;
  margin: 0;
  line-height: 24px;
  font-size: 18px;
}

small {
  font-family: "PP Mori", Arial, Helvetica, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 24px;
  font-size: 16px;
}

@media (min-width: 992px) {
  h1 {
    font-family: "Teodor", Georgia, serif;
    font-weight: 200;
    margin: 0;
    line-height: 96px;
    font-size: 100px;
  }
  h2 {
    font-family: "Teodor", Georgia, serif;
    font-weight: 200;
    margin: 0;
    line-height: 64px;
    font-size: 64px;
  }
  h3 {
    font-family: "Teodor", Georgia, serif;
    font-weight: 200;
    margin: 0;
    line-height: 48px;
    font-size: 48px;
  }
  h4 {
    font-family: "Teodor", Georgia, serif;
    font-weight: 200;
    margin: 0;
    line-height: 48px;
    font-size: 40px;
  }
  h5 {
    font-family: "Teodor", Georgia, serif;
    font-weight: 200;
    margin: 0;
    line-height: 32px;
    font-size: 32px;
  }
  strong {
    font-family: "PP Mori", Arial, Helvetica, sans-serif;
    font-weight: 600;
    line-height: 36px;
    font-size: 32px;
  }
  b {
    font-family: "PP Mori", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 20px;
  }
  p {
    font-family: "PP Mori", Arial, Helvetica, sans-serif;
    font-weight: 400;
    margin: 0;
    line-height: 28px;
    font-size: 20px;
  }
}
main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 24px 16px;
}
main > div:first-of-type {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1200px) {
  main > div:first-of-type {
    gap: 24px;
  }
}
main > div:last-of-type {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
main > div:last-of-type a {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 4px;
  background-color: #364456;
  padding: 16px;
  text-decoration: none;
  color: #fdfaf6;
}
@media (min-width: 1200px) {
  main > div:last-of-type a {
    padding: 32px;
  }
}
@media (min-width: 768px) {
  main > div:last-of-type {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
main > nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
main > nav > input {
  display: none;
}
main > nav > input:checked + label {
  border: 1px solid #fdfaf6;
  border-radius: 4px;
}
main > nav > label {
  font-family: "PP Mori", Arial, Helvetica, sans-serif;
  font-weight: 400;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 24px;
  font-size: 20px;
}
@media (min-width: 992px) {
  main {
    padding: 64px 106px;
  }
}