@import "./fonts.css";


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
text-decoration: none !important;
color: var(--blue);
}
a:hover {
color: var(--elBg);
text-decoration: underline;
}


ul {
    list-style: none;
    margin: 15px 0;
}

body {
    font-family: 'Roboto'!important;
}

:root {
    --btnBg: #008EB0;
    --btnHover: #0e2350;
    --elBg: #0a7777;
    --blue: #003654;
    --green: #2e5728;
    --tera: #b14a04;
    --grey: #d7d8da;
}

.btn {
    text-transform: uppercase;
}

h2 {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #3473AD;
    margin-bottom: 30px;
}

p {
    font-size: 18px;
    line-height: 1.5em; 
    margin-bottom: 15px; 
}


.h3_title {
    font-size: 25px;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

.header_nav{
    padding-top: 10px;
}

.header_up .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo__left {
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 5px;
    padding: 10px 0;
}

.title__name {
    max-width: 400px;
    width: 100%;
    margin-left: 30px;
}



.logo__right {
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
}

.languages {
    margin-top: 10px;
    display: flex;
    align-items: center;
    column-gap: 15px;
    font-weight: 700;
}

.lang__active {
    color: rgb(0, 0, 0);
    position: relative;


}

.lang__active::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    border-bottom: #000 2px solid;
    width: 100%;
}

.lang__inactive {
    color: grey;
}

.logo__left-img {
    width: 500px;
}

.logo__right-img {
    width: 100%;
    margin-top: 10px;
}

/* search */

.search-container {
    position: relative;
}

.search-container:hover  #search-button{
    color: white;  
}
.search-button-a button:hover{
    color: white;
}

#search-button {
    font-size: 100%;
    border: none;
    cursor: pointer;
    background: transparent;
}


