@import url("reset.css");

[class*="__container"]{
    max-width: 1200px;
    margin: 0px auto;
    padding: 0px 15px;
}


body{
    font-family: Poppins;
    color: #575445;
    font-weight: 400;
    line-height: 1.2;
    font-size: 16px;


}

/*---------WRAPPER------------*/
.wrapper{ /*  прижимаем подвал к низу*/
min-height: 100%;
display: flex;
flex-direction: column;
overflow: clip;
}

/*----------PAGE-----------*/
.page{
    flex: 1 1 auto;/* разрешаем контйнеру увеличиваться (это нужно для прижатия подвала к низу)*/

}

/* _______________Стили для текстовых блоков____________ */


.label{
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #E6B939;
    margin-bottom: 8px;
}


.title{
    font-size: 36px;
    color: #575445;
    margin-bottom: 10px; 
 
}
.title-main {
    font-size: 48px;
    color: #FFFFFF;
    margin-bottom: 10px;
}
.whatwehave__title {
    font-size: 28px;
    margin-bottom: 10px;
}

@media (max-width: 767.98px){ 
    .title{
        font-size: 28px;
    }
    .title-main{
        font-size: 40px;
    }
    .whatwehave__title {
        font-size: 20px;

    }
} 




.text{
    margin-bottom: 20px;
}

.main-block__text{
    font-size: 17px;
    line-height: 1.48;
    color: #CACCD1;
}





/*---------BUTTON------------*/
.button {
    line-height: 1.4;
    color: #FFFFFF;
    text-align: center;
    padding: 10px 18px;
    background: #575445;
    border-radius: 6px;
    transition: background 0.5s ease 0s;
    display: inline-block;
    max-width: 143px;
} 
@media (max-width:360px){ 
    .button {
      
        padding: 10px 10px;
       
    }  
} 




 .button:hover {
     background: #9f9f9f;
    } 



    ._ibg{
        position: relative;
      }
      
      ._ibg img{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        object-fit: cover;
      }




/*---------HEADER------------*/

.header__container {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    min-height: 125px;
    column-gap: 10px;
}
.header__menu {
    flex: 1 1 auto;
   
}



.header__logo,
.header__actions{
    position: relative;
    z-index: 10;
}
.menu__list {

    display: flex;
    justify-content: flex-end;
    column-gap: 28px;
    flex-wrap: wrap;
    row-gap: 3px;
  
  }
  .menu__item {
  }
  
  .menu__link{
    font-size: 13px;
    line-height: 1.08;
    color: #444444;
    display: block;
  }


  .menu__link:hover{
    text-decoration: underline;

}

.header__cart {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}



.cart-header__quantity {
    color: rgb(255, 255, 255);

}

.header__button {
    flex: 0 0 auto; 
}

.header__actions{
    display: flex;
    gap: 5px;

}



/* _________________BURGER__________________________ */

.icon-menu{
    display: none;
}

@media (max-width: 991.98px){
 
    .menu__list{
        column-gap: 15px;
    }
    .header__container{
        min-height: 90px;
    }
    .icon-menu{
        display: block;
        flex: 0 0 30px;
        width: 30px;
        height: 18px;
        position: relative;
        z-index: 10;
        background: none;
    }
    .icon-menu span,
    .icon-menu::before,
    .icon-menu::after{
        content:'';
        left: 0;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #000;

    }
    .icon-menu::before{
        top: 0;
    }
    .icon-menu::after{
        bottom: 0;
    }
    .icon-menu span{
        top: calc(50% - 1px);
    }

    .menu-open .icon-menu span{
        width: 0;
      }
      .menu-open .icon-menu::before
      {
         transform: rotate(-45deg);
         top: calc(50% - 1px);
      }
      .menu-open .icon-menu::after
      {
         transform: rotate(45deg);
         bottom: calc(50% - 1px);
      }

    .menu__body{
        position: fixed;
        width: 48%;
        height:100%;
        background-color: rgb(255, 255, 255);
        left: -100%;
        top: 0;
        z-index: 6;
        padding: 100px 15px 30px 30px;
        overflow: auto;
        transition: left 0.8s ease 0s;
    }
    .menu__list{
        row-gap: 10px;
        flex-direction: column;
        justify-content: center;
        text-align: left;
        
    }
    .menu__link{
        font-size: 24px;
        line-height: 1.5;
    }
    .header__container{
        min-height: 70px;
    }
 } 



 .menu-open .menu__body,
 .menu-open .menu__body::before{
     left: 0;
 }
 

