html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

html,
body{
  height: 100%;
}

.wrapper{
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.main{
  flex-grow: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style-type: none;
}
.title{
  text-align: center;
  margin-bottom: 60px;
  font-family: "Cormorant", serif;
  font-size: 40px;
  font-weight: 400;
}

/* .reviews__item.reviews__item--hide{
  display: none;
} */
button {
  background-color: transparent;
  padding: 0;
  border: 0;
  cursor: pointer;
  background-color: transparent;
}

.container{
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

body{
  font-family: "Open Sans", sans-serif;
  /* font-family: "Cormorant", serif; */
  color: #151618;
  font-size: 20px;
  font-weight: 300;
  line-height: normal;
  position: relative;
}

.header__inner{
  display: flex;
  min-width: 140px;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0px;
}

.logo{
  margin-bottom: 35px;
}

.menu__btn{
  display: none;
  width: 40px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.mobile-nav,
.menu__close{
  display: none;
}

.menu__btn span{
  background-color: #000;
  height: 2px;
  width: 100%;
}

.menu--close{
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  z-index: 1;
  transition: background-color .3 ease;
}

.menu--close.menu--open{
  display: block;
  
}

.menu__list{
  display: flex;
  align-items: center;
  gap: 0 65px;
  font-weight: 400;
  font-size: 18px;
  margin-left: 85px;
  position: relative;
  z-index: 3;
}

.user-actions{
  display: flex;
  align-items: center;
  gap: 0 20px;
}

.user-actions__item-search{
  margin-left: 80px;
}
/* .user-actions__link{
  outline: 1px solid transparent;
  outline-offset: 3px;
  border-radius: 50%;
}
svg{
  max-width: 100%;
  height: auto;
} */

.top{
  background-image: url(images/Top-bg.jpg);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: cover;
}

.top__inner{
  min-height: 500px;
  color: #fff;
  font-family: "Cormorant", serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.top__title{
  font-size: 60px;
  margin-bottom: 20px;
  max-width: 780px;
  line-height: 1;
  font-weight: 400;
}

.top__text{
  font-size: 24px;
  margin-bottom: 48px;
  max-width: 560px;
}

.blockqoute__text{
  text-align: center;
  font-family: "Cormorant", serif;
  font-size: 40px;
  font-style: italic;
  max-width: 704px;
  margin: 150px auto;
}

.assortment{
  margin-bottom: 150px;

}

.assortment__list{
  display: flex;
  text-align: center;
  gap: 0 40px;
  justify-content: space-evenly
}

.assortment__img{
  max-width: 208px;
  max-height: 208px;
  width: 100%;
}

.assortment__name{
  padding-top: 10px;
  font-family: "Cormorant", serif;
  font-size: 24px;
  font-weight: 400;
}

.reviews{
  background-color: #f7f2ea;
  padding: 60px 0;
}

.reviews__list{
  display: flex;
  gap: 0 26px;
  justify-content: center;
}

.reviews__item{
  flex-basis: 280px;
}

.reviews__text{
  font-size: 16px;
  font-style: italic;
  margin-bottom: 10px;
}

.reviews__name{
  font-weight: 600;
}

.main-blog{
  padding: 150px 0;
}

.main-blog__list{
  display: flex;
  flex-wrap: wrap;
  gap: 40px 58px;

}

.main-blog__item{
  flex-basis: 542px;
  display: flex;
  gap: 0 20px;
}

.main-blog__item--content{
  display: flex;
  flex-direction: column;
}

.main-blog__item-title{
  margin-bottom: 10px;
  font-family: "Cormorant", serif;
  font-size: 24px;
  font-weight: 400;
  min-height: 86px;
}

.main-blog__item-author{
  font-size: 13px;
}

.main-blog__item-link{
  margin-top: auto;
  font-size: 13px;
  position: relative;
}

.main-blog__item-link::after{
  content: "";
  background-image: url(../images/arrow.svg);
  position: absolute;
  width: 5px;
  height: 10px;
  margin-left: 8px;
  bottom: 3px;
}

.main-blog__link{
  padding: 12px 41px;
  display: flex;
  justify-content: center;
  margin: 72px auto 0;
  border: 1px solid  #151618;
  width: 152px;
}

.mailing-list{
  padding: 100px 0;
  background-color: #f7f2ea;
  background-image: url(../images/mailing-bg.png);
  background-repeat: no-repeat;
  background-position: bottom right;
}

.mailing-list__title{
  text-align: left;
  margin-bottom: 50px;
}

.mailing-list__inner{
  display: flex;
  gap: 60px 40px;

}

.mailing-list__text{
  line-height: 1.5;
  flex-basis: 580px;
}

.mailing-list__form{
  display: flex;
  flex-wrap: wrap;
  flex-basis: 580px;
}

.mailing-list__email{
  border: none;
  border-bottom: 1px solid #b8b58b;
  background-color: transparent;
  padding: 3px 15px;
  width: 430px;
  margin-right: 25px;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 20px;
  font-style: normal;
  line-height: 1.5;
  color: #151618;
}

.mailing-list__email::placeholder{
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 20px;
  font-style: normal;
  line-height: 1.5;
  color: #b8b58b;
}

.mailing-list__btn{
  background-color: #fff;
  border: 1px solid #151618;
  padding: 12px 41px;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
}

.checkbox__text{
  font-size: 13px;
  padding-left: 20px;
}

.mailing-list__label{
  margin-top: 16px;
}

.checkbox{
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  padding-left: 20px;
}

.checkbox-style{
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid #151618;
  margin-top: 5px;
}

.checkbox:checked + .checkbox-style::before{
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background-color:#151618;
  top: 1px;
  left: 1px;
}

.prioritise{
  padding: 150px 0;

}
.prioritise__list{
  text-align: center;
  display: flex;  
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px 49px;
}
.prioritise__title{
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: 300;
}
.prioritise__text{ 
  font-weight: 600;
  margin-bottom: 30px;
}
.footer{
  padding: 100px 0 20px;
  background-color: #F7F2EA;
}
.footer__inner{
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 40px;
}
.footer__products-title,
.footer__company-title,
.footer__contacts-title{
  font-weight: 400;
  font-family: "Cormorant", serif;
  font-size: 24px;
  margin-bottom: 50px;
}

.footer__products-item,
.footer__company-item{
  margin-bottom: 20px;
}

.footer__blockquote-text{
  margin-top: 80px;
  font-style: italic;
  margin-bottom: 20px;
}

.footer__blockquote-author{
  font-size: 12px;
  font-style: normal;
}

.footer__blockquote-author span{
  display: block;
}

.footer__contacts-text{
  font-size: 13px;
  margin-bottom: 20px;
}

.footer__nav{
  display: flex;
  flex-wrap: wrap;
}

.footer__nav-logo{
  margin-right: 40px;
}

.footer__nav-contacts{
  margin-top: 20px;
}

.footer__nav-phone,
.footer__nav-email{
  font-size: 13px;
  position: relative;
  padding-left: 32px;
  display: block;
  margin-bottom: 20px;
}

.footer__nav-phone::before,
.footer__nav-email::before{
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 16px;
  background-image: url(../images/mail.svg);
}

.footer__nav-phone::before{
  background-image: url(../images/phone.svg);
  width: 21px;
  height: 21px;

}

.footer__social{
  margin-top: 40px;
  /* margin-left: 0px; */
}

.footer__social-list{
  display: flex;
  align-items: center;
  gap: 0 20px;
  margin-left: 97px; 
  height: 22px;
}

.footer__social-link{
  display: grid;
}

.footer__bottom{
  display: flex;
}

.footer__copy{
  margin-right: 192px;
  font-size: 16px;
}

.partners-logo{
  display: flex;
  align-items: center;
  gap: 0 20px;
}
.main-anim:hover
{
  background-color: #F7F2EA;
  transition: all 0.5s ease;
}
.footer__products-item:hover,
.footer__company-item:hover{
  color: rgb(169, 174, 3);
  font-size: 21px;
  transition: all 0.35s ease;
}
.main-blog__item-link:hover,
.menu__item:hover,
.user-actions__item:hover,
.footer__nav-phone:hover,
.footer__nav-email:hover{
  color: rgb(169, 174, 3);
  transition: all 0.35s ease;
}
.mailing-list__btn:hover{
  background-color: #F7F2EA;
  transition: all 0.5s ease;
  /* font-size: 22px; */
}
.hover-p:hover{
  font-size: 21px;
  transition: all 0.5s ease;
}
.footer__facebook{
  color: #754E29;
}

.footer__facebook:hover{
  color: #1026a5;
  transition: all 0.35s ease;
}
.footer__youtube:hover{
  color: #c4302b;
  transition: all 0.35s ease;
}
.footer__instagram:hover{
  color: #bb1c91;
  transition: all 0.35s ease;
}
.footer__twitter:hover{
  color: #2a82ed;
  transition: all 0.35s ease;
}















































@media (prefers-reduced-motion: no-preference){
  :root{
    scroll-behavior: smooth;
  }
}

@media(max-width: 1000px) {
  .user-actions__item-search{
    margin-left: 30px;
  }
  .menu{
    margin-right: auto;
  }
    
  .menu__list{
    margin-left: 60px;
  }
  .logo{
    margin-bottom: 0;
  }
  .header__inner{
    min-width: auto;
  }
  .blockqoute__text{
    margin-top: 120px;
    margin-bottom: 135px;
  }
  .assortment{
  margin-bottom: 120px;
  }

  .assortment__list{
    gap: 0;
  }
  .reviews__item:last-child{
    display: none;
  }
  .main-blog{
    padding: 120px 0;
  }
  .main-blog__item-img{
    max-width: 230px;
  }
  .main-blog__item{
    flex-basis: 460px;
  }
  .main-blog__list{
    gap: 67px 20px;
  }
  .main-blog__link{
    margin-top: 60px;
  }
  .mailing-list__inner{
    flex-wrap: wrap;
    justify-content: center;
  }
  .mailing-list{
    padding: 60px 0;
  }  
  .mailing-list__title{
    text-align: center;  
  }
  .mailing-list__text{
    text-align: center;
    flex-basis: 780px;
  }
  .prioritise{
    padding: 120px 0;
  }
  .prioritise__list{
    gap: 30px 210px;
  }
  .footer__blockquote{
    width: 270px;
  }
  .footer__blockquote-text{
    margin-top: 0;
  }
  .footer__inner{
    margin-bottom: 55px;
  }
  .footer__copy{
    margin-right: 85px;
  }
  .footer__nav-logo{
    margin-right: 35px;
  }
  .footer__contacts{
    width: 270px;
  }
}


@media(max-width: 860px) {
  .menu__list {
    /* display: none; */
    transform: translateY(-100%);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 420px;
    margin: 0 auto;
    background-color: #fff;
    display: block;
    text-align: center;
    padding-top: 60px;
    transition: transform .6s ease;
  }
  .menu__list.menu__list--open{
    transform: translateY(0%);
  }
  .menu__close-btn{
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .menu__item{
    margin-bottom: 30px;
    font-size: 24px;
    font-family: "Cormorant", serif;
  }
  .mobile-menu{
    padding-top: 60px;
    margin: 60px 30px;
    border-top: 2px solid #F7F2EA;
  }
  .mobile-actions{
    background-color: #F7F2EA;
    height: 60px;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-menu__item{
    margin-bottom: 35px;
  }
  .menu__btn{
    display: flex;

  }
  .mobile-nav,
  .menu__close{
  display: block;
}
  .menu{
    order: -1;
    margin-right: 0;
  }
  .logo{
    margin-left: auto;
    margin-right: 154px;
  }
}


@media(max-width: 768px) {
  .header__inner{
    padding-left: 64px;
    padding-right: 64px;
  }
  .blockqoute__text{
    max-width: 640px;
  }
  .assortment__list{
    flex-wrap: wrap;
    justify-content: center;
  }
  .reviews__item:last-child{
    display: block;
  }
  .reviews__list{
    flex-wrap: wrap;
    gap: 30px 76px;
  }
  .main-blog__item{
    flex-basis: 542px;
  }
  .main-blog__item-img{
    max-width: 270px;
  }
  .main-blog__list{
    gap: 30px 20px;
  }
  .main-blog__item:nth-child(even){
    margin-left: 98px;
  }
  .mailing-list__text{
    flex-basis: 640px;
  }
  .prioritise__list{
    gap: 30px 133px;
  }
  .footer__inner{
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;

  }
  .footer__products,
  .footer__company{
    grid-row: span 3;
  }
  .footer__contacts{
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
  .footer__copy {
    margin-right: 120px;
}
}


@media(max-width: 680px) {
  .cantainer{
    padding-left: 10px;
    padding-right: 10px;
  }
  .header__inner{
    padding-left: 0;
    padding-right: 0;
  }
  .top__title{
    font-size: 40px;
  }
  .blockqoute__text{
    font-size: 16px;
    max-width: 376px;
    margin-top: 60px;
    margin-bottom: 60px;
  }
  .reviews__item{
    flex-basis: 182px;
  }
  .main-blog__item:nth-child(even){
    margin-left: 0;
  }

}
@media(max-width: 480px) {
  .logo{
    margin-right: 80px;
  }
  .logo img{
    width: 40px;
  }
  .menu__list{
    width: 360px;
  }
  .assortment{
    margin-bottom: 60px;
  }
  .reviews__list{
      gap: 30px 20px;
  }
  .reviews{
       padding: 50px 0;
  }
  .reviews__item{
      flex-basis: 151px;
  }
  .main-blog{
      padding: 60px 0;
  }
  .main-blog__item-img{
      max-width: 230px;
  }
  .mailing-list{
      padding: 50px 0;
  }
  .mailing-list__text{
      flex-basis: 100%;
      font-size: 13px;
  }
  .mailing-list__inner{
    gap: 30px 0;
  }
  .mailing-list__email{
    width: 310px;
    margin-right: 20px;
    line-height: normal;
  }
  .mailing-list__btn{
    padding: 10px 37px;
  }
  .prioritise{
    padding: 60px 0;
  }
  .prioritise__list {
    gap: 50px;
  }
  .footer__inner{
    display: flex;
    flex-wrap: wrap;
  }
  .footer__blockquote{
    width: 100%;
  }
  .footer__blockquote-text{
    margin-bottom: 10px;
    margin-top: 50px;
  }
  .footer__contacts{
    margin-top: 50px;
    width: 100%;
  }
  .footer__contacts-title{
    margin-bottom: 20px;
    text-align: center;
  }
  .footer__contacts-text{
    text-align: center;
  }
  .footer__nav{
    flex-wrap: nowrap;
  }
  .footer__social-list{
    margin-left: 30px;
  }
  .footer__copy{
    margin-right: auto;
  }
  .footer__products{
    margin-right: auto;
    padding-right: 20px;
  }
  .footer__company{
    padding-right: 20px;
    margin-right: 55px;
  }
  .footer__products-title, 
  .footer__company-title{
    margin-bottom: 30px;
  }
  .footer{
    padding: 50px 0 10px;
  }
}

@media(max-width: 360px) {
  .title{
    margin-bottom: 30px;
    font-size: 24px;
  }

  .logo{
    margin-right: 50px;
  }

  .user-actions__item-search{
    margin-left: 0px;
  }

  .header__iner{
    padding: 10px 0;
  }

  .top__title{
    font-size: 24px; 
    margin-bottom: 10px;
    line-height: normal;
  }

  .top__text{
    font-size: 13px;
    margin-bottom: 30px;
  }

  .top__inner{
    min-height: 367px;
  }

  .blockqoute__text{
    max-width: 340px;
    margin-top: 70px;
    margin-bottom: 80px;
  }

  .assortment__img{
    max-width: 156px;
  }

  .assortment{
    margin-bottom: 80px;
  }

  .reviews__item{
    flex-basis: 100%;
  }

  .reviews__item:last-child,
  .reviews__item:first-child{
      display: none;
  }

  .main-blog{
    padding: 50px 0;
  }
  
  .main-blog__item{
    display: block;
    max-width: 270px;
  }

  .main-blog__item-img{
    max-width: 100%;
  }

  .main-blog__item:nth-child(even){
    display: none;
  }

  .main-blog__list{
    justify-content: center;
  }

  .main-blog__item-title{
    min-height: auto;
  }

  .main-blog__item-author{
    margin-bottom: 10px;
  }

  .mailing-list__email{
    width: 191px;
  }

  .title{
    font-size: 28px;
    font-weight: 500;
  }

  .prioritise{
    padding: 50px 0;
  }

  .prioritise__title{
    font-size: 20px;
  }

  .prioritise__text{
    font-size: 10px;
    font-weight: 400;
  }

  .prioritise__list{
    gap: 40px 100px;
  }

  .footer__company{
    padding-right: 15px;
    margin-right: 0;
  }

  .footer__products{
    padding-right: 10px;
  }

  .footer__nav{
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__social{
    margin-left: auto;
    margin-right: auto;
  }
  .footer__social-list{
    margin-left: 0;
  }
}