.search-box {
    display: none;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-box input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.search-box button {
    padding: 8px 16px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .search-box button:hover {
    background-color: #0078ff;
    
  }

/* TOP NAV */

.topnav {
    overflow: hidden;
}

.topnav .container {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.topnav a {
    float: left;
    display: block;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 12px 12px;
    font-size: 100%;
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */

}

.topnav a:hover {
    background: var(--blue);
    color: white;
}

a.active {

    color: #000000;
}

.topnav .icon {
    display: none;
}

/* sub menu */
.submenu {
    margin-top: 10px;

}
.submenu .container{
    display: flex;
    justify-content: space-between;

}

.submenu__list{
display: flex;
justify-content: start;
align-items: center;
}

.submenu__list a {
    cursor: pointer;
    padding: 10px;
    box-shadow: rgba(149, 157, 165, 0.4) 5px 8px 10px;
    font-size: 16px;
    color: #000;
}

.submenu__list2 a {
    cursor: pointer;
    padding: 10px;
    box-shadow: rgba(149, 157, 165, 0.4) 5px 8px 10px;
    font-size: 16px;
    color: #000;
}

.submenu__list a:hover {
    background: var(--blue);
    color: white;
}

.submenu__list2 a:hover {
    background: var(--blue);
    color: white;
}

.submenu2 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.sub__active {
    background: var(--blue) !important;
    color: white !important;
}



@media screen and (max-width: 768px) {

    .submenu__list2 {
        display: flex;
        flex-direction: column;
        gap: 10px;

    }

    .submenu__list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        border-bottom: 1px solid black;
    }

}


/* mainEvent */


.mainEvent {
    max-width: 100vw;
    width: 100%;
    height: 500px;
    position: relative;
}

.mainEvent img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -99;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mainEvent .container {
    display: flex;
    align-items: center;
    justify-content: start;
}

.event {
    width: 500px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    row-gap: 70px;
    align-items: start;
    padding: 50px 0 10px 20px;
    margin-top: 75px;
    position: relative;
}

.event__title {
    text-transform: uppercase;
    color: white;
    font-family: "Montserrat";
    line-height: 150%;
    font-size: 30px;
    font-weight: 550;
}

.event::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -3;
    background-color: var(--tera);
    opacity: 0.7;
}

.event__btn {
    position: absolute;
    color: white;
    bottom: 20px;
    right: 20px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 5;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}


/* news */

.news__flip .container {
    display: grid;
    grid-template-columns: 43% 57%;
    grid-template-rows: 95%;
}

.news__flip {
    margin-top: 30px;
}

/* flip Cards */


.flip__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.flip-card {
    background-color: transparent;
    float: left;
    width: 500px;
    height: 250px;
    margin-bottom: 4px;

}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.flip-card-inner img{
    height: 150px;
    margin-left: 10px;
    

}

.flip-card:hover .flip-card-inner {
    transform: rotateX(180deg);
}

.flip-card-front,
.flip-card-front1,
.flip-card-front2,
.flip-card-front3,
.flip-card-back {
    position: absolute;
    padding-left: 8px;
    padding-top: 10px;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

/* cards */
.flip-card-front {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: var(--blue);
    color: #fff;
    text-align: center;
    vertical-align: middle;
}


.flip-card-front1 {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: var(--tera);
    color: #fff;
    text-align: center;
    vertical-align: middle;

}

.flip-card-front2 {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: var(--elBg);
    color: #fff;
    text-align: center;
    vertical-align: middle;

}

.flip-card-front3 {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: var(--green);
    color: #fff;
    text-align: center;
    vertical-align: middle;

}

.flip-card-back {
    background-color: #e3e2e2;
    color: white;
    transform: rotateX(180deg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    padding: 10px 0 10px 0;
}

.flip-card-title {
    font-size: 25px;
    font-family: Montserrat;
    text-transform: uppercase;

}

.flip__txt{
font-weight: 400;
    font-size: 12pt;
    color: #000;
    text-align: left;
    padding-left: 8px;
    margin-bottom: 8px;
}

.flip__ul{
font-weight: 400;
    font-size: 12pt;
    color: #000;
    text-align: left;
    line-height: 150%;
    padding-left: 8px;
    margin-left: 18px;
    list-style: circle;
}



.flip__card-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
}

/* NEws */

.news {
    padding-left: 20px;
}

.news__h3 {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.news__h3::before {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #000;
    position: absolute;
    left: 0;
    bottom: 0;
}

.news__item {
    border-bottom: 1px solid rgb(182, 182, 182);
}

.news__item:hover {
    transform: scale(1.02);
}


.news__item-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.news__item-desc {
    width: 75%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.news__data {
    background-color: var(--blue);
    color: #fff;
    padding: 3px;
    width: 80px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
}

.news__title {
    color: #000;
    font-size: 17px;
}

.news__item-img {
    width: 170px;
    height: 120px;
    position: relative;
}

.news__item-img img {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.all__news {
    margin-top: 20px;
    float: right;
    color: #000;
    font-weight: 700;
}



/* InfoProducts */

.infoProducts {
    margin-bottom: 30px;
    position: relative;
    margin-bottom: 50px;
}

.infoProducts::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--blue);
    position: absolute;
    left: 0;
    top: 30px;
}


.infoProducts__h3 {
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Products */

.products__cards{
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto;
row-gap: 40px;
}

.products__item {
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    width: 380px;
    height: 420px;
    padding: 5px;
}


.products__item-images{
    width: 370px;
    height: 370px;
}

.products__item-img{
    filter: grayscale(80%);
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.products__item:hover .products__item-img{
    filter: grayscale(0);
}

.products__item-title{
    font-size: 18px;
}


/* sliderSite */

.sliderSite {
    border: #000 solid 1px;
    position: relative;
    padding: 25px 0;
}

.sliderSite::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--blue);
    position: absolute;
    left: 0;
    top: 0;
}

.sliderSite::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--blue);
    position: absolute;
    left: 0;
    bottom: 0;
}


.sliderSite .container {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.slide {
    position: relative;
}

.slide:hover {
    background-color: var(--btnBg);
}


.slide img {
    width: 100%;
}


/* all release */

.search__release-field{
padding: 10px;
}

.search__release-btn{
background: var(--blue);
    color: white ;
    padding: 10px;
}

.release {
    margin: 20px 0;
}

.release__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.release__item {
    width: 380px;
    height: 600px;
    padding: 10px;
}
.release__item:hover {
transform: scale(1.03);
}

.release__item-link {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.release__item-img {
    width: 360px;
    height: 240px;
    margin-bottom: 20px;
}

.release__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.release__item-date {
    color: var(--blue);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: left;
    margin-bottom: 20px;
}

.release__item-title {
    color: rgb(24, 26, 42);
    font-family: "Montserrat";
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: left;
}

/* About */

.poster .container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 20px;
}

.poster__poster {
    max-width: 100vw;
    width: 100%;
    height: 350px;
    position: relative;
}

.poster__block {
    width: 500px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 30px 30px 10px 30px;
    margin-top: 40px;
    position: relative;
}

.poster__block::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -3;
    background-color: var(--tera);
    opacity: 0.7;
}

.poster__poster img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -99;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster__title {
    color: #ffffff;
    font-weight: 500;
    font-size: 21px;
    line-height: 150%;
}

/* About */

.about__page p {
    font-size: 22px;
    color: #000;
  
}
.about__page img{
    width: 100%;
    margin: 20px 0;
}

.about__page-p{
   font-size: 22px;
    color: #000;
}

.about__page-ul{
    list-style: none !important; 
    padding-left: 20px; 
}

.about__page-ul li::before{
    content: "";
    display: inline-block;
    width: 16px; 
    height: 16px; 
    background-image: url('../i/green_arrow.png'); 
    background-size: contain; 
    background-repeat: no-repeat;
    margin-right: 10px; 
    vertical-align: middle; 
}

.about__page-left{
 width: 120px;
    float: left;
}
.about__page-right{
 width: 120px;
    float: right;
}

 .about__page li {
    transform: translateX(25px);
    font-size: 22px;
    margin-bottom: 15px !important;
    line-height: 140%;
} 
.about__page a{
    text-decoration: underline !important;
}


.about__page li span {
 color: var(--elBg);
 font-weight: 700;
}

.about__page-h3{
    margin: 20px 0;
    font-size: 24px;
    color: var(--tera);
}

.about__page-img{
    display: block;
    margin: 0 auto;
    height: 100%;
}
.about__page-images{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
    margin: 20px 0;
}


.structure__img {
    width: 65vw;
}


.structure__branch-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    grid-auto-rows: 450px;
    gap: 30px;
}

