html {
  box-sizing: border-box;
}

/* *,
*::before,
*::after {
  box-sizing: inherit;
} */

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

body {
  margin: 0;
  padding: 0;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--text-color);
  color: #1D1D1D;
  /* background-color: #F5F5F5; */
  color: #1D1D1D;
}

p {
  display: block;
  padding: 0;
  margin: 0;
}

.container {
  margin: 0 auto;
}


.main {
  display: flex;
  flex-direction: column;
  max-width: 1800px;
  min-height: 1024px;
  background-size: cover;
  overflow: hidden;
  align-items: center;

}


/* подключаем шрифты */

.spectral-regular {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
}

.spectral-bold {
  font-family: "Spectral", serif;
  font-weight: 700;
  font-style: normal;
}

.spectral-regular-italic {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: italic;
}

.spectral-semibold-italic {
  font-family: "Spectral", serif;
  font-weight: 600;
  font-style: italic;
}


.ibm-plex-sans-regular {
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}


.ibm-plex-serif-regular {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-serif-bold {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.drop-block {
  position: relative;
  display: flex;
  gap:9px;
  z-index: -100;
}

.drop-block img {
  padding-top: 4px;
}

/* -------------------------- */
.nav-head-panel {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  font-size: 21px;
  width: 100%;
}

.nav-menu {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
}

.nav-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding-bottom: 15px;
  color: #222222;
}


.nav-item {
  transition: font-weight 0.3s ease;
}

.nav-item:hover {
  font-weight: 700;
}

.drop-block {
  position: relative;
  display: flex;
  gap:9px;
  z-index: -100;
}

.drop-block img {
  padding-top: 4px;
}

/*********** section media-info ***********/

.media-info {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  max-width: 80vw;
  gap: 110px;
}

.media-info_head {
  text-align: left;
  font-size: 105px;
  line-height: 1.1;
  padding-top: 70px;
  padding-bottom: 60px;
  max-width: 638px;

}

.year-item {
  display: flex;
  gap: 70px;
}

.year-item_left {
  display: flex;
  font-size: 64px;
  font-weight: 700;
}

.year-item_right {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1029px;
}

.year-item_right_row {
  display: flex;
  flex-direction: row;
  gap: 25px;
  font-size: 19px;
  max-width: 746px;
}


.current_date {
  min-width: 111px;
}



.media-content {
  font-size: 32px;
  font-weight: 700;
}


.last-par {
  font-size: 21px;
  text-align: left;
  padding-top: 100px;
  max-width: 638px;
}

.svg-hidden {
  display: flex;
  justify-content: flex-end;
  margin-right: 25px;
  position: fixed;
  right: 0;
  z-index: 300;
  display: none;
  padding-top: 30px;
}

footer {
  display: flex;
  justify-content: center;
  padding: 100px 0px;
}

.footer_par {
  display: flex;
  flex-direction: column;
  align-items: center;
}


#scrollContainer2019 {
  overflow-y: auto;
  max-height: 100vh;
}

#scrollContainer2020 {
  overflow-y: auto;
  max-height: 100vh;
}

#scrollContainer2021 {
  overflow-y: auto;
  max-height: 100vh;
}

#scrollContainer2022 {
  overflow-y: auto;
  max-height: 100vh;
}

#scrollContainer2023 {
  overflow-y: auto;
  max-height: 100vh;
}

#scrollContainer2024 {
  overflow-y: auto;
  max-height: 100vh;
}

/* Скрытие полосы прокрутки в WebKit браузерах */
.scrollable-div::-webkit-scrollbar {
  display: none;
}

/* Скрытие полосы прокрутки в IE/Edge */
.scrollable-div {
  -ms-overflow-style: none;
  /* IE and Edge */
}

/* Скрытие полосы прокрутки в Firefox */
.scrollable-div {
  scrollbar-width: none;
  /* Firefox */
}

/*************для пропадания хэдера при скроллинге********/

/*************для пропадания хэдера при скроллинге********/

.block {
  height: 50px;
  /* Задайте высоту блоков */
  transition: opacity 0.5s ease;
  /* Плавное изменение прозрачности */
}

.block-1 {
  /* background-color: lightblue; */
  opacity: 1;
  /* Блок 1 видим */
  z-index: 100;
}

.block-2 {
  background-color: white;
  opacity: 0;
  /* Блок 2 скрыт */
  position: absolute;
  /* Позиционирование, чтобы блоки перекрывались */
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  position: fixed;
  width: 100%;
  color: #808080;
  padding: 0px 10px;
  z-index: 50;
  gap: 60px;
}

.hidden {
  opacity: 0;
}

.visible {
  opacity: 1;
}

.disable {
  display: none;
}

.enable {
  display: flex;
}




.to-right-menu {
  display: flex;
  flex-direction: column;
  font-size: 21px;
  gap: 10px;
  padding-top: 25px;
}


#right-hidden {

  position: fixed;
  display: none;
  right: 0;
  margin-top: 70px;
  z-index: 600;
}

#block-1 {
  flex-direction: column;
  height: unset;
}


@media (max-width: 1600px) {}



@media (max-width: 1025px) {
  .svg-hidden {
    display: flex;
    z-index: 1000;
    transform: scale(1);
    transition: transform 0.3s ease;
    /* Плавный переход */
  }

  .svg-hidden:active {
    transform: scale(1.1);
    /* Увеличение при наведении */
  }

  #right-hidden {
    display: none;
    flex-direction: column;
  }

  .nav-row {
    flex-direction: column;
    gap: 17px;
    background-color: #fff;

  }

  .media-info {
    gap: 65px;
  }

  .media-info_head {
    font-size: 66px;
    padding-top: 115px;
  }

  .year-item_left {
    font-size: 50px;
  }

  .year-item_right_row {
    font-size: 17px;
  }

  .media-content {
    font-size: 26px;
  }

  .year-item {
    gap: 50px;
  }

  .year-item_right {
    gap: 35px;
  }

  .last-par {
    font-size: 16px;
    padding-top: 50px;
  }

  .footer_par {
    font-size: 12px;
  }

}

@media (max-width: 782px) {
  .media-info_head {
    font-size: 55px;
  }

  .media-info {
    gap:30px;
    max-width: 90vw;
  }

  .year-item_left {
    font-size: 44px;
  }

  .current_date {
    min-width: 85px;
    font-size: 14px;
  }

  .media-content {
    font-size: 24px;
  }

  .year-item_right {
    gap: 26px;
  }
}

@media (max-width: 782px) {
  .year-item {
    flex-direction: column;
  }

  .media-content {
    font-size: 21px;
  }

  .year-item_right_row {
    gap:10px;
  }
}
