body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Kumbh Sans", sans-serif;
  --Orange: hsl(26, 100%, 55%);
  --Pale-orange: hsl(25, 100%, 94%);
  --Very-dark-blue: hsl(220, 13%, 13%);
  --Dark-grayish-blue: hsl(219, 9%, 45%);
  --Grayish-blue: hsl(220, 14%, 75%);
  --Light-grayish-blue: hsl(223, 64%, 98%);
  --White: hsl(0, 0%, 100%);
  --Black: hsl(0, 0%, 0%);
  overflow-x: hidden;
}
body.overlay-active {
  display: block;
  overflow: hidden;
}
.wrapper {
  flex-direction: column;
  width: 100%;
  display: flex;
}
.header {
  padding: 19px;
  margin-left: 200px;
  margin-right: 130px;
  display: flex;
}
.nav {
  display: flex;
}
.logo {
  width: 140px;
  height: 40px;
  margin-right: 35px;
}
.nav-text {
  margin-right: 30px;
  color: var(--Dark-grayish-blue);
  cursor: pointer;
}
.nav-text:hover {
  background-color: #cacaca;
}

.profile {
  margin-left: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile .pb-pic {
  width: 50%;
}
.profile .cart {
  margin-right: 30px;
  width: 30px;
  cursor: pointer;
}
.product {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-content {
  max-width: 900px;
  display: flex;
  width: 80%;
  height: 50%;
}

.product-img img {
  border-radius: 20px;
  width: 430px;
}
.product-preview {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
}
.product-preview img {
  border-radius: 20px;
  width: 90px;
  cursor: pointer;
}
.product-preview img:hover {
  outline: 5px var(--Orange) solid;
}
.right {
  display: flex;
  flex-direction: column;
  margin-left: 60px;
}
.company {
  color: var(--Orange);
}
.product-text {
  color: var(--Dark-grayish-blue);
}
.prize {
  display: flex;
  flex-direction: column;
}
.prizetop {
  display: flex;
  align-items: center;
}
.prizenew {
  font-weight: 700;
  font-size: 26px;
}
.product-img {
  background: url("images/image-product-1.jpg") no-repeat no-repeat;
  height: 400px;
  width: 400px;
  background-size: 400px;
}
.discount {
  margin-left: 14px;
  font-weight: 700;
  color: var(--Orange);
}
.prizeold {
  margin-top: 10px;
  text-decoration: line-through;
  color: hsl(216, 11%, 57%);
}
.add-cart {
  display: flex;
  align-items: center;
  margin-top: 60px;
}

.counter-container {
  display: flex;
  background-color: var(--Light-grayish-blue);
}
#less {
  padding: 15px;
  cursor: pointer;
  align-self: center;
}
#counter {
  padding: 15px;
  align-self: center;
}
#more {
  padding: 15px;
  cursor: pointer;
  align-self: center;
}
#add {
  height: fit-content;
  cursor: pointer;
  display: flex;
  color: var(--White);
  border-radius: 15px;
  background-color: var(--Orange);
  padding: 15px 45px 15px 45px;
}
#add:hover {
  background-color: hsl(26, 68%, 45%);
}
#add img {
  margin-right: 10px;
}

#cart {
  display: none;
  flex-direction: column;
  position: absolute;
  right: 0;
  margin-top: 60px;
  margin-right: 130px;
  width: 330px;
  box-shadow: 1px 1px 5px #0000006e;
  height: 180px;
  background: var(--White);
}
#cart-preview {
  margin-left: 7px;
  width: 50px;
  border-radius: 8px;
}
.cart-text {
  font-weight: 700;
  margin-bottom: 20px;
  padding: 10px;
  border-bottom: 2px #d6d6d6 solid;
}
.cart-content {
  text-align: center;
  align-items: center;
}
#empty {
  display: block;
}
#full {
  display: none;
}
.cart-top {
  display: flex;
}
.cart-text-container {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
}
.cart-bottom {
  border-radius: 30px;
  background-color: var(--Orange);
  padding: 5px;
  margin-top: 5px;
  color: white;
  margin-left: 30px;
  margin-right: 30px;
  cursor: pointer;
}
.cart-bottom:hover {
  background-color: hsl(26, 68%, 45%);
}
.cart-text-container-bottom {
  display: flex;
  margin: auto;
}
#nav-overlay {
  display: none;
}
#remove {
  width: 30px;
  margin-right: 10px;
  cursor: pointer;
}
.menu-icon {
  display: none;
}

#previous {
  display: none;
}
#next {
  display: none;
}

#cart-containing {
  display: none;
  position: absolute;
  margin-right: 100px;
  margin-bottom: 45px;
  background-color: orange;
  padding: 3px 8px 3px 8px;
  font-size: 10px;
  border-radius: 20px;
}

@media only screen and (max-width: 999px) {
  .nav-text {
    display: none;
  }
  .nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .product-content {
    flex-direction: column;
    width: 400px;
    justify-content: center;
    align-items: center;
  }
  .product-img img {
    border-radius: 20px;
    width: 370px;
  }
  #product-img {
    justify-content: center;
    align-items: center;
    display: flex;
    height: 370px;
    width: 370px;
    background: url("images/image-product-1.jpg") no-repeat no-repeat;
    background-size: 370px;
  }
  #previous {
    cursor: pointer;
    height: 30px;
    display: block;
    position: relative;
    width: 40px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 70px;
  }
  #previous img {
    width: 20px;
  }
  #next {
    cursor: pointer;
    display: block;
    height: 30px;
    position: relative;
    width: 40px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 70px;
    right: 0;
  }
  #next img {
    width: 20px;
  }
  #cart-containing {
    display: none;
    position: absolute;
    margin-right: 100px;
    margin-bottom: 45px;
    background-color: orange;
    padding: 3px 8px 3px 8px;
    font-size: 10px;
    border-radius: 20px;
  }
  .product-preview {
    display: none;
  }
  .product-text {
    padding-right: 25px;
  }
  .right {
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 0;
  }
  .add-cart {
    flex-direction: column;
    margin-top: 30px;
    justify-content: center;
  }
  .menu-icon {
    display: block;
  }
  .menu-icon {
    width: 30px;
    height: 30px;
    margin-right: 20px;
  }

  #less {
    padding: 15px;
    cursor: pointer;
    font-size: 30px;
    margin-bottom: 6px;
  }
  #counter {
    padding: 15px;
    padding-left: 110px;
    padding-right: 110px;
    font-size: 20px;
  }
  #more {
    padding: 15px;
    cursor: pointer;
    font-size: 30px;
    margin-bottom: 6px;
  }
  #add {
    cursor: pointer;
    display: flex;
    color: var(--White);
    border-radius: 15px;
    background-color: var(--Orange);
    padding: 20px 65px 20px 65px;
    margin-top: 16px;
  }
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }

  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.89);
    overflow-x: hidden;
    transition: 0.5s;
  }
  .header {
    margin-left: auto;
    margin-right: auto;
  }

  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }

  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }

  .overlay a:hover,
  .overlay a:focus {
    color: #f1f1f1;
  }

  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: white;
  }

  #cart {
    margin-right: 40px;
  }
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
