
@font-face {
    font-family:'KumbhSans' ;
    src: url(./font/KumbhSans-VariableFont_YOPQ\,wght.ttf);
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:'KumbhSans' ;
}
main{
    display: flex;
    flex-direction: column;
    padding: 3% 10%;
    gap: 3rem;
}
.desktop-nav{
    display: flex;
    gap: 20rem;
    align-items: center;
    padding-bottom: 4%;
}
.desktop-nav ul{
    display: flex;
    gap: 1rem;
    list-style: none;
}
.desktop-nav li a{
    text-decoration: none;
    color:  hsl(220, 14%, 75%);
}
.desktop-nav ul li a::before{
    transition: 0.3s ease-in-out; 
    content:' ' ;
    width: 0%;
    height: 3px;
    background: hsl(26, 100%, 55%);
    position: absolute;
    top: 120px;
    transition: width 0.5s;
}
.desktop-nav li:hover ::before{
width: 4.2%;
}
.desktop-nav span{
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.holder-nav{
    display: flex;
    gap: 4rem;
}
#menu{
    display: none;
}
#close{
    display: none;
}
#avater{
    width: 2rem;
}
#avater:hover{
    border: solid 2px  hsl(26, 100%, 55%);
    border-radius: 50%;
    cursor: pointer;
}
#cartButton:hover{
    cursor: pointer;
}

.cart{
    width: 100%;
    display: flex;
    flex-direction: column;
    h4{
        align-self: flex-start;
    }
    hr{
        justify-self: start;
        width: 117%;
    }
}
.cartDetailsContainer{
    padding-top: 10%;
    display: flex;
    width: 100%;
    flex-direction: column; 
}
.cartDetailsContainer button{
    width: 100%;
    background-color: hsl(26, 100%, 55%);
    margin-top: 0.5rem;
    padding: 0.9rem;
    border: none;
    border-radius: 8px;
}
.cartItemTotal{
    width: 100%;
    display: flex;
    gap: 0.5rem;
}
.cartDetailsContainer img{
    width: 40px;
    border-radius: 3px;
  
}
.cartItemDesc{
    color:  hsl(219, 9%, 45%);
    b{
        color: black;
    }
}
.cartItemDesc,
h4{
    font-size: 12px;
}
.cartItemsHolder{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

#deleteCart{
    width: 12px;
}
#cartItems{
    display: flex;
    flex-direction: column;
    display: none;
    width: 20dvw;
    height: 30dvh;
    position: absolute;
    padding: 1.5%;
    background-color: white;
    z-index: 5;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 grey;
    top: 120px;
    right: 200px;

    p{
        padding: 15% 15%; 
    }
   
}
#notification{
    display: none;
    padding: 0.5% 0.6%;
    width:20px;
    height: 15px;
    text-align: center;
    background-color:hsl(26, 100%, 55%);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    position: fixed;
    top:40px ;
    right: 335px;
}

