html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: "Inter",sans-serif;
  color: #292929;
  line-height: 148%;
  font-size: 16px;

}
.main{
  position: relative;
  padding: 120px;
  background-color: white;
  z-index: 2;
}
@media (max-width:1024px) {
  .main{
    padding: 120px 72px;
    

  }
  
}
@media (max-width:576px) {
  .main{
    padding: 120px 20px;
    
    
  }
  
}



/* #region header */
header{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  height: 100vh;
  padding: 64px 64px 0 120px;
  background-image: url(../images/header-bg.png);
  background-repeat: no-repeat;
}
@media (max-width:1024px) {
  header{
    padding: 64px 72px;
    background-image: url(../images/header-bg-small.png);

  }
  
}
@media (max-width:576px) {
  header{
    padding: 32px 20px;
    background-position: 0 0;
    
  }
  
}


.header__title{
   
margin-top: 40px;
margin-bottom: 40px;  
font-size: 48px;
font-weight: 800;
font-style: italic;
line-height: 100%;
letter-spacing: -1.5px;

}

.header__top {
  display: flex;
  justify-content: space-between;
  
  }
@media (max-width:1024px) {
    .header__title{
      font-size: 40px;
      
    }
    
  }
 
  @media (max-width:576px) {
    .header__title{
      font-size: 32px;
      
    }
    
  }  
  
/* #endregion  */

/* #region menu */
.menu{
   position: fixed;
    
    top: 0;
    right: 0;
    left: 0;
    
    transition: transform 500ms;
    transform: translateX(-100%);
    z-index: 10;
    background-color:#E8EFF9;
    padding: 64px 64px 0 120px; 
    height: 100vh;
  }

  @media (max-width:1024px) {
    .menu{
      padding: 64px 72px;
      
    }
    
  }
  @media (max-width:576px) {
    .menu{
      padding: 32px 20px;
      background-position: 0 0;
      
    }
    
  }

  .menu:target{
    transform: translateX(0%);
  }
  
.menu__images{
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 64px;
      
}

@media (max-width:576px) {
  .menu__images{
    margin-bottom: 32px;
  }
}
/* #endregion */

/* #region nav */

.nav{
  padding: 0;
  gap:32px;
  display: flex;
  flex-direction: column;

  
} 
.nav__link{
  color: black;
  text-decoration: none;
  font-size: 22px;
  line-height: 22px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  color: #292929;

}
.nav__link:hover{
  text-decoration: underline;

}

/* #endregion */

/* #region categories */
.recommended__title{
  margin-top: 0;
  margin-bottom: 64px;

font-size: 48px;
font-weight: 700;
line-height: 100%;
letter-spacing: -1.5px;
text-align: center;

}
.recommended{
  margin-bottom: 120px;
}


.categories__title{
  margin-bottom: 64px;
  margin-top: 0px;
  font-size: 48px;
  font-weight: 700;
  text-align: center ;
  line-height: 100%;
letter-spacing: -1.5px;
}



.product{
  flex-basis: 324px;
}
.recommended__products{
  display: flex;
  gap: 24px;
  justify-content: first baseline;
  justify-content: center;
}
@media (max-width:1024px) {
  .recommended__products{
   flex-direction: column;
   align-items: center;
    
  }
  
}
@media (max-width:576px) {
  .recommended__products{
    align-items: stretch;
  }
  
}
.product__photo{
  width: 100%;
  margin-bottom: 32px;
}
.product__link {
  color: inherit;
  text-decoration: none;
}
.product__link:hover {
  text-decoration: underline;
}

.product__title{
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 140%;
}
.product__category{
  margin-top: 0;
  margin-bottom: 12px;
}
.product__price{
  margin: 0;
  font-weight: bold;
}
.categories{
  margin: 0 auto;
  max-width: 1020px;
  margin-bottom: 64px;
}
.category__photos{
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 3%;
}
.category__title{
  margin: 0;
}
.photo-wide{
  width: 65%;
  object-fit: cover;
}
.photo_square{
  width: 32%;
  object-fit: cover;
}
@media(max-width:576px){
  .photo-wide{
    width: 48.5%;
  }
  .photo_square{
    width: 48.5%;
  }
}

.how-to-buy{
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  
}
@media(max-width:576px){
  .how-to-buy{
    display: block;
  }
}
.how-to-buy__content{
  flex-basis: 50%;
}
.how-to-buy__title{
  flex-basis: 50%;
  margin-top: 0px;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 64px; 
  line-height: 100%;
letter-spacing: -1.5px;
}
@media(max-width:1024px){
  .how-to-buy__title{
    font-size: 40px;
  }
}
@media(max-width:576px){
  .how-to-buy__title{
    font-size: 32px;
  }
}

.how-to-buy__benefits{
  display: flex;
  gap: 16px;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  
  margin-bottom: 40px;
  font-weight: bold;
}
/* #endregion */

.footer{
  position: relative;
  
  position: sticky;
  bottom: 0;

  height: 460px;
  background-image: url(../images/footer-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 1;
  
  
}



.logo{
  height: 24px;
}

.accesibility_link{
  position: absolute;
  top: 16px;
  right: 16px;
  color: #0d10b7;
  text-decoration: none;
  font-size: 14px;
}

@media(max-width:576){
  .logo{
    height: 16px;
  }
}