@media (max-width: 560.00px){
    .header__logo{
        width: 39px;
        overflow: hidden;
    }
   
  
  
    .header__button{
        font-size: 12px;
        line-height: 1.7;
    }
    .cart-header__text{
        display: none;
    }
    .menu__body{

        width: 100%;
        height: 100%;
      
    }
 } 









/* ________page____________________________________________ */


.page__main-block{
    margin-bottom: 100px;

}

@media (max-width: 991.98px){
  
} 

@media (max-width: 1100px){
    .page__main-block{
        margin-bottom: 50px;
    }
} 



@media (max-width: 761.98px){
    .page__main-block{
        margin-bottom: 30px;
    }
    .whoarewe__image{
        align-self: center;

    }
    .whoarewe__image img{
        
    }
} 



.page__image img{
   max-width: 100%;

}

.page__image{
    margin: 0 auto;
 
 }

 .main-block__image {
    object-position: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    /* display: inline-block; */
  
  
   
  }
  

  .main-block__image img{
    object-position: center;
  
  }
  
  @media (max-width: 1300px){
    .main-block__image img{
      object-position: right;
    }

    .main-block__image:after{
        background: #00000097;
        width: 100%;
        height: 100%;
        content:'';
        top: 0;
        left: 0;
        position: absolute;

    }

  
  }


  .main-block__body {
    padding: 218px 0 228px 0;
    position: relative;
    z-index: 2;
    max-width: 500px;
  
  }

.main-block {
    position: relative;
}






/* ___________WHO We ARE____________ */


.page__whoweare{
    margin-bottom: 100px;
}
@media (max-width: 1100px){
    .page__whoweare{
        margin-bottom: 50px;
    }
} 




.whoweare__body{
    display: flex;
    column-gap: 104px;
    position: relative;
    z-index: 4;
}

.whoweare__body::before{
    content:'';
    background:url(../img/figure.svg) center no-repeat;
    position: absolute;
    top: -110px;
    right: 44%;
    width: 256px;
    height: 256px;
    
}


.whoweare__body::after{
    content:'';
    background:url(../img/figure02.svg) center no-repeat;
    position: absolute;
    bottom: -100px;
   left: -100px;
    width: 256px;
    height: 256px;
    
}




@media (max-width: 1100px){
    .whoweare__body{
        column-gap: 50px;
    }
 } 

@media (max-width: 767.98px){
    .whoweare__body{
        flex-wrap: wrap;
        flex-direction: column-reverse;
        row-gap: 30px;
    }
    .whoweare__image{
        flex: 1 0 100%;
         margin: 0 auto;
         width: 100%;
    }
    .whoweare__image img{
         width: 100%;
    }
    .whoweare__body::before{
        display: none;
    }  
    .whoweare__body::after{
        display: none;
    }  
 } 

.whoweare__content{
    align-self: center;
    flex: 0 1 50%;
    

}

.whoweare__image img{
    max-width: 100%;
}

.whoweare__image{
    flex: 0 1 50%;
    z-index: 5;

}









/* СТРЕЛКА */
.readmore {
    position: relative;
    min-width: 20px;
    padding-right: 30px;

}


.readmore{
    font-size: 14px;
    line-height: 1.48;
    color: #575445;
}

.readmore:hover{

    color: #7c7c77;
}



.readmore::after{
    content:'';
    background:url(../img/Arrow-Icon-Primary.svg) center no-repeat;
    position: absolute;
    top: -4;
    right: 0;
    width: 20px;
    height: 20px;
}




