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: #222222;
}

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;

}

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

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

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

.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;
  padding-bottom: 30px;
  width: 100%;
}

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

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


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

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

/*********** section biography-info ***********/

.biography-info,
.study,
.work-consalting,
.personal-life,
.go-to-politic {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 995px;
}

.biography-info_head,
.study-info_head,
.work-consalting_head,
.personal-life_head,
.go-to-politic_head {
  font-size: 92px;
  line-height: 1.1;
  padding-top: 30px;
  padding-bottom: 60px;
}

.study-info_head,
.work-consalting_head,
.personal-life_head {
  font-size: 73px;
}

.biography-info_head span,
.work-consalting_paragraphs span,
.go-to-politic_paragraphs span {
  color: #140d8c;
}

.biography-info_img,
.study-info_img,
.work-consalting_img,
.personal-life_img,
.personal-life_img_small {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 60px;
}

.study-info_img {
  padding: 0;
}

.personal-life_img_small {
  margin: 0px 250px;
  padding-top: 45px;

}

.biography-info_img img,
.study-info_img img,
.work-consalting_img img,
.personal-life_img img,
.personal-life_img_small img {
  width: 100%;
  height: auto;
}

.personal-life_img_small img {
  border-radius: 75px;
}

.biography-info_paragraphs,
.study-info_paragraphs,
.work-consalting_paragraphs,
.personal-life_paragraphs,
.go-to-politic_paragraphs {
  display: flex;
  flex-direction: column;
  gap: 50px;
  font-size: 19px;
  max-width: 650px;
  line-height: 1.8;
  padding-bottom: 30px;
  padding-top: 30px;
}


#svg-prev,
#svg-prev2 {
  position: relative;
  top: -373px;
  left: 15px;
}

#svg-next,
#svg-next2 {
    position: relative;
    top: -373px;
    left: 929px;
}

#last {
  padding-right: 20px;
}


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


#special {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

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

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

.nav-item-spec {
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding: unset;
  gap:40px;
}

.hidden {
  opacity: 0;
}

.visible {
  opacity: 1;
}

.disable {
  display: none;
}

.enable {
  display: flex;
}

.inline-block {
  display: inline-block;
}




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

  #personal-life-slider.itcss {
    max-width: unset;
  }

#stydy-slider.itcss {
  max-width: unset;
}


@media (max-width: 1600px) {
    #content {
    font-size: 21px;
  }
}



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


  #content {
    font-size: 16px;
  }

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

  .biography-info_head,
  .go-to-politic_head {
    font-size: 82px;
    margin: 0 50px;
  }

  .biography-info_img {
    max-width: 893px;
  }

  .biography-info_paragraphs,
  .study-info_paragraphs,
  .work-consalting_paragraphs,
  .personal-life_paragraphs {
    font-size: 17px;
    gap:20px;
  }

  .study {
    max-width: 893px;
  }

  .study-info_head,
  .go-to-politic_head,
  .work-consalting_head,
  .go-to-politic_head,
  .personal-life_head{
    font-size: 66px;
    
  }

  .go-to-politic_head{
    text-align: center;
  }

  #stydy-slider.itcss
     {
    max-width: 893px;
  }


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

    #svg-next,
    #svg-next2 {
    position: absolute;
    top:50%;
    left:91%;
  }

  #stydy-slider ol,
  #personal-life-slider ol {
    top: 83%;
  }

  .work-consalting_img {
    max-width: 893px;
  }

}

@media (max-width: 990px) {


.biography-info_img {
  width: 95vw;
}

 #stydy-slider.itcss,
  #personal-life-slider.itcss
   {
    width: 95vw;
  }



  .work-consalting_img,
  .biography-info_head,
  .study-info_head,
  .go-to-politic_head,
  .work-consalting_head,
  .go-to-politic_head,
  .personal-life_head{
    width: 95vw;
    
  }

}


@media (max-width: 760px) {

  .go-to-politic_paragraphs,
  .biography-info_paragraphs,
  .study-info_paragraphs,
  .work-consalting_paragraphs,
  .personal-life_paragraphs {
    width: 95vw;
  }

  .personal-life_img_small {
    width: 90vw;
    
  }

    .personal-life_img_small img{
    
    border-radius: 32px;
  }

}


@media (max-width: 540px) {
    .work-consalting_img,
  .biography-info_head,
  .study-info_head,
  .go-to-politic_head,
  .work-consalting_head,
  .go-to-politic_head,
  .personal-life_head{
    font-size: 45px;
    
  }
}

@media (max-width: 432px) {
    .work-consalting_img,
  .biography-info_head,
  .study-info_head,
  .go-to-politic_head,
  .work-consalting_head,
  .go-to-politic_head,
  .personal-life_head{
    font-size: 35px;
    
  }

  
}