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;

}

/* #hidden-drop {
  display: none;
} */


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

.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 biography-info ***********/

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

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

.small_head {
  font-size: 73px;
}

.science-info_img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 60px;
  max-width: 995px;
  /* padding-left: 100px; */
}


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


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

.publication-links_content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 19px;
  max-width: 650px;
  padding-left: 70px;
}

.publication-links_content a {
  cursor: pointer;
}


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

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

  }

  .science-info_head {
    padding-top: 82px;
    font-size: 75px;
  }

  .science_paragraphs {
    gap: 40px;
    padding-bottom: 35px;
    max-width: unset;
    width: 80vw;
  }

  .publication-links_content {
    max-width: unset;
    width: 85vw;
  }

  .science-info_img {
    padding: 30px;
    width: 90vw;
  }



}

@media (max-width: 760px) {
  .science-info_head {
    width: 90vw;
    font-size: 60px;
    padding-bottom: 15px;
  }

  .science_paragraphs {
    width: 90vw;
    padding: 0;
  }

  .small_head {
    padding-top: 30px;
  }
}

@media (max-width: 576px) {
  .science-info_head {
    font-size: 41px;
  }

  .science_paragraphs {
    font-size: 17px;
  }

  .publication-links_content {
    font-size: 16px;
    padding: 0;
  }
}