/*__________Settings____________ */


.page__settings{
    margin-bottom: 100px;
    background: rgb(247, 247, 247);
    padding:100px 0 160px 0px;
    position: relative;
}

.page__settings::before{
    content:'';
    background:url(../img/shape02.svg) center no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 555px;
    height: 440px;
}
.page__settings:after{
    content:'';
    background:url(../img/coshape.svg) center no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    width: 470px;
    height: 423px;
}



@media (max-width: 991.98px){

  .settings__items {
    column-gap: 30px;
    row-gap: 30px;
}
.page__settings{
    padding:50px 0 50px 0px;
}
} 

@media (max-width: 1100px){
    .page__settings{
        margin-bottom: 50px;
    }
    .page__settings::before{
        display: none;
    }  
    .page__settings::after{
        display: none;
    }  
} 

@media (max-width: 767.98px){
  
 } 

 .settings{

 }
.settings::after{

}
.settings__container {
}

.settings__content {
    max-width: 520px;
    margin: 0 auto;
    margin-bottom: 50px;

}
.settings.title,
.settings.label,
.settings.text{
    text-align: center;
}

.title {
}
.text {
}
.settings__items {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    row-gap: 30px;

}











.settings__item{
    justify-content: center;
    align-items: center;
}


.item-settings__icon{
    background: #575445;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    transition: all 0.5s ease 0s;
}
.item-settings__icon:hover{

transform: scale(1.1);
}



.item-settings__icon img {
    max-width: 20px;
}



.item-settings__title {
    text-align:center;
}

.item-settings__title:not(:last-child) {
   margin-bottom: 15px;
}


.item-settings__text {

    text-align:center;
    font-size: 13px;
    line-height: 1.08;
    max-width: 300px;
    margin: 0 auto;
}



/* ____________________WTATWEHAVE____________ */


.page__whatwehave{
    margin-bottom: 100px;
}



@media (max-width: 1100px){
    .page__whatwehav{
        margin-bottom: 50px;
    }
} 

.whatwehave {
}
.whatwehave__container {
}
._container {
}
.whatwehave__content {
    max-width: 600px;
    margin: 0 auto 50px;
}
.settings {
}
.label {
}
.title {
}
.text {
}
.whatwehave__items {

    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 10px;
    row-gap: 10px;
    margin-bottom: 50px;
}

@media (max-width: 991.98px){
    .whatwehave__items {
      grid-template-columns: repeat(2,1fr);
  }
  } 


@media (max-width:560px){
    .whatwehave__items {
      grid-template-columns: repeat(1,1fr);
    }
    .whatwehave__title {
    font-size: 24px;
    }
    .whatwehave__body {
    max-width: 300px;
    }
  } 


.whatwehave__item {
    max-width: 100%;
    position: relative;
    
}
.whatwehave__body {
    width: 300px;
    top:30%;
    left:50%;
    transform:translate(-50%, -50%);
    text-align: center;
    position: absolute;
    padding: 10px;
    z-index: 10;

}





.whatwehave__text {
    margin-bottom: 20px;
   
}
@media (max-width: 767.98px){
    .whatwehave__text {
       font-size: 14px;
    }  
 } 
 @media (max-width: 300px){
    .whatwehave__text {
      max-width: 100px;
      margin: 0 auto;
    }  
 }
.whatwehavek__image {
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 5px;

}




.whatwehavek__image img{
    width: 100%;
    transition: all 1s ease 0s;


}
.whatwehavek__image img:hover{
    transform: scale(1.1);
    
}

.showallcategories{
   text-align: center;
}



/* _____________________info______________ */

.info__block {

}
.info__items {
    background: #292c32;
    padding: 16px 22px;
    z-index: 10;
    position: absolute;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    bottom: 40px;
    right: 40px; 
    justify-content: center;  
}