.structure__branch-item {

    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.structure__branch-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Arhive */

.arhive .container {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}



.arhive__form-box{
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.arhive__link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
width: 100%;
}
.arhive__link p {
    color: black;
    /* color: rgb(24, 26, 42); */
    font-family: "Montserrat";
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: left;
}

.arhive__link span {
color: var(--btnBg);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: left;
    margin-bottom: 20px;
}


.arhive__form select {
    background-color: white;
    border-radius: 4px;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;

    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;

}

.arhive__form select {
    background-image:
        linear-gradient(45deg, transparent 50%, blue 50%),
        linear-gradient(135deg, blue 50%, transparent 50%),
        linear-gradient(to right, var(--btnBg), var(--btnBg));
    background-position:
        calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px),
        100% 0;
    background-size:
        5px 5px,
        5px 5px,
        2.5em 2.5em;
    background-repeat: no-repeat;
}

.arhive__form select:focus {
    background-image:
        linear-gradient(45deg, white 50%, transparent 50%),
        linear-gradient(135deg, transparent 50%, white 50%),
        linear-gradient(to right, gray, gray);
    background-position:
        calc(100% - 15px) 1em,
        calc(100% - 20px) 1em,
        100% 0;
    background-size:
        5px 5px,
        5px 5px,
        2.5em 2.5em;
    background-repeat: no-repeat;
    border-color: grey;
    outline: 0;
}


