body {
  padding: 30px 150px;
  font-family: "Geologica";
}

a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1200px) {
  body {
    padding: 30px 50px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 20px;
  }

  .header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .header_links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .main p {
    font-size: 36px;
    line-height: 50px;
    text-align: center;
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  .header_logo img {
    width: 100px;
  }

  .header_links {
    display: flex;
    gap: 20px;

    .header_link {
      cursor: pointer;
      position: relative;
    }

    .header_link.active:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 4px;
      background-color: #efcc8e;
      border-radius: 6px;
      transform: translateY(10px); /* немного опускаем ниже текста */
    }
  }

  .header_logo {
    width: 100px;
  }
}

.navigation {
  margin: 20px 0 0 0;
  display: flex;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;

  .navigation_main {
    color: #1760a4;
  }
}

.main {
  padding: 20px 0;
}

.main p {
  font-weight: 500;
  font-size: 48px;
  line-height: 72px;
  letter-spacing: -0.6px;
  vertical-align: middle;
  color: #1760a4;
}

.years {
  display: flex;
  flex-wrap: nowrap;
  width: 1002px;
  height: 32px;
  gap: 10px;
  margin-bottom: 5rem;
  align-items: center;
}

.years a {
  border-radius: 15px;
  border: 1px solid #000000;
  padding: 4px 15px;
  gap: 10px;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #000000;
  transition: background-color 0.3s ease;
}

.years a:hover {
  background-color: rgba(235, 194, 113, 1);
}

.information-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.information {
  width: 598px;
  height: 962px;
  border-radius: 27px;
  background-color: #f3f3f7;
  padding: 50px 45px 100px 45px;
  gap: 10px;
}

.information img {
  margin-bottom: 1.5rem;
}

.p {
  font-family: Roboto Flex;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #1d1d1e;
}

.words {
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.6px;
  vertical-align: middle;
  color: #1760a4;
}

@media (max-width: 1024px) {
  .information {
    width: 100%;
    height: auto;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .years {
    justify-content: center;
  }
}