@media (max-width: 991.98px){
    .settings__items {
      
        grid-template-columns: repeat(2,1fr);
       
    
    } }
    
    @media (max-width:660px){
        .settings__items {
          
            grid-template-columns: repeat(1,1fr);
           
        
        }

    .info__items {
   
    flex-wrap: wrap;
    justify-content:center;
    left: 35px;
    
    }
  } 




@media (max-width: 767.98px){
    .info__items {
    flex-wrap: wrap;
    left: 35px;
    right: 35px;
    justify-content: center;
    padding: 16px 16px;;
    }
  } 
  @media (max-width: 358.98px){
    .info__items {
        justify-content:flex-start;
    }
}

.info__item {
    display: flex;
    gap: 10px;
}
.info__link {
    color: rgb(255, 255, 255);
}
.info__link:hover {
    color: rgb(170, 170, 170);
}
.info__block{
    min-height: 600px;
    position: relative;
}
.info__image {
    object-position: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    overflow: hidden;
    /* display: inline-block; */
  }
  .info__image img{
    object-position: center;
    width: 100%;
    transition: all 5s ease 0s;
  }
  .info__image img:hover{
    transform: scale(1.1);
}

/* _____________________GREEN______________ */

.green__block{
    background: #375C58;
    min-height: 393px;
    position: relative;
}

.green__image {
    object-position: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    /* display: inline-block; */
  }
  
  .green__image img{
    object-position: center;
    width: 100%;
    transition: all 1s ease 0s;
  
  }

  /* .green__image img:hover{
    transform: scale(1.1);
} */

/* .content-green{
    margin: 0 auto;
} */

.green__content {
    width: 600px;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    text-align: center;
    position: absolute;
    z-index: 10;
    padding:0 15px;
}

@media (max-width: 767.98px){
    .green__content {
        max-width: 100%;
      

    }
 } 

 /* @media (max-width: 560px){
    .green__content {
        width: 400px;

    }
 }  */






.green .label {
    color: #FAFAFC;

}

.green .title {
color:#E6B939;

}
.green .text {
    color: #FAFAFC;
}

.green__button {
    background:  #FAFAFC;
    color: #000;
    display: inline-block;

}


.page__green{
    margin-bottom: 100px;
}



@media (max-width: 1100px){
    .page__green{
        margin-bottom: 50px;
    }
} 


/* ___________________ARTICLE___________ */
.article__content {
    max-width: 538px;
}
.main-block {
}
.label {
}
.title {
}
.text {
}

.article__container{
    font-size: 0;
}

/* .article__items{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    font-size: 0px;
} */

.article__items {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin-bottom: 30px;
    font-size: 0;
    gap: 32px;
    align-items: stretch;
    min-height: 100%;
    @media (max-width: 991.98px)
    {grid-template-columns: repeat(1,1fr); } 
}
.article__item {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;



}
.article__image {
    position: relative;
    padding-bottom: 56.25%; /* 288/512 */
    overflow: hidden;
   border-radius: 16px;
  
  
}

.article__image img{
    position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;
    transition: all 0.5s ease 0s;
    
}

.article__image img:hover{

    transform: scale(1.1);
    }
    
.article__block {

    
}
.user__image{

}


.article__main{

}



.article__title {
    font-size: 20px;
    color: #575445;
    max-width: 565px;
    flex: 1 1 auto;
   
}
.article__body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex: 0 1 auto
}
.article__user {
    display: flex;
    gap: 12px;
    align-items: center;
}

.article__name {
    font-size: 13px;
}
.article__profession {
    color: #E6B939;
    font-size: 11px;
}
.article__date {
    color:  #6F7278;
    font-size: 13px;
    padding-right: 5px;
}

.article__info{
    

}


 @media (max-width: 767.98px){
    .article__item{
        flex: 1 0 100%;
    }
    .article__image img{
         width: 100%;
    }
    .article__items {
    flex-wrap: wrap;
    row-gap: 30px;
    }
    .article__date {
        font-size: 11px;
    }
 } 

 .page__article{
    margin-bottom: 200px;

}