/* Reports */

.reports {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.reports-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.areporta-ul {
    transform: translateX(20px);
}

.reports__item:hover {
    transform: scale(1.02);
}

.reports span {
    font-size: 22px;
    color: black;
}

.reports__item-img img{
object-fit: cover;
height: 400px;
}

.amenu_box {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 110px;
    text-align: center;
    gap: 20px;

}

.amenu {
    color: #ffffff;
    font-size: 20px;
    background-color: var(--elBg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

}

.amenu:hover{
color: var(--grey);
}

.amenu:nth-child(2n) {
    background-color: var(--grey);
    color: #000;
}
.amenu:nth-child(2n):hover {
    color: var(--elBg);
}



/* Publications */

.publications__list {
    margin-top: 30px;
}

.publications__item {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-bottom: 1px solid #000;
    padding: 20px;
    position: relative;
    grid-template-rows: auto 90px;
}

.publications__desc-title {
    font-size: 27px;
    margin-bottom: 30px;
}

.publications__desc {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 20px;

}

.publications__img {
    width: 270px;
    height: 430px;
    margin-bottom: 50px;
    box-shadow: rgba(0, 0, 0, 0.35) 8.4px 8.4px 3.2px;
}

.publications__img img {
    width: 100%;
    height: 100%;
}

.publications__desc-btn {
    position: absolute;
    bottom: 20px;
    left: 0;
    padding: 20px;
    border: 1px solid var(--btnBg);
    border-radius: 20px;
    transition: 500ms linear;
    color: white;
    background: var(--btnBg);
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0); 
box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}
.publications__desc p {
    font-size: 22px;
}

.publications__desc-btn:hover {
 box-shadow: 3px 1px 15px 3px #000000;
 color: white;
}

.public__top-desc{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 50px;
    margin: 20px 0;
}

.public__top-desc p{
    
    line-height: 35px;
    width: 70%;
}

.public_lists{
    line-height: 35px;
}


/* articles */

.articles__list {
    margin-top: 30px;
}

.articles__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    grid-auto-rows: 350px;
    gap: 40px;
}

.articles__item {

    width: 100%;
    height: 100%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 10px;
}

.articles__item:hover {
    border: 1px solid #8b8b8b;
}

.articles__item-img {
    width: 278px;
    height: 248px;
    margin-bottom: 10px;
}

.articles__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articles__item h4 {
    color: #000;
    font-size: 15px;
}

