@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap");
:root {
  /* Colors */

  /* Primary */
  --dark-gray: hsl(0, 0%, 63%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  --very-dark-gray: hsl(0, 0%, 27%);

  /* Font */
  --font: "League Spartan", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: var(--font);
}
body {
  position: relative;
  /* min-height: vh;   */
}
.hidden {
  display: none;
}

/* Desktop Start */
@media screen and (min-width: 600px) {
  #logo {
    position: absolute;
    z-index: 100;
    top: 3rem;
    left: 2rem;
  }
  nav {
    display: flex;
    flex-direction: row;
    position: absolute;
    z-index: 100;
    top: 3rem;
    left: 7rem;
    #actual_links {
      /* margin-left: 2rem; */
      transform: translateY(-2px);
      a:hover {
        text-decoration: underline;
        text-underline-offset: 5px;
      }
    }
    a {
      text-decoration: none;
      color: var(--white) !important;
      font-family: var(--font);
      font-size: larger;
      margin-left: 10px;
    }
  }
  main {
    display: flex;
    flex-direction: column;
    #stuff_that_changes {
      display: flex;
      /* grid-template-columns: 60% 40%; */
      flex-direction: row;
      height: 70vh;
    }
    #img_change {
      img {
        width: 110%;
        max-height: 100%;
      }
    }
    #move {
      position: absolute;
      bottom: 0;
      left: 4.8rem;
      display: flex;
      flex-direction: row;
      #move_left,
      #move_right {
        background-color: var(--black);
        cursor: pointer;
        width: 70px;
        height: 70px;
        border: none;
      }
      #move_left:hover,
      #move_right:hover {
        background-color: var(--very-dark-gray);
      }
    }
  }

  #about {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    /* bottom: 0; */
    overflow: hidden;
    max-height: 30vh;
    width: 100%;
    img {
      height: auto;
      max-height: 100%;
    }
    #left_About {
      float: right;
    }
    #about_title {
      margin-top: 3.5rem;
      margin-bottom: 0.7rem;
      font-weight: 700;
      font-size: 20px;
      letter-spacing: 5px;
      word-spacing: 10px;
      text-transform: uppercase;
    }
    #about_para {
      color: var(--dark-gray);
      width: 31rem;
      word-wrap: break-word;
    }
  }

  #text_part_for_margin {
    margin-left: 11rem;
    margin-top: 6rem;
  }
}
/* Desktop End */

/* Mobile Start */
@media only screen and (max-width: 600px) {
  #overlay {
    position: fixed;
    z-index: 50;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  body {
    display: flex;
    flex-direction: column;
  }
  #ham,
  #close {
    position: absolute;

    left: 3rem;
    width: 20px;
    height: 15px;
    z-index: 101;
  }
  #ham {
    top: 2.7em;
  }
  #close {
    top: 2.7em;
  }
  nav {
    position: absolute;
    background-color: var(--white);
    top: 1em;
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    height: 70px;
    align-items: center;
    z-index: 100;
    #actual_links {
      margin-right: 2em;
    }
    a {
      text-decoration: none;
      color: var(--black);
      font-family: var(--font);
      font-size: larger;
      margin-left: 10px;
    }
  }
  #logo {
    color: red;
    position: absolute;
    left: 45%;
    top: 3%;
    z-index: 49;
    width: 50px;
  }
  #image_change {
    object-fit: cover;
    translate: 0 -30px;
    z-index: 0;
  }
  #about {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  #left_About {
    object-fit: cover;
    width: 101vw;
  }
  img {
    width: 101%;
    height: auto;
    display: block;
  }
  #move {
    position: absolute;
    top: -90px;
    right: -4px;
    display: flex;
    flex-direction: row;
    #move_left,
    #move_right {
      background-color: var(--black);
      cursor: pointer;
      width: 60px;
      height: 60px;
      border: none;
      padding: 5px 5px;
      img {
        height: auto;
        width: auto;
        justify-self: center;
      }
    }
    #move_left:hover,
    #move_right:hover {
      background-color: var(--very-dark-gray);
    }
  }

  /* Mobile end */
  #shop_now {
    margin-left: 1.7em;
    margin-bottom: 3rem;
    a {
      display: flex;
      flex-direction: row;
      font-size: large;
      font-weight: 600;
    }
  }
  #about {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    #about_title {
      margin-top: 3.5rem;
      margin-bottom: 1rem;
      margin-left: 1.6em;
      font-weight: 700;
      font-size: large;
      letter-spacing: 5px;
      word-spacing: 10px;
      text-transform: uppercase;
    }
    #about_para {
      line-height: 20px;
      color: var(--dark-gray);
      word-wrap: break-word;
      margin-left: 1.5em;
      margin-bottom: 2em;
      font-size: large;
    }
  }
  #title {
    margin-left: 0.6em;
    width: auto;
    margin-bottom: 1rem;
  }
  #info_para {
    margin-left: 1.5em;
    margin-right: 1.5em;
    width: auto;
    font-size: large;
    margin-bottom: 3rem;
  }
}

#shop_now {
  background: none;
  outline: none;
  border: none;
  margin-top: 15px;
  letter-spacing: 8px;
  text-transform: uppercase;
  font-weight: 500;
}
a {
  text-decoration: none;
}
a:-webkit-any-link {
  color: black;
}
a:-webkit-any-link:hover {
  color: var(--dark-gray);
}
#text_and_btns {
  position: relative;
  display: block;
}
.title {
  font-size: 40px;
  font-weight: 700;
  word-wrap: normal;
  width: 25rem;
}
.info_para {
  margin-top: 20px;
  color: var(--dark-gray);
  line-height: 20px;
  width: 26rem;
  word-wrap: break-word;
}
