@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 {
  gap: 64px;
  padding: 24px 16px;
}
main > article:nth-of-type(1) h2 span:last-of-type {
  color: #ab7c3b;
}
main > article:nth-of-type(1) > figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: auto;
}
main > article:nth-of-type(2) {
  gap: 40px;
}
main > article:nth-of-type(2) > article {
  flex-direction: column;
  grid-column: 1/-1;
  gap: 24px;
}
main > article:nth-of-type(2) > article > div {
  flex: none;
  flex-direction: column;
}
@media (min-width: 1200px) {
  main > article:nth-of-type(2) > article {
    flex-direction: row;
    gap: 64px;
  }
}
main > article:nth-of-type(2), main > article:nth-of-type(3), main > article:nth-of-type(4) {
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
main > article:nth-of-type(2) > h2, main > article:nth-of-type(3) > h2, main > article:nth-of-type(4) > h2 {
  grid-column: 1/-1;
}
@media (min-width: 1200px) {
  main > article:nth-of-type(2), main > article:nth-of-type(3), main > article:nth-of-type(4) {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 48px 64px;
  }
}
main > article article {
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  gap: 24px;
}
main > article article img {
  filter: grayscale(1);
  align-self: flex-start;
  object-fit: cover;
  border-radius: 50%;
  max-width: 100%;
}
main > article article > div {
  flex-direction: column;
  gap: 24px;
}
main > article article > div > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
@media (min-width: 768px) {
  main > article article > div {
    flex-direction: row;
  }
}
main > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 4px;
  background-color: #364456;
  padding: 16px;
}
main > div > a {
  align-self: flex-start;
}
@media (min-width: 992px) {
  main {
    gap: 128px;
    padding: 64px 106px;
  }
}
@media (min-width: 1400px) {
  main {
    padding: 64px 15%;
  }
}