@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap');

 * {
    margin: 0;
    padding: 0 ;
    box-sizing: border-box;
    font-family: 'Kumbh Sans', sans-serif;
    }

  .flex {
    display: flex;
  }

  .heading {
    justify-content: space-around;
    height: 4rem;
    align-items: center;
  }

  .head {
    align-items: center;
  }

  .hide {
    display: none;
  }

  img{
   cursor: pointer;
  }

  #menu, .cart{
    width: 20px;
    height: 20px;   
  }

  #avatar {
    border-radius: 25px;
    width: 25px;
    height: 25px;
  }

  #avatar:hover {
    border: 2px solid hsl(26, 100%, 55%);
  }

  .cart, #menu{
    margin-right: 1rem ;
  }

  #cart-alert{
    width: 16px;
    height: 16px;
    background-color:hsl(26, 100%, 55%);
    border-radius: 25px;
    display: none;
    justify-content: center;
    position: absolute;
    top: 0.4rem;
    margin-left: 1rem;
  }

  #cart-alert p{
    color: #fff;
    font-size: 12px;
  }

  h2 {
    font-size: 15px;
    padding: 1rem;
  }

  .hr-line{
      background-color: lightgrey;
      width: auto;
      height: 1px;
      box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .cart-box-wrapper{
    display: flex;
    justify-content: center;
  }

  .cart-box {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    height: 200px;
    width: 300px;
    border-radius: 7px;
    z-index: 7;
    display: none;
    position: absolute;
    top: 4.5rem;
    z-index: 99999999;
  }

  .cart-product {
    width: 45px;
    height: 45px;
    border-radius: 5px;
    margin-right: 0.7rem;
  }

  .cart-details p{
    font-size: 14px;
    color: #68707d;
    font-weight: 600;
  }

  .cart-details > div {
    margin: 1rem;
  }

  .total-price {
    color: #000;
    padding: 0 0.5rem;
  }

  #delete-btn{
    width: 15px;
    height: 15px;
    margin-top: 1rem;
  }

  .cart-box-active{
      display: block;
  }

  .empty-cart{
    text-align: center;
    margin-top: 3.8rem;
  }

  .cart-details button {
    margin-top: 1.2rem;
    width: 100%;
    padding: 0.7rem;
  }
  
  #logo {
    width: 110px;
    height: 18px;
  } 

  .show-links {
    position: fixed;
    z-index: 99999;
    height: 100vh;
    width: 70vw;
    top: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  nav{
    overflow: hidden;
    height: 0;
    position: relative;
  }
  
  li {
    list-style-type: none;
    margin: 1rem 0;
  }

  li> a{
    text-decoration: none;
    color: #767676;
    font-weight: 400;  
  }
  
  li>a:hover{
    padding-left: 0.5rem;
    text-decoration: none;
  }
  
  #close-icon {
   position: absolute;
   top: 2rem;
   right: 2rem;
   cursor: pointer;
  }
  
  .overlay  {
    display: none;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    z-index: 9;
    min-height: 100vh;
    width: 100vw
  }

  .mobile-carousel {
    position: relative;
  }

  .carousel-photo{
    height: auto;
    width: 100%;
    margin: auto;
   }

  #content{
    padding: 2rem 1rem 5rem;
  }

  #content h6 {
    color: hsl(26, 100%, 55%);
    margin-bottom: 0.5rem;
  }

  #description{
    color: #767676;
    margin: 1rem 0;
    font-size: 15px;
    line-height: 1.5; 
 }

  .price {
    justify-content: space-between;
    align-items: center;
    margin: 1.7rem 0;
   }

  .price h1 {
    font-size: 30px;
  }

  #discount{
    margin: 0.3rem 0 0 2rem;
    color: hsl(26, 100%, 55%);
    background-color: hsl(25, 100%, 94%);
    height: 30px;
    width: 50px;
    text-align: center;
    font-weight: 700;
    border-radius: 5px;
    padding-top: 5px;
  }

  #slashed-price {
    color: #767676;
    text-decoration: line-through;
  }

  #cart-num{
    background-color: hsl(223, 64%, 98%);
    height: 3.5rem;
    justify-content: space-around;
    align-items: center;
    border-radius: 10px;
    margin: 1rem 0;
   }

  button{
    border: none;
    background-color: hsl(26, 100%, 55%);
    border-radius: 5px;
    color: hsl(0, 0%, 100%);
    padding: 1rem 2rem;
    width: 100%; 
    cursor: pointer; 
  }

  .product-photos{
    display: none;
  }

  .circle-wrapper{
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stack-over{
    display: none;
}

.mobile-carousel-photo {
    height: auto;
    width: 100%;
    margin: auto;
}

#previous, #next {
  cursor: pointer;
}

