/* #region global settings */
* {
  margin: 0;
  padding: 0;
}
body {  
  font-family: "Inter",sans-serif;
  color: #292929;
}
html {
  scroll-behavior: smooth;
}
/* #endregion */

/* #region heder */ 
.header {
  display: flex;
  /* display: none; */
  flex-direction: column;
  justify-content: space-between;  
  padding: 64px 120px;
  background-image: url("img/Headphones-image-1.png");  
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  box-sizing: border-box;
}

.heder_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_bottom_text {
  margin-top: 40px;
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 48px; 
  line-height: 100%;
  letter-spacing: -1.5px;
  color: #292929;
}
/* #endregion */

/* #region menu */

.menu {   
  /* display: none; */
  
  position: fixed;
  top: 0px; 
  right: 0px;
  left: 0px;
  transform: translateX(-100%);
  transition: transform 500ms;
  background-color: #e8eff9;
  padding: 64px 120px;
  box-sizing: border-box;
  min-height: 100vh;
}

.menu:target{
  transform: translateX(0%);
}

.menu_top {
  display: flex;
  justify-content: space-between;  
}

.menu_nav {
  display: flex;
  flex-direction: column;
  margin-top: 64px;
  gap: 32px;
}

.menu_nav_link {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;  
  line-height: 22px;  
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #292929;  
  text-decoration: none;
}
/* #endregion */


/* #region main */
.main {
  padding: 120px;
  box-sizing: border-box;
  background-color: white;
}
/* #region main recomended */
.main_recomended {
  margin-bottom: 120px;
}
.main_recomended_title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;  
  line-height: 100%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #292929;
  margin-bottom: 64px;
}
.main_recomended_products {
  display: flex;
  justify-content: center;  
  gap: 24px;
}

.products_photo {
  width: 100%;
  margin-bottom: 32px;
}

.products_title {  
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  margin-bottom: 8px;
}

.products_category {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  margin-bottom: 12px;
}

.products_price {
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
}
/* #endregion */
/* #region main category */
.main_categoryes{
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 120px;
}

.main_categoryes_title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px; 
  line-height: 100%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #292929;
  margin-bottom: 64px;
}

.category {
  margin-bottom: 64px;
}

.category_photos {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3%;
  margin-bottom: 16px;
}
.photos_wide {
  width: 65%;
}
.photos_square{
  width: 32%;
}
.categoryes_title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;  
  line-height: 140%;
  color: #292929;
}

/* #endregion */

/* #region main how-to-buy */

.main_how-to-buy {
  display: flex;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.how-tow-buy {
  flex-basis: 50%;
}
.main_how-to-buy_title {
  flex-basis: 50%;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;  
  line-height: 100%;
  letter-spacing: -0.03em;
  color: #292929;
}

.how-to-buy-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 40px;
}

.how-to-buy-content {
  font-weight: 400;
  font-size: 16px;    
  line-height: 169%;
}
/* #endregion */
/* #endregion */
.footer {
  position: sticky;
  bottom: 0;
  z-index: -1;
  background-image: url("img/footer.png");
  background-repeat: no-repeat;
  background-size: cover;
  height: 460px;
}
@media screen and (max-width: 500px) {

  .header {   
    padding: 32px 20px;
    background-image: url("img/mobile/background_header_mobile.png");    
  }

  .header_bottom_text {
    font-size: 32px;
  }

  .menu {
    padding: 36px 20px;
    margin: 0 auto;
  }
  .menu-top-logo {
    width:127px;
    height: 16px;
  }

  .main {
    padding: 120px 20px;
  }
  
  .main_recomended_title {
    font-size: 32px;
  }
  .main_recomended_products {
    flex-direction: column;
  }
  
  .main_categoryes_title {
    font-size: 32px;
  }
  .main_how-to-buy {
    flex-direction: column;
  }
  .main_how-to-buy_title {
    font-size: 32px;
  }
  .footer {
    background-image: url("img/mobile/footer_mobile.png");
    height: 200px;
  }
   
  
}