@font-face {
    font-family: "Lato", sans-serif;
    src: url("./fonts/Lato-Black.ttf") format("ttf");
  }


	.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; /* Полупрозрачный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Убедимся, что прелоадер сверху */
}

/* Стили для анимации спиннера */
.spinner {
    border: 4px solid rgba(45, 62, 80, 1);
    border-top: 4px solid rgba(151, 175, 187, 1); /* Цвет верхней части */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* Анимация вращения */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

  body.no-scroll {
    overflow: hidden;
  }

  html, body {
    font-family: "Lato", sans-serif;
    height: 100%;

    } 


.wrapper{
    height: 100%;
    display: flex;
    flex-direction: column;

}
.container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Для распределения элементов */
    width: 100%;
}
header {
    padding: 40px 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: padding 0.3s ease;
}
.header_actions{
    display: inline-flex;
    flex-wrap: wrap;
}

.header_logo {
    color: rgba(151, 175, 187, 1);
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    margin-right: 50px;
    display: flex;
    z-index: 99;
}

.header_logo:focus{
    border: red;
}

header nav {
    display: flex;
    gap: 30px;
    margin-right: 20px; 
    transition: margin-right 0.3s ease;
}

header nav a {
    color: rgba(45, 62, 80, 1);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    letter-spacing: 1px;
}

header nav > a::after{
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 5px;
    background-color: rgba(45, 62, 80, 1);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

header nav > a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.header_actions{
    display: flex;
    align-items: center;
}



.header_links_block, .header_actions {
    flex-shrink: 0;
}

.dropbtn {
    color: rgb(51, 50, 50);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: none;
    padding-bottom: 5px;
}

.dropbtn::after{
    content: "";
    background-image: url(../img/HeaderArrowBottom.png);
    width: 16px;
    height: 16px;
    margin-left: 10px;
}




.dropdown-content button{
    display: flex;
    flex-direction: column;
    padding: 15px 15px;
    text-decoration: none;
    font-family: "Lato", sans-serif;
    color: rgba(45, 62, 80, 1);
    width: 100%;
    border: none;
    background: none;
}

.dropdown-content {
    display: none;
    z-index: 9; 
    background-color: rgba(151, 175, 187, 1);
    border-radius: 2px;
    font-weight: 600;
    position: absolute;
    min-width: 130px; 
}

.dropdown-content > button{
    border-bottom: 0.4px solid rgb(231, 231, 231);
    
}
.dropdown_language:hover .dropbtn::after{
    transform: rotate(-180deg);
}

.dropdown_language:hover .dropdown-content {
    display: block ;
}


.dropdown-content button:hover{
    background-color: rgb(97, 114, 122);
    color: rgb(255, 255, 255);
    border-radius: 2px;
}


.contact_button {
    margin-left: 20px;
    padding: 10px 20px;
    background-color:rgba(151, 175, 187, 1); /* Цвет можно изменить */
    color: rgb(255, 255, 255);
    font-weight: 700;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: 1s ease-in-out;
    text-decoration: none;
}

.contact_button:hover{
    background-color:rgba(151, 175, 187, 1);
}

.account_block {
    cursor: pointer;
    padding: 12px;
}

.account_block img {
    width: 28px; /* Подберите нужный размер */
    height: 28px;
}

.cookie_wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}   

.cookie-consent {
    position: fixed;
    height: 100%;
    left: 0;
    right: 0;
    background-color: #474747e0;
    color: rgb(71, 71, 71);
    padding: 15px;
    text-align: center;
    display: none;
    z-index: 1000;

}

.cookie-consent-content {
    margin: 10% auto;
    padding: 100px 20px;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 5px;   
}


.cookie-consent-content P{
    font-size: 18px;
} 

#declineCookies{
    background-color: white;
    color: #3d3d3d;
    border: 1px solid #3d3d3d;
}

