@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


:root{
    --main-color: rgba(255, 255, 224, 0.9);
}
*{
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
}
body{
    overflow-x: hidden;
    position: relative;
}
h2{
    padding: 0;
    margin: 0;
}
ul{
    list-style-type: none;
    margin: 0;
}
a{
    color: var(--color-text-light);
}
a:hover{
    text-decoration: none;
    color: var(--color-text-dark);
}
.wrapper{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.container{
    max-width: 1190px;
    margin: 0 auto;
}
.nav{
    position: absolute;
    background-color: var(--main-color);
    top: 10px;
    left: 10px;
    right: 10px;
    border-radius: 20px;
    z-index: 50;
}
.nav__block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
.nav__menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__logo{
    max-width: 60px;
}
.nav__logo img{
    width: 100%;
}
.nav__item{
    padding-right: 50px;
}
.nav__item a{
    font-size: 14px;
    font-weight: 600;
}
.nav__item:last-child{
    padding: 0;
}
/* lang */

.lang__link{
    border: 1px solid #2c4167;
    border-radius: 50%;
    padding: 7px 10px;
}
.lang__link:last-child{
    margin-left: 10px;
}
.lang__link a{
    font-size: 12px;
}
.lang__link.active{
    border: 3px solid #2c4167;
    font-weight: 700;
    padding: 8px 10px;
}
.lang__link.active a{
    font-size: 14px;
}

.header{
    background: url('/img/bg-header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding-bottom: 50px;
}
.header__title{
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-align: center;
}
.header__subtitle{
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    color: #000;
}
.header__block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: 150px;
    background-color: var(--main-color);
    max-width: 350px;
    margin: 0 auto;
    z-index: 10;
    border-radius: 10px;
    padding: 20px 20px;
}
.header__link{
    padding: 10px 20px;
    display: inline-block;
    background-color: #2c4167;
    color: #fff;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
}

/* content */

.content{
    padding-top: 200px;
    padding-bottom: 50px;
}
.content__title{
    font-size: 35px;
    color: #fff;
}
.content__block{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}
.content__item{
    margin-left: 10px;
    box-shadow: 5px 5px 20px black;
    flex: 1;
    max-width: 350px;
    min-height: 300px;
    border-radius: 10px;
    text-align: center;
    padding: 30px 0 0 0;
    background-color: var(--main-color);
}
.content__item:first-child{
    margin-left: 0;
}
.content__img{
    margin: 0 auto;
    display: block;
}
.content__img img{
    width: 200px;
    margin-left: 50%;
    transform: translateX(-50%);
}
.content__item__title{
    border-bottom: 2px solid #2c4167;
    display: inline-block;
    margin-bottom: 10px;
}
.content__item__title a{
    font-size: 16px;
    font-weight: 600;
}

.footer{
    background-color: var(--main-color);
    padding: 5px 0;
}
.footer__block{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer__left{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer__right{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer__title{
    margin-right: 10px;
    font-weight: 600;
}
.footer__itspk{
    max-width: 70px;
}
.footer__itspk img{
    width: 100%;
}
.footer__img{
    max-width: 50px;
}
.footer__img img{
    width: 100%;
}
.footer__text{
    margin-left: 10px;
    font-weight: 600;
}

/* burger menu */

.burger__menu{
    display: none;
    position: relative;
    z-index: 51;
    justify-content: flex-end;
    width: 30px;
    align-items: center;
    height: 18px;
}
.burger__menu span{
    height: 2px;
    width: 80%;
    transform: scale(1);
    background-color: #000;
}
.burger__menu::before, .burger__menu::after{
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #000;
    transition: all 0.3s ease 0s;
}
.burger__menu::before{
    top: 0;
}
.burger__menu::after{
    bottom: 0;
}

.burger__menu.active span{
    transform: scale(0);
}
.burger__menu.active::before{
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
}
.burger__menu.active::after{
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
}
.burger__menu.white{
    background-color: #fff !important;
}
.open{
    display: flex !important;
}

.b{
    font-weight: 700;
}

/* About company page */
.about__page{
    background: url('/img/bg-header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding: 120px 0 50px 0;
}
.about__title{
    font-size: 18px;
    text-align: center;
    margin-bottom: 10px;
}
.about__block{
    background: var(--main-color);
    border-radius: 20px;
    padding: 30px 40px;
}
.about__menu{
    list-style-type: disc;
}
.about__menu > li{
    padding: 0 0 10px;
}

/* Общий фон */
.bg{
    background: url('/img/bg-header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding: 120px 0 50px 0;
    min-height: 100%;
}

/* contact */
.contact{
    /* min-height: 800px; */
}
.fx{
    flex-grow: 1;
}
.contact__block{
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}
iframe{
    border-radius: 20px;
}
.contact__item:last-child{
    background-color: var(--main-color);
    min-width: 300px;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    left: -150px;
}
.contact__item:last-child > p{
    margin: 0;
}

/* Новостоной блок news */

.news{
    /* min-height: 800px; */
}
.news__block{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news__item{
    flex: 0 1 33.33%;
    background-color: var(--main-color);
    min-height: 350px;
    min-width: 300px;
    border-radius: 20px;
    text-align: center;
    margin: 0 10px;
    padding: 20px 20px 0 20px;
}
.news__title{
    padding-top: 10px;
}
.news__btn{
    padding: 20px 0;
}
.news__btn > a{
    margin: 0;
    transform: none;
}

/* products */

.products{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.products__menu1{
    min-width: 300px;
    padding: 20px 50px;
    background-color: var(--main-color);
    border-radius: 20px;
}
.products__content{
    max-width: 800px;
    border-radius: 20px;
    padding: 30px 50px;
    background-color: var(--main-color);
}
.category__item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    text-align: center;
}
.products__img{
    max-width: 120px;
}
.products__img img{
    width: 100%;
}
.btn{
    margin: 0;
    transform: none;
}
.category_title{
    font-weight: 700;
    cursor: pointer;
}
.category__title{
    font-size: 24px;
}
.subcategory{
    font-weight: 500;
    cursor: pointer;
}
.subcategory-list{
    padding: 10px 0;
}
.subcategory-list li{
    padding: 2.5px 0;
}
.category__img{
    max-width: 120px;
}
.category__img img{
    width: 100%;
}


/* Таблицы */

table{
    width: 100%;
    border: 1px solid #000;
    font-weight: 500;
}
th{
    border: 1px solid #000;
    text-align: center;
    padding: 15px;
    font-size: 12px;
}
td{
    font-size: 12px;
    border: 1px solid #000;
    text-align: center;
    padding: 5px;
}

@keyframes burgerAnimation {
    from {opacity: 0;}
    to {
        opacity: 1;
    }
}
.overlay{
    display: none;
}


/* work */
.work__title{
    font-size: 26px;
    font-weight: 700;
}
.work__item{
    background-color: var(--main-color);
    border-radius: 20px;
    padding: 20px 50px;
    margin: 50px 10px 0 10px;
}
.work__item:first-child{
    margin-top: 0;
}
.work__text-block{
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.work__img{
    min-width: 250px;
}
.work__img img{
    width: 100%;
}
.work__text{
    max-width: 700px;
}
.work__imgb{
    text-align: center;
}

/* Адаптивность  */
@media (max-width: 1400px) {
    /*
    Стили для устройств, у которых ширина viewport меньше или равно 1400 пикселей,
    но больше 990 пикселей.
    Эти стили будут использованы для планшетов и ноутбуков с низким разрешением
    */
  }

  @media (max-width: 1024px) {
    .header{
        background-position: bottom;
    }
    .nav__block{
        padding: 5px 10px;
    }
    .content__block{
        flex-direction: column;
    }
    .content__title{
        text-align: center;
    }
    .content__item{
        margin-top: 20px;
        margin-left: 0;
    }
    .about__block{
        margin: 0 10px;
    }
    .contact__block{
        flex-direction: column;
    }
    .contact__item:first-child{
        order: 2;
        margin: 0 auto;
    }
    .contact__item:last-child{
        order: 1;
        left: 0;
        margin: 0 auto;
        margin-bottom: 30px;
    }
    .news__block{
        margin: 0 10px;
    }
    .category__item{
        align-items: flex-start;
    }
    .products__content{
        margin: 0 10px;
    }
    .products__menu1{
        display: none;
    }
  }
  @media (max-width: 990px) {
    .news__block{
        flex-direction: column;
    }
    .news__item{
        max-width: 400px;
        margin-bottom: 30px;
    }
  }

  @media (max-width: 770px) {
    .burger__menu{
        display: flex;
        position: relative;
        z-index: 30;
    }
    .lang__link{
        position: absolute;
        top: 120px;
        left: 100px;
        display: block;
        border: 1px solid #fff;
    }
    .lang__link:last-child{
        margin-top: -2px;
        margin-left: 60px;
    }
    .lang__link a{
        color: #fff;
    }
    .open{
        display: block !important;
    }
    .overlay{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #000;
        z-index: 20;
    }
    .overflow-y{
        overflow-y: hidden;
    }
    .nav__left{
        display: none;
        position: absolute;
        top: 100px;
        left: 50%;
        transform: translateX(-50%);
        min-width: 300px;
        z-index: 52;
        border-radius: 10px 10px 0 0;
        padding-top: 10px;
    }
    .nav__right{
        display: none;
        position: absolute;
        top: 172px;
        left: 50%;
        transform: translateX(-50%);
        min-width: 300px;
        border-radius: 0 0 10px 10px;
        z-index: 52;
        padding-bottom: 10px;
        margin-top: 40px;
    }
    .active-nav{
        display: block !important;
    }
    .nav__menu{
        flex-direction: column;
    }
    .nav__item a{
        color: #fff;
        font-size: 16px !important;
        text-transform: uppercase;
    }
    .nav__item{
        margin-top: 10px;
        padding-right: 0;
    }
    .work__text-block{
        flex-direction: column;
    }
    .work__imgb{
        max-width: 375px;
        margin: 0 auto;
    }
    .work__imgb img{
        width: 100%;
    }
    .footer__block{
        flex-direction: column;
    }
    .footer__left{
        padding: 10px 0;
    }
    .footer__right{
        padding: 10px 0;
    }
    iframe{
        width: 300px !important;
    }
    th,td{
        font-size: 8px;
        padding: 3px;
    }
    .category__item{
        flex-direction: column;
        align-items: center;
    }
  }
  @media (max-width: 375px){
    .products__content{
        padding: 20px 10px;
    }
    .footer__block{
        font-size: 12px !important; 
    }
  }