.mobile-display{
    display: none;
}
article{
    display: flex;
    padding: 0 3%;
}
.card_Right{
    display: flex;
    flex-direction: column;
    flex-basis: 40%;
    gap: 0.8rem;
}
.card_Right #product-1 img{
   width: 80%;
   border-radius: 8px;
}
.card_Right .thumbnail-hollder{
    display: flex;
    gap: 1rem;
}
.card_Right .thumbnail-hollder{
    width: 80%;
}
.card_Right .thumbnail-hollder figure img{
    width: 100%;
    border-radius: 8px;
  
}
.card_Right .thumbnail-hollder figure img:hover{
    
        opacity: 0.5;
        cursor: pointer;
}
#product_Click_1{
    border: solid  3px hsl(26, 100%, 55%);
    opacity: 0.5;
}
.lightbox{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}
.lightBoxtotal{
    margin-top: 4rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
#closeLightBox{
    position: absolute;
    top: 40px;
    right: 450px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
#lightBoxMain{
    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox-main-image{
    width: 400px;
    border-radius: 10px;
}
.lightbox-thumbnails{
    display: flex;
    align-items: center;
    padding: 3% 17%;
    gap: 1rem;
}
.lightbox-thumbnail{
    border-radius: 8px;
    height: 70px;
    width: 80px;
}
.btnCircle{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
 
}
.next{
    position: relative;
    right: 20px;
}
.previous{
    position: relative;
    left: 20px;

}

.card_Left{
    display: flex;
    flex-direction: column;
    flex-basis: 60%;
    gap: 1rem;
    h1{
        font-size: 40px;
        width: 70%;
        font-weight: bolder;
        color:  hsl(220, 13%, 13%);
    }
    h4{
        color: hsl(219, 9%, 45%) ;
        font-size: 13px;
    }
    p{
        width: 70%;
        line-height: 1.5rem;
        color: hsl(219, 9%, 45%) ;
    }
    .price{
        display: flex;
        flex-direction: column;
        span{
            display: flex;
            justify-items: space-between;
            width: 30%;
            p{
                font-size: 20px;
                font-weight: bolder;
                color:  hsl(220, 13%, 13%);
            }
            button{
                padding: 1% 4%;
                color: hsl(0, 0%, 100%);
                background-color:  hsl(220, 13%, 13%);
                border: none;
                border-radius: 5px;
    
            }
        }

    }
}
#cartnumber{
    color:  hsl(220, 13%, 13%);
    font-size: 13px;
}
.card_Left,
.number-holder{
    display: flex;
    gap: 1rem;
    figcaption{
        display: flex;
        align-items: center;
        gap: 1rem;
        background-color:  hsl(223, 64%, 98%);
        padding: 1% 3%;
        border-radius: 5px;

    }
    #decrenent:hover{
        cursor: pointer;
    }
    #increment:hover{
        cursor: pointer;
    }
    button{
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1% 5%;
        border: none;
        background-color: hsl(26, 100%, 55%);
        border-radius: 5px;
       
        figure{
            display: flex;
            align-items: center;
        }
        a{
            text-decoration: none;
            color:  hsl(220, 13%, 13%);
            font-weight: bold;
            margin-left: 0.8rem;

        }
    }
    button:hover{
      
        cursor: pointer;
        color:  hsl(220, 13%, 13%);
    }
}
.overlay{
    display:none;
    position: fixed;
    left: 0;
    top: 0;
    background-color: hsla(0, 0%, 0%,75%);
    width: 100%;
    height: 100%;
    z-index: 5;
}
@media screen and (max-width: 768px) {
    main{
        width: 100vw;
        padding: 3% 0;
        gap: 1rem;
    }
    nav hr{
        display: none;
    }
    .desktop-nav{
        display: flex;
        gap: 6rem;
        padding-bottom: 0%;
        padding: 0 4%;
    }
    .desktop-nav ul{
        display: none;
    }
    #close{
        display: block;
    }    
    .mobile-display{
       
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
       background-color: hsl(0, 0%, 100%);
       height: 100vh;
       width: 60vw;
       z-index: 10;
       padding: 7% 5%;
       position: fixed;
       bottom: 0.2rem;
       display: none;
    }
    .mobile-display img{
        width: 18px;
    }
    .mobile-display ul{
        display: flex;
        flex-direction: column;
        gap: 1rem;
        list-style: none;
    }
    .mobile-display li a{
        text-decoration: none;
        color:  hsl(220, 13%, 13%);
    }
    .holder-nav{
        display: flex;
        gap: 1rem;
    }
    #menu{
        width: 25px;
        height: 20px;
        display: block;
    }
    .cart hr{
        display: flex;
        width: 100%;
    }
    .cart h4{
        font-size: 20px;
        padding-bottom: 1rem;
    }
    #cartItems{
        width: 90vw;
        height: 35dvh;
        position: absolute;
        top: 90px;
        right: 20px;
        padding: 1.2rem;
        p{
            font-size: 25px;
        }
    
    }
    .cartDetailsContainer img{
        width: 50px;
        border-radius: 3px;
      
    }
    .cartItemDesc,
    h4{
        font-size: 17px;
    }
     .cartDetailsContainer{
        padding-top: 6%;
  
    }
    #deleteCart{
        width: 15px;
    }


    #notification{
        padding: 0.5% 2%;
        width:20px;
        height: 15px;
        position: absolute;
        top:10px ;
        right: 70px;
    }
    article{
        display: flex;
        flex-direction: column;
        width: 100vw;
        padding: 0 0;   
    }
    .card_Right{
        width: 100vw;
        display: flex;
        flex-basis: 100%;

    }
    .card_Right #product-1 img{
       display: none;
     }
     .card_Right .thumbnail-hollder{
      display: none;
     }
     .card_Right .thumbnail-hollder{
       display: none;
     }
     .card_Right .thumbnail-hollder figure img{
      display: none;
       
     }

    .lightbox{
        position: relative;
        padding: 0 0;
        margin: 0 0 ;
        width: 100vw;
        border-radius: 0px;
        display: flex;
        z-index: 0;
    }
    .lightBoxtotal{
        margin: 0;
        width: 100vw;
    }
    .lightbox-thumbnail{
        display: none;
    }
    #lightBoxMain{
        width: 100%;
    }
    .lightbox-main-image{
        border-radius: 0;
        width: 100%;
    }
    #closeLightBox{
        display: none;
    }

    .next{
        position: absolute;
        right: 7px;
    }
    .previous{
        position: absolute;
        left: 7px;
    }

    .card_Left{
        width: 100%;
        padding: 4% 6%;
        gap: 1.5rem;
        h4{
            font-size: 20px;
        }
        h1{
            font-size: 30px;
            width: 100%;
        }
        p{
            width: 100%;
        }
        .price{
            display: flex;
            flex-direction: row;
            justify-content:space-between ;
          span{
                display: flex;
                gap: 1rem;
                p{
                    font-size: 30px;
                }
                button{
                    padding: 3% 10%;
                    border-radius: 5px;
        
                }
          }
        }
    }
     .card_Left,
     .number-holder{
        display: flex;
        flex-direction: column;
        width: 100%;
    figcaption{
        padding: 4% 4%;
    
    }
    #increment{
        width: 50%;
        text-align: right;
    }
    #decrenent{
        width: 50%;
    }

    #cartnumber{
        width: 10%;
    }

    button{
        padding: 5% 5%;
        border-radius: 8px;
        font-size: 17px;
        figure{
           margin: auto;
        }
    }

    }
}