#previous, #next{
    position: absolute;
    top: 50%;  
    z-index: 9999;
}

#previous {
    left: 2rem;
}

#next{
    right: 2rem
}

  .hide-mobile {
    display: none;
  }

  #add-to-cart-btn {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .carousel2, .carousel {
    display: none;
  }

@media screen and (min-width: 768px) {
    #close-overlay-icon{
        position: absolute;
        top: -2rem;
        right: 0rem;
        width: 1.3rem;
        height: 1.3rem;
    }

.mobile-carousel{
  display: none;
}

  .btn {
    display: flex;
  }

  .flex-tab{
    display: flex;
    justify-content: space-evenly; 
    align-items: center;
    height: 100vh; 
  }

  nav{
    overflow: visible ;
 }

 .heading {
    justify-content: space-between;
    margin: 0 1rem;
    border-bottom: 1px solid lightgrey;
    height: 5rem;
  }

  #menu, #close-icon {
    display: none;
  }

  .header {
    position: relative;
  }

  nav ul  {
    display: flex;
    position: absolute;
    left: 10rem;
    top: 0.9rem;
  }

  nav ul li {
    padding-right: 1rem; 
  }

  #menu, .cart{
    width: 25px;
    height: 25px;   
  }

  .carousel{
    /*width: 45vw;*/
    display: flex;
    justify-content: center;
  }

  .carousel-active {
    position: absolute;
    top: 60%;
    transform: translate(0, -50%);
    z-index: 99;
  }

  .carousel2{
    display: none;
  }

  .carousel-photo{
   /* width: unset;*/
    width: 300px;
    border-radius: 10px;
    position: relative;
    display: block;
  }

  #content {
    width: 45vw;
    padding: unset;
  }

  button{
    width: unset;
  }

 .product-photos{
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }

 .product-photo {
    width: 65px;
    height: 65px;
    margin: 0.5rem;
    border-radius: 10px;
 }

 .cart-box {
  top: 4rem;
  right: 2rem;
}

.hide-mobile {
  display: block;
}


#cart-alert{
  top: 1rem;
  right: 3.5rem; 
}

#avatar {
  width: 40px;
  height: 40px;
}

#cart-num {
  width: 40%;
  margin-right: 0.1rem;
}

#add-to-cart-btn {
  margin: 1.1rem;
  padding: unset;
  width: 60%;
}
}

@media screen and (min-width: 990px) {

    #close-overlay-icon{
        right: 2rem;
    } 
  h6 {
    font-size: 14px;
  }

  .carousel{
    width: 40vw;
  }

 .flex-tab {
   justify-content: center;
 }

 #content {
  width: 30vw;
}

#add-to-cart-btn span {
    font-size: 16px;
}
}

@media screen and (min-width: 1200px) {
.product-photo {
    width: 90px;
    height: 90px;
 }

 .carousel-photo{
  width: 400px;
 }
}

@media screen and (min-width: 1400px) {
  main,
  header {
    max-width: 1320px;
    margin: auto;
  }
}