/* Resurce */
.resurce__list{
    display: flex;
    gap: 15px;
    justify-content: start;  
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.resource__item{
position: relative;
    width: 380px;
    height: 380px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: transform 0.5s ease, filter 0.5s ease;
    border: 1px solid rgba(94, 94, 94, 0.26);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.resource__item.show {
    opacity: 1;
    transform: scale(1);
}

.resource__item:hover {
    transform: scale(1.02);
    filter: brightness(1);

}
.resource__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(1, 14, 41, 0.815);
    transition: opacity 0.5s ease;
}
.resource__item:hover::before {
    opacity: 0;
}
.resource__content {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.5s ease;
}
.resource__item:hover .resource__content {
    opacity: 0;
}
.resource__item-title {
    margin-top: 10px;
    font-size: 24px;
    line-height: 120%;
    font-family: Montserrat;
    text-align: center;
    text-transform: uppercase;
}
.resource__item-title span{
    font-weight: 500;
    font-size: 26px;
    color: var(--btnBg);
}
.resource__info {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    height: 170px;

}
.resource__info-p{
    font-size: 16px;
    line-height: 130%;
}





/* Projects */

.gr {
    background-color: #6dac58;
    color: white;
    padding: 5px;
}

.snd{
   background-color: #ce9400; 
   color: white;
   padding: 5px;
}

.projects__lists {
    display: flex;
    gap: 15px;
    justify-content: start;

    flex-wrap: wrap;
}
.projects__item {
    position: relative;
    width: 380px;
    height: 380px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    /* transition: transform 0.5s ease, filter 0.5s ease; */
    border: 1px solid rgba(94, 94, 94, 0.295);

    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.projects__item.show {
    opacity: 1;
    transform: scale(1);
}

.projects__item:hover {
    transform: scale(1.02);
    filter: brightness(1);

}
.projects__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(1, 14, 41, 0.856);
    transition: opacity 0.5s ease;
}
.projects__item:hover::before {
    opacity: 0;
}
.projects__content {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.5s ease;
}
.projects__item:hover .projects__content {
    opacity: 0;
}
.projects__item-title {
    margin-top: 10px;
    font-size: 17px;
}
.projects__info {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    height: 170px;

}
.projects__info-p{
    font-size: 13px;
    line-height: 130%;
}
.projects__info-p span{
    font-size: 15px;
    font-weight: 500; 
    color: #a9e4ff;
}



.leftblock {
    width: 200px;
    padding: 10px;
    float: left;
}

.articleimg {
    width: 60%;
    padding: 5px;
    margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.txt-blue-new {
    color: #1992d0;
    font-family: arial;
    font-size: 22px;
    font-weight: bold;
    text-align: left;
    padding: 5px;
    margin-bottom: 5px;
}

.cons__block{
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cons__item{
width: 350px;
display: flex;
flex-direction: column;
align-items: start;
justify-content: center;
}


/* dukh__links */

.dukh__links h3 {
    font-size: 24px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.dukh__links p {
    margin-bottom: 15px;
    color: #000;
}


.dukh__links img{
    width: 20% !important; 
    height: 300px;
  }

.pub11 {
    margin-left: 20px;
}

.dukhovniy .container{
    display: grid;
    grid-template-columns: 80% 20%;
}

.dukhovniy .container .submenu2 .submenu__list{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 20px;
}

.dukhovniy .container .submenu2 .submenu__list a{
height: 120px;
width: 150px;
display: flex;
justify-content: center;
align-items: center;
}


.condolence p{
  margin-bottom: 10px;
}


.left__container img{
    width: 100%;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
   
  .gallery img {
    width: 100px;
    height: auto;
    cursor: pointer;
  }


/* team */

.team__title {
    margin: 30px 0;
    font-weight: 700;
    font-size: 24px;
}

.team__desc {
    font-size: 13px;
    text-align: center;
}

.team__list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 15px;
}

.team__item {
    width: 360px;
    height: 420px;
    padding: 10px;
    color: #000;
    background: #e4e4e4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 10px;

}

.team__item h3{
    font-weight: 500;
}

.team__item:hover {
    transform: scale(1.05);
    
}

.team__item-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 50%;
    overflow: hidden;
}

.team__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Personal */
.personal{
display: flex;
flex-direction: column;
justify-content: start;
align-items: center;
gap: 20px;
}

.personal__head{
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 20px;
 
}
.personal__head-img img{
    width: 200px;
    height: 250px;
    object-fit: cover;
}

.personal__head-title{
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    font-size: 24px;
    margin-top: 40px;
    line-height: 120%;
}

.personal__body{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.personal__body a{
    color: var(--btnBg);
}

.personal__publication{
display: flex;
flex-direction: column;
gap: 20px;
}
.personal__publication h3{
    margin-top: 20px;
}
.personal__publication a{
    color: var(--btnBg);
}

/* Aralsea */
.aral__intro .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}
.aral__intro-h2{
    font-size: 32px;
}

.aral__intro-h3{
    font-size: 28px;
    margin-bottom: 30px;
}
.aral__intro-imges{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.aral__intro-img{
    margin: 20px auto;
    width: 500px;
}
.aral__intro-imges2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.aral__intro-img2{
    margin: 20px auto;
    width: 100%;
}




/* Dukhovniy V A */




/* Footer */

.footer {
    background: grey;
    padding: 15px 0;
    margin-top: 25px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}

.footer_h4 {
    color: #FFF;
    font-weight: 500;
    font-size: 24px;
}

.footer__desc {
    color: #FFF;
    margin-top: 15px;
    font-size: 16px;
}
.footer__desc a, p{
color: #FFF;
font-size: 16px;
}



/* ******************* */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .gallery img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
  }

  .gallery img:hover {
    transform: scale(1.05);
  }

  /* Стили для модального окна */
  .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .gallery img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
  }

  .gallery img:hover {
    transform: scale(1.05);
  }

  /* Стили для модального окна */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }

  .modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
  }

  .modal:target {
    display: flex;
  }

  .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    text-decoration: none;
  }

  .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
  }

  .modal-nav.left {
    left: 10px;
  }

  .modal-nav.right {
    right: 10px;
  }

  .modal-nav:hover {
    color: #ccc;
  }