.cookie-consent button {
    margin-top: 40px;
    background-color: #3d3d3d;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}



.cookie-consent button:hover {
    background-color: #292929;

}

/* BURGER------------------------------------------ */
.hamburger{
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    cursor: pointer;
    background: none;
    appearance: none;
    outline: none;
    border: none;
    z-index: 99;
}

.hamburger .bar ,  .hamburger:after, .hamburger:before {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 5px;
    background-color: rgba(151, 175, 187, 1);
    margin: 7px 0px ;
    transition: 0.4s;
}

.hamburger.is-active:before{
    transform: rotate(-45deg) translate(-7px, 6px);
}

.hamburger.is-active:after{    
    transform: rotate(45deg) translate(-8px, -8px );
}

.hamburger.is-active .bar{
    
    opacity: 0;
}


.mobile-nav{
    position: fixed;
    top: 0;
    right: 100%;
    width: 100%;
    height: 100%;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    z-index: 98;
    background-color: rgb(255, 255, 255);
    padding-top: 110px;

}

.mobile-nav.is-active{
    right: 0;
  	overflow: scroll;
}
body.is-active{
    overflow: hidden;
}

header.is-active{
    z-index: 999;
    background-color: rgb(255, 255, 255);
}

.mobile-nav a{
        color: rgba(45, 62, 80, 1);
        display: block;
        width: 100%;
        margin: 0 auto;
        border: 1px solid rgba(151, 175, 187, 1);
        max-width: 280px;
        border-radius: 3px;
        text-decoration: none;
        text-align: center;
        font-size: 20px;
        margin-bottom: 16px;
        padding:12px 16px;
}

.mobile-contact{
    color: rgb(255, 255, 255) !important;
    width: 280px;
    margin: 30px auto;
    padding: 12px 16px;
    background-color: rgba(151, 175, 187, 1);
    border: none;
    border-radius: 3px;
}


@media screen and (min-width: 1024px) {
    .mobile-nav{
        display: none;
    }

    .hamburger{
        display: none;
    }
}


.back-galery-wrapper{
    min-width: 100%;
    min-height: 900px;
}

.back-galery-wrapper img{
    object-fit: cover;
    object-position: 5px 70%;
    height: 100%;
    width: 100%;
}


main{
    flex:1 0 auto;
    padding: 0 300px;
    position: relative;
}
.main_video_work{
    width: 100%;
    margin-top: 10px;
}



.main_video_work video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

#moreInfoText {
    display: none; 
    padding: 15px;
    background-color: #f1f1f1;
    border-radius: 5px;
    margin-top: 20px;
    color: rgba(45, 62, 80, 1);
    transform: translateY(30px); 
    opacity: 0; 
    transition: transform 0.5s ease, opacity 0.5s ease; 
}

#moreInfoLink:hover {
    text-decoration: underline;
}

#hideTextBtn {
    background-color: rgba(45, 62, 80, 1);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 18px;
    margin-top: 10px;
    
}

#hideTextBtn:hover {
    background-color: rgb(19, 30, 43);
}


.more-info-text p{
    font-size: 18px;
    margin-bottom: 20px;
}
.about-wrapper{
    margin-top: 50px;
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.about-text-wrapper{
    color: rgba(45, 62, 80, 1);
    margin-top: 20px;
    width: 60%;
}

.about-text-wrapper h1{
    margin-top: 32px;
    font-size: 30px;
    font-weight: 600;
}


.about-text-wrapper a{ 
    text-decoration: none;
  	border-radius: 5px;
    display: inline-block; 
    margin-top: 20px;
    padding: 14px 40px;
    font-size: 18px;  
    color: rgba(45, 62, 80, 1);
    border: 1px solid rgba(45, 62, 80, 1);
}

#moreInfoLink:hover{ 
    text-decoration: none; 
}


.about-text-image {
    width: 30%;
    display: flex;
    justify-content: center ;
}

.about-text-image img{
    height: 300px;
}


.about-affinity-wrapper{
    margin-top: 100px;
    color: rgba(45, 62, 80, 1);
}

.about-affinity-wrapper > h1{
    width: 80%;
    font-size: 20px;

}

.about-affinity-wrapper > p{
    width: 80%;
    margin-top: 30px;
    font-size: 18px;
}


.responsive-video{
    margin-top: 40px;
    width: 100%;
    height: 680px;
    object-fit: cover;
    border-radius: 30px;
}

.gallery-wrapper{
    margin-top: 100px;
    color: rgba(45, 62, 80, 1);
}
.gallery-wrapper-list{
    margin-top: 50px;
}

/* Скрыть слайды до инициализации */
.splide {
    width: 100%;
    height: 500px;
}
.splide__slide{
    width: 440px;
}

.splide__slide img {
    width: 100%;
    height: 500px;
    border-radius: 20px;
}
.splide__pagination {
    bottom: -30px !important;
}

.splide__pagination__page{
   background-color : rgba(107, 108, 110, 0.712) !important;
}

.splide__pagination__page.is-active {
    background:rgba(45, 62, 80, 1) !important;
    transform: scale(1.5) !important;
}

.splide__arrow {
    display: none !important;
}

footer{
    margin-top: 100px;
    width: 100%;
    flex: 0 0 auto;
    background-color: rgba(45, 62, 80, 1);
    position: relative;
}


.footer-nav  {
    margin-bottom: 30px;
    padding: 0 300px;
    margin-top: 30px;
    display: flex;  
    gap: 150px;
}

.footer-menu-product-block{
    margin-top: 11px;
    display: flex ;
    gap: 100px;
}


