@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;
  }
}
body > main {
  gap: 48px;
}
@media (min-width: 1200px) {
  body > main {
    gap: 96px;
  }
}
body > main > article {
  gap: 48px;
}
@media (min-width: 1200px) {
  body > main > article {
    gap: 96px;
  }
}
body > main > article {
  display: flex;
  flex-direction: column;
}
body > main > article article section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body > main > article article section h5 {
  grid-column: 1/-1;
}
body > main > article article section small {
  text-transform: none;
}
body > main > article article section small > input {
  display: none;
}
body > main > article article section small > input:checked + label p {
  display: block;
}
body > main > article article section small > label {
  position: relative;
  margin-left: 8px;
  background: #b79c62;
  cursor: pointer;
  color: #0c1c2e;
}
body > main > article article section small > label:hover {
  background: #b79c62;
}
body > main > article article section small > label p {
  display: none;
  position: absolute;
  z-index: 1;
  border: 1px solid #0c1c2e;
  border-radius: 8px;
  background-color: #fdfaf6;
  padding: 20px;
  width: 300px;
}
body > main > article article section div {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  border-radius: 8px;
  background-color: #364456;
  padding: 24px;
}
@media (min-width: 768px) {
  body > main > article article section div {
    flex-direction: column;
    justify-content: normal;
  }
}
@media (min-width: 768px) {
  body > main > article article section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
body > main > article article {
  flex-direction: column;
  gap: 24px;
}
body > main > article article h2 {
  display: flex;
  gap: 16px;
  align-items: center;
}
body > main > article article h2 b {
  border-radius: 2px;
  background-color: #b79c62;
  padding: 4px 8px;
  color: #0c1c2e;
}
body > main > article article footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
body > main > div:first-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 8px;
  align-self: flex-start;
}
body > main > div:first-of-type h2 {
  flex-basis: 100%;
  text-wrap: nowrap;
  grid-column: 1/-1;
}
body > main > div:first-of-type input {
  display: none;
}
body > main > div:first-of-type input:checked + label {
  background-color: #364456;
}
body > main > div:first-of-type label {
  font-family: "PP Mori", Arial, Helvetica, sans-serif;
  font-weight: 400;
  border: 1px solid #fdfaf6;
  border-radius: 2px;
  cursor: pointer;
  padding: 8px 16px;
  text-transform: uppercase;
  line-height: 24px;
  font-size: 14px;
}
body > main > div:first-of-type label:hover {
  background-color: #364456;
}
@media (min-width: 576px) {
  body > main > div:first-of-type {
    display: grid;
    grid-template-columns: repeat(4, auto);
  }
}
body > main > div:last-of-type {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 4px;
  background-color: #364456;
  padding: 16px;
}
body > main > div:last-of-type > a {
  align-self: flex-start;
}