/* Project page */

.project__image{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    }

    .project__image p{
text-align: center;
    }

    .project__image img{
    width: 550px;
    }
    
    .projects__ul{
margin-left: 50px;
    }
    .projects__ul li{
        font-size: 22px; 
        line-height: 150%;
        list-style-type: disc;
        margin-bottom: 15px !important;
    }
    .project__text-2{
        color: var(--green);
        font-size: 22px;
    }
    .project__text-year{
        color: var(--tera);
        font-size: 22px;
    }

    .project__text{
        font-size: 22px;
    }
    

    #scrollTopBtn {
        display: none;
        position: fixed;
        bottom: 150px;
        right: 100px;
        z-index: 99;
        cursor: pointer;
        transition: background-color 0.3s ease;
        text-align: center;
    }
    


/* Timeline */
.timeline {
  display: flex;
  height: 100vh;
  overflow: hidden;
  font-family: Montserrat;
  margin-top: 30px;
}

.panel {
  flex: 1;
  background-color: var(--color);
  color: white;
  display: flex;
  flex-direction: column;
  transition: flex 0.5s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.timeline__icon{
    width: 100%;
    position: absolute;
    bottom: 50px;
    

}

.panel.active .timeline__icon{
   display: none;
}
 

.panel__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.panel h2 {
  text-transform: uppercase;  
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  /* transition: all 0.5s ease; */
  position: absolute;
  top: 65%;
  left: 50%;
  translate: -50% -50%;
  font-size: 24px;
  margin: 0;
  width: max-content;
  white-space: normal; 
  text-align: right;
  word-break: break-word;
  max-width: 300px; 
}

.panel.active h2 {
    white-space: nowrap;
  writing-mode: horizontal-tb;
  transform: rotate(0);
  position: static;
  top: auto;
  left: auto;
  translate: none;
  text-align: left;
  padding: 10px;
}

.panel.no-active h2 {
  writing-mode: horizontal-tb;
  transform: rotate(0);
  position: static;
  top: auto;
  left: auto;
  translate: none;
  text-align: left;
  padding: 10px;
}

.timeline_h2-1{
color: #c4dfee; 
}
.timeline_h2-2{
color: #c5ffff;
}
.timeline_h2-3{
color: #c7edc1;
}
.timeline_h2-4{
color: #ffd5b8;
}


.panel h3{
font-size: 16px;
}

.panel p{
   padding: 5px; 
   color: white;
   font-size: 14px;
   margin: 5px;
}
.panel li{
list-style: circle;
font-size: 14px;
margin: 5px !important;
}


.panel .more {
  padding: 10px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.panel.active {
  flex: 7;
}

.panel.active .more {
  opacity: 1;
  max-height: 800px;
}