@media (max-width: 1100px){
    .page__article{
        margin-bottom: 50px;
    }
} 





/* ___________________MAGAZINE____________ */

 .page__magazine {
}
.page__magazine{
    margin-bottom: 100px;
}



@media (max-width: 1100px){
    .page__magazine{
        margin-bottom: 50px;
    }
} 


.magazine__body{
    display: flex;
    column-gap: 104px;
    position: relative;
    z-index: 4;
}


.magazine__body::before{
    content:'';
    background:url(../img/figure.svg) center no-repeat;
    position: absolute;
    top: -120px;
    right: 40%;
    width: 256px;
    height: 256px;
    
}


.magazine__body::after{
    content:'';
    background:url(../img/figure02.svg) center no-repeat;
    position: absolute;
    bottom: -120px;
   left: -105px;
    width: 256px;
    height: 256px;
    
}






.magazine__content{
    align-self: center;
    flex: 0 1 50%;
    

}

.magazine__image img{
    max-width: 100%;
}

.magazine__image{
    flex: 0 1 50%;
    z-index: 5;

}
@media (max-width: 1100px){
    .magazine__body{
        column-gap: 50px;
    }
 } 

@media (max-width: 767.98px){
    .magazine__body{
        flex-wrap: wrap;
        flex-direction: column-reverse;
        row-gap: 30px;
    }
    .magazine__image{
        flex: 1 0 100%;
         margin: 0 auto;
         width: 100%;
    }
    .magazine__image img{
         width: 100%;
    }
    .magazine__body::before{
        display: none;
    }  
    .magazine__body::after{
        display: none;
    }  

 } 



 /* _________FOOTER__________________ */


 .footer {
    background: #575445;
    padding: 100px 0;

}
.footer__container {
}
.footer__logo-block img{
    margin: 0 auto;
    display: block;
}
.footer__logo-block{
    margin-bottom: 76px;
    display: block;
}
/* ____________________ */

.footer__block {
    display: flex;
    margin-bottom: 30px;
}
.footer__menu {
    display: flex;
    flex: 0 1 80%;
}
.footer__list {
   
}
.menu-footer__list{
    gap: 16px;
    flex: 0 1 33.333%;
}
.list_footer__title {
}

.footer-title{
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #E6B939;
    margin-bottom: 10px;
}

.list_footer__items {
   
}

.footer-text{
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
}
.menu__link:not(:last-child){
    margin-bottom: 9px;
}

.menu-footer__item:not(:last-child){
    margin-bottom: 9px; 
}

.subscribe__body {
    flex:0 1 460px;
}
.subscribe__title {
}
.subscribe__text {
    margin-bottom: 9px;
}
.subscribe__form {
    position: relative;

}
.subscribe__input{
    min-height: 53px;
    width: 100%;
    border-radius: 8px;
    padding: 16px 21px;
    background: #ebebeb; 
    color: #E6B939;
}
/* ???? color */

::-webkit-input-placeholder { /* WebKit browsers */
    color: #575445;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #575445;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #575445;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #575445;
}

.subscribe__button {
    position: absolute;
    background: #575445;
    border-radius: 10px;
    color: white;
    padding: 10px;
    transition: 1s;
    right: 7px;
    bottom: 7px;
    z-index: 19;
}






@media (max-width: 991.98px){
    .footer__block {
        flex-wrap: wrap;
    }
    .footer__menu{
        flex: 0 1 100%;
        margin-bottom: 60px;
    }
    .subscribe__body {
        flex:0 1 100%;
    }
    .footer {
        padding: 30px 0;
    }
    .footer__logo-block{
        margin-bottom: 30px;
    }
    .footer__bottom{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 15px;
      }
 } 

 @media (max-width:560px){
    .footer__menu{
       flex-wrap: wrap;
       gap: 30px;
    }
    .menu-footer__list {
        gap: 16px;
        flex: 0 1 100%;
    }
 } 

 .footer__bottom{
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
 }

 .footer__social{
    display: flex;
    gap: 20px;
 }

