@font-face {
  font-family: LeagueSpartan;
  src: url(fonts/LeagueSpartan-VariableFont_wght.ttf);
}

:root {
  --black-color: black;
  --white-color: white;
  --grey-color: #7b7b7b;
  --line-height: 60px;
  --title-letter-spacing: 2px;
}

body {
  font-family: LeagueSpartan;
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.top-section {
  display: flex;
  width: 100%;
  height: 65%;
}
.bottom-section {
  display: flex;
  height: 35%;
  width: 100%;
}
/*Section 1*/
.nav-bar {
  display: flex;
  justify-content: space-between;
  width: 60%;
  padding: 3% 5%;
  box-sizing: border-box;
  color: var(--white-color);
}
.nav-title {
  font-size: 40px;
}
.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  width: 65%;
  padding: 0px;
  font-size: 18px;
}
.nav-links li:hover {
  border-bottom: 2px solid white;
  cursor: pointer;
}
.section1 {
  background-image: url(images/desktop-image-hero-1.jpg);
  background-size: cover;
  width: 60%;
}
.hamburger-container {
  display: none;
}
.nav-bar-hamburger {
  display: none;
}
/*Section 2*/
.section2 {
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  width: 40%;
  height: 100%;
  padding: 8% 6%;
}
.section2-holding-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7%;
}

.section2__title {
  font-size: 40px;
  letter-spacing: 2px;
  font-weight: bolder;
  line-height: 40px;
}
.section2__paragraph {
  line-height: 30px;
  color: var(--grey-color);
}
.section2__shop-now-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 16px;
  width: 65%;
  font-weight: 600;
}
.shop-now-image {
  width: 100%;
  flex-grow: 1;
}
.section1__left-right-button {
  position: absolute;

  background-color: var(--black-color);
  width: 32%;
  height: 13%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  display: none;
}
.section2__left-right-button {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--black-color);
  width: 32%;
  height: 13%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.leftarrow {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leftarrow:hover {
  background-color: #444444;
}
.rightarrow {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rightarrow:hover {
  background-color: #444444;
}
.arrow-general-image {
  width: 17%;
  height: 32%;
}
.section3 {
  background-image: url(images/image-about-dark.jpg);
  width: 28%;
  background-size: cover;
  height: 100%;
}

.section4 {
  width: 44%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8% 4%;
  gap: 20%;
}
.section4-title {
  letter-spacing: 8px;
  font-weight: bold;
}
.section4-paragraph {
  color: var(--grey-color);
  line-height: 30px;
}

.section5 {
  background-image: url(images/image-about-light.jpg);
  width: 28%;
  height: 100%;
  background-size: cover;
}

.mobile-nav-links {
  display: flex;
  width: 80%;
  justify-content: space-between;
  text-decoration: none;
  list-style: none;
  font-size: 18px;
}
.close-menu-image {
  display: inline-block;
  width: 20%;
}
.mobile-menu-overlay {
  display: flex;
  width: 100%;
  height: 10%;
  background-color: white;
  box-sizing: border-box;
  padding: 6%;
  font-weight: bold;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  z-index: 2000;
}
.close-image-x{
  width:20%;
}
.grey-overlay{
  height: 100%;
  display: none;
  width: 100%;
  background-color: #7f7f7f8a;
  z-index: 1700;
  position: fixed;
}
@media screen and (max-width: 1000px) {
  body {
    display: grid;
    grid-template-columns: 1fr;
    /* Stack sections in one column */
    grid-template-rows: 1fr 1fr;
    /* One row for each section */
    width: 100%;
  }

  .top-section {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-rows: 1fr 1fr;
    height: 100%;
    width: 100%;
  }
  .bottom-section {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    height: 100%;
    width: 100%;
  }
  .section3 {
    width: 100%;
    height: 100%;
  }

  .section4 {
    width: 100%;
  }

  .section5 {
    width: 100%;
    height: 100%;
  }
  .section1 {
    width: 100%;
    position: relative;
  }

  /*Section 2*/
  .section2 {
    width: 100%;
    height: 100%;
  }
  .section2__shop-now-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 16px;
    width: 55%;
    font-weight: 600;
  }

  .section2__left-right-button {
    display: none;
  }
  .section1__left-right-button {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--black-color);
    width: 32%;
    height: 17%;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .nav-bar-hamburger {
    display: flex;
    align-items: center;
    width: 65%;
    height: 40%;
  }
  .hamburger-container {
    display: flex;
    width: 10%;
    align-items: center;
  }
}
