html{
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: #292929;
  font-size: 16px;
  line-height: 140%;
  margin: 0;
}

.logo {
  height: 16px;
}

h1{
margin: 0;
margin-top: 20px;
font-weight: 800;
font-style: Italic;
font-size: 32px;
line-height: 100%;
letter-spacing: -1.5px;
}

@media (width >= 720px) {
  .logo {
  height: 24px;
}
  }

@media (width >= 720px) {
  h1 {
  margin-top: 40px;
  font-size: 40px;
}
  }

@media (width >= 1200px) {
    h1 {
  font-size: 48px;
}
  }

.menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  transform: translateX(-100%);
  transition: transform 500ms;

  background-color: #E8EFF9;
  height: 100vh;
  padding: 64px 120px;
  box-sizing: border-box;

  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.menu:target {
  transform: translateX(0);
}

.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-logo {
  width: 190px;
}

.menu-button-close {
  height: 24px;
  width: 24px;
  display: block;
  background-image: url(images/icon-close.png);
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 60px;
  margin-inline: auto;
}

.nav-link {
  text-decoration: none;
  color: #292929;
}

.menu{
  font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: 22px;
line-height: 22px;
letter-spacing: 2px;
vertical-align: middle;
text-transform: uppercase;
  margin-inline: auto;
}

.menu-top{
  display: flex;
  justify-content: space-between;
}

.menu{
  padding: 32px 20px;
  height: 100vh;
  box-sizing: border-box;
}

.menu{
  background-color: #E8EFF9;
}

@media (width >= 720px) {
  .menu {
    padding: 64px 72px;
  }
}

@media (width >= 1200px) {
  .menu {
    padding: 64px 120px;
  }
}

nav{
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 64px;
}

.nav-link{
  text-decoration: none;
  color: #292929;
  font-family: Inter;
font-weight: 700;
font-size: 22px;
line-height: 22px;
letter-spacing: 2px;
text-transform: uppercase;
}

.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 20px;
  height: 100vh;
  box-sizing: border-box;
  background-image: url(images/header-mobile.png);
  background-size: cover;
}

@media (width >= 720px) {
  header {
    padding: 64px 72px;
  }
}

@media (width >= 1200px) {
  header {
    background-image: url(images/headphones-image-1.png);
    padding: 64px 120px;
    background-position: top center;
  }
}

.header-waves {
  width: 32px;
}

@media (width >=720px) {
  .header-waves {
    width: 64px;
  }
}

.header-top {
  display: flex;
  justify-content: space-between;
}

.menu-button {
  height: 24px;
  width: 24px;
  display: block;
  background-image: url(images/icon-burger-menu.png);
}

.menu-button:hover {
  background-image: url(images/icon-burger-menu-hover.png);
}

main{
  padding: 20px;
  background-color: #ffffff;
}

@media (width >= 720px) {
  main {
    padding: 72px;
  }
}

@media (width >= 1200px) {
  main {
    padding: 120px;
  }
}

.recommended{
  max-width: 1600px;
  margin-inline: auto;
}

.recommended-title {
  margin-bottom: 64px;
  text-align: center;
font-weight: 700;
font-size: 32px;
line-height: 32px;
letter-spacing: -1.5px;
}

@media (width >= 720px) {
  .recommended-title {
    font-size: 40px;
    line-height: 100%;
  }
}

@media (width >= 1200px) {
  .recommended-title {
    line-height: 48px;
    font-size: 48px;
  }
}

.product-title{
  margin: 0;
  margin-bottom: 8px;
font-weight: 700;
}

.product-description {
  margin: 0;
  margin-bottom: 12px;
}

.products {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (width >= 720px) {
  .products {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (width >= 1200px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-photo {
  width: 100%;
  padding-bottom: 32px;
}

.product-price {
  margin: 0;
  font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: 16px;
line-height: 140%;
letter-spacing: 0px;
}

.categories{
  max-width: 1600px;
  margin-inline: auto;
}

.category{
  margin-top: 64px;
}

.categories-title {
  margin-top: 120px;
  margin-bottom: 64px;
  text-align: center;
font-weight: 700;
font-size: 32px;
line-height: 32px;
letter-spacing: -1.5px;
}

@media (width >= 720px) {
  .categories-title {
    font-size: 40px;
    line-height: 100%;
  }
}

@media (width >= 1200px) {
  .categories-title {
    line-height: 48px;
    font-size: 48px;
  }
}

.photos {
  display: flex;
  justify-content: space-between;
}

.photo-wide {
  width: 49%;
  object-fit: cover;
}

.photo-square {
  width: 49%;
}

@media (width >= 720px) {
  .photo-wide {
    width: 66%;
  }

  .photo-square {
    width: 32%;
  }
}

.category-title{
  margin: 0;
  margin-top: 16px;
font-weight: 700;
font-size: 16px;
line-height: 140%;
}

@media (width >= 720px) {
  .category-title {
    font-size: 24px;
    line-height: 100%;
  }
}

@media (width >= 1200px) {
  .category-title {
    line-height: 140%;
    font-size: 24px;
  }
}

.benefits{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
    margin-top: 120px;
    margin-bottom: 120px;
  max-width: 1600px;
  margin-inline: auto;
}

@media (width >= 720px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 120px;
  }
}

.benefits-description{
  margin: 0;
  margin-top: 40px;
font-size: 16px;
line-height: 27px;
}

.benefits-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 700;
}

.benefits-title {
  margin: 0;
font-weight: 700;
font-size: 32px;
line-height: 32px;
letter-spacing: -1.5px;
}

@media (width >= 720px) {
  .benefits-title {
    font-size: 40px;
    line-height: 100%;
  }
}

@media (width >= 1200px) {
  .benefits-title {
    line-height: 48px;
    font-size: 48px;
  }
}

footer {
  position: sticky;
  bottom: 0;
  z-index: -1;
  height: 460px;
  background-image: url(images/footer.png);
  background-size: cover;
  background-position: top center;
  max-width: 740px;
  margin-inline: auto;
}

@media (width >= 720px) {
  footer {
    max-width: 1600px;
  }
}

section{
  max-width: 1600px;
  margin-inline: auto;
}