.footer-menu-product li> a{
    color: rgb(160, 160, 160);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.footer-menu-product li{
    margin-top: 5px;
}


.footer-menu-product li:first-child{
    margin-top: 0;
    margin-bottom: 10px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 17px;
    text-decoration: none;
}


.footer-menu-logo-social {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.footer-menu-logo-social a{     
    text-decoration: none;
    color: rgb(160, 160, 160);
    font-size: 16px;
    padding-top: 7px;
}

.footer-menu-logo-social a >img{
    width: 10%;
 }

.footer-menu-logo{
    font-size: 25px !important;
    color: rgb(226, 226, 226) !important;
    font-weight: bold;
    padding-bottom: 3px !important;
}

.menu-product-legal-information{
    font-size: 20px;
}   

.menu-product-legal-information li:first-child{
   font-weight: bold !important;
}

.menu-product-legal-information li{
    font-weight: lighter !important;
 }


 @media screen and (max-width: 1420px) {
    header{
        padding: 20px 50px;
    }
    main{
        padding: 0 50px;
    }

    .header_logo{
        margin-right: 12px; 
    }
    .contact_button{
        font-size: 12px;
        padding: 9px 14px;
    }
    .header_links_block {
        margin-right: 0;
    }
    .dropdown_language{
        margin-right: 0;
    }
    .header_links_block a{
        font-size: 12px;
    }
    .header_links_block{
        gap: 20px;  
    }

    .footer-nav{
        padding: 0 50px;
        gap: 50px;
    }
    .footer-menu-product-block {
        gap: 50px;
    }
    .footer-menu-logo{
        font-size: 25px !important;
        padding-bottom: 10px !important;
    }
    .footer-menu-logo-social a{
        padding-top: 8px;
    }
    .footer-menu-product li:first-child{
        font-size: 18px;
    }
    .footer-menu-product li> a{
        font-size: 15px;
    }
    .responsive-video {
        margin-top: 40px;
        height: 500px;
    }
}

@media screen and (max-width: 1024px) {
    header{
        padding: 20px 30px;
    }
    main{
        padding: 0 30px;
    }
    .header_logo{
        margin-right: 12px; 
    }
    .header_links_block{
        display: none;
    }
    .header_actions{
        display: none;
    }
    .footer-nav{
        padding: 0 30px;
        gap: 50px;
    }
    .footer-menu-product-block {
        gap: 50px;
    }
    .footer-menu-logo{
        font-size: 25px !important;
        padding-bottom: 10px !important;
    }
    .footer-menu-logo-social a{
        padding-top: 8px;
        font-size: 15px;
    }
    .footer-menu-product li:first-child{
        margin-top: 0;
        margin-bottom: 10px;
        font-weight: bold;
        font-size: 15px;
        text-decoration: none;
    }

    .responsive-video {
        margin-top: 40px;
        height: 400px;
    }
}
@media screen and (max-width: 850px) {
    main{
        padding: 0 30px;
    }
  	

  
    .footer-nav{
        padding: 0 30px;
        gap: 20px;
    }
    .footer-menu-product-block {
        gap: 30px;
    }

    .footer-menu-logo{
        font-size: 20px !important;
        padding-bottom: 10px !important;
    }
    .footer-menu-logo-social a{
        padding-top: 8px;
        font-size: 15px;
    }
    .footer-menu-product li:first-child{
        margin-top: 0;
        margin-bottom: 10px;
        font-weight: bold;
        font-size: 15px;
        text-decoration: none;
    }
    .footer-menu-product li{
        font-size: 8px;
    }
    
}


@media screen and (max-width: 700px) {
    .footer-nav{
        flex-direction: column;
        justify-content: center;
    }
    .about-text-image {
        width: 100%;
    }
    .about-wrapper {
       flex-direction: column-reverse;
    }
    .about-text-wrapper{
        width: 100%;
    }
    .about-text-wrapper h1{
        font-size: 20px;
    }
}

@media screen and (max-width: 500px) {
    .cookie_wrapper{
        gap: 10px;
    }   
    
    .footer-nav{
        padding: 0 25px;
        flex-direction: column;
    }
    .footer-menu-product-block{
        flex-direction: column;
    }


    .footer-menu-logo{
        font-size: 30px !important;
        padding-bottom: 10px !important;
    }

    .footer-menu-logo-social a{
        padding-top: 8px;
        font-size: 15px;
    }

    .footer-menu-product li:first-child{
        margin-top: 0;
        margin-bottom: 10px;
        font-weight: bold;
        font-size: 15px;
        text-decoration: none;
    }

    .footer-menu-product li{
        font-size: 8px;
    }
}

@media screen and (max-width: 400px) {


  	  
    .header_logo {
        font-size: 20px; 
    }
  
    footer{
        margin-top: 0;
    }
    .about-text-wrapper {
        margin-top: 0;
    }

    .about-text-wrapper h1{
        font-size: 15px;
    }
    .about-text-image img {
        height: 220px;
    }

    .about-affinity-wrapper {   
        margin-top: 50px;
        width: 100%;
    }

    .about-affinity-wrapper h1{   
        font-size: 16px;
        width: 100%;
    }

    .about-affinity-wrapper p{   
        font-size: 15px;
        width: 100%;
    }

    .responsive-video {
        margin-top: 30px;
        height: 200px;
    }

    .gallery-wrapper{   
        margin-top: 25px;
    }



    .splide__slide { 
      width: 100%; 
      height: 400px; 
  	}


    .splide__slide img{
      	margin-left:25px;
        width: 90%;
        height: 400px;
    }
    .splide__arrow {
        display: none !important;
    }
    .splide__pagination {
        bottom: 50px !important;
    }
}