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);
  /* 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;
}

/* -------------------------- */
.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;
}

/*********** section aid-info ***********/

.aid-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 995px;
}

.aid-info_head {
  text-align: left;
  font-size: 92px;
  line-height: 1.1;
  padding-top: 30px;
  padding-bottom: 60px;
  max-width: 750px;
}


#aid-slider1,
#aid-slider3 {
  max-width: 995px;
  margin-bottom: 30px;

}

.itcss__wrapper {
  border-radius: 75px;
}

.small_head {
  font-size: 73px;
}

.aid-info_img {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 995px;


}


.aid-info_img img {
  width: 100%;
  height: auto;
}


.aid_paragraphs {
  display: flex;
  flex-direction: column;
  gap: 50px;
  font-size: 19px;
  max-width: 650px;
  line-height: 1.8;
  padding-bottom: 130px;
  padding-top: 30px;
  /* padding-left: 100px; */
}

#svg-prev,
#svg-prev3 {
  position: relative;
  top: -395px;
  left: 35px;
}

#svg-next,
#svg-next3 {
  position: relative;
  top: -395px;
  left: 905px;
}


#svg-prev2 {
  position: relative;
  top: -395px;
  left: -85px;
}

#svg-next2 {
  position: relative;
  top: -395px;
  left: 635px;
}

.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;
}

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

.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%;
  z-index: 50;
  color: #808080;
  padding: 0px 10px;
  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;
}

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

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



@media (max-width: 1024px) {
  .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;

  }

  .aid-info {
    align-items: flex-start;
    width: 90vw;
  }

  .aid-info_head {
    margin-top: 40px;
    font-size: 76px;
  }

  .aid_paragraphs {
    padding: 0;
    max-width: unset;
    padding-bottom: 30px;
  }

  #svg-prev,
  #svg-prev2,
  #svg-prev3 {
    position: absolute;
    top: 41%;
    left: 4%;
  }

  #svg-next,
  #svg-next2,
  #svg-next3 {
    position: absolute;
    top: 41%;
    left: 93%;
  }

  #svg-next2 path {
    fill: white;
  }

  #svg-prev2 path {
    fill: white;
  }

  .itcss__wrapper {
    border-radius: 45px;
  }

  #aid-slider1 ol,
  #aid-slider2 ol,
  #aid-slider3 ol {
    top: 87%;
  }

}

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

  #aid-slider1 ol li,
  #aid-slider2 ol li,
  #aid-slider3 ol li {
    width: 10px;
    height: 10px;
  }

  #aid-clicable-slider ol li {
    width: 10px;
    height: 10px;
  }

   #aid-clicable-slider ol {
    top: 92%;
   }

  #svg-prev,
  #svg-prev2,
  #svg-prev3,
  #svg-prev4 {
    width: 10px;
    height: 17px;
  }

  #svg-next,
  #svg-next2,
  #svg-next3,
  #svg-next4 {
    width: 10px;
    height: 17px;
  }

  .aid-info_head {
    font-size: 41px;
  }

  .itcss__wrapper {
    border-radius: 25px;
  }

}