*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --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%);
    --Orange: hsl(26, 100%, 55%);
}

body{
    font-family: 'kumbh', sans-serif;
}

/*beginning of nav bar*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.overlay.active{
    display: flex;
}


nav{
    background-color: var(--White);
    box-shadow: 3px 3px 5px rgb(0, 0, 0, 0.1);
    padding: 0 25px;
    width: 100%;
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

nav li{
    height: 100px;
    
}


nav a{
    width: 100%;
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--Dark-grayish-blue);
}


.hide:hover{
    background-color: var(--Light-grayish-blue);
    border-bottom: 2px solid var(--Orange);
}

.menu{
    display: none;
}

.end{
    display: flex;
    margin-left: auto;
    
}

.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: var(--White);
    backdrop-filter: contrast(10%);
    box-shadow: -10px 0 10px rgb(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}


.avatar img:hover{
    border: 2px solid var(--Orange);
    cursor: pointer;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .hide{
        display: none;
    }

    .menu{
        display: flex;
    }
}
/*end of nav bar*/

/*beginning of body*/
.section1{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.container{
    background-color: var(--White);
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1060px;
}



.sneak-img{
    margin: 10px;
    width: 50%;
    padding: 20px;
}

.container .sneak-img img{
    width: 100%;
    border-radius: 15px;
}

.container .sneak-img .arrow{
    display: none;
    position: absolute;
    top: 30%;
    background: var(--White);
    padding: 13px;
    border-radius: 50%;
    cursor: pointer;
}

.container .sneak-img .arrow img{
    width: 20px;
    height: 20px;
}

.container .sneak-img .previous{
    left: 8%;
}

.container .sneak-img .next{
    right: 8%;
}

.sneak-img .thumbnail img{
    width: 107px;
    height: 107px;
    margin: 3px;
    cursor: pointer;
}

.sneak-img .thumbnail img:hover{
    opacity: 0.5;
    border: 2px solid var(--Orange);
}

.sneakers{
    margin-bottom: 20px;
}


.sneakers{
    display: none;
}

.sneaker .active{
    display: flex;
}


@media (max-width: 1060px){
    .container{
        max-width: 770px;
    }

    .sneak-img .thumbnail img{
        width: 70px;
        height: 70px;
    }
}


@media (max-width: 768px) {
    .container{
        flex-direction: column;
    }

    .sneak-img{
        width: 100%;
        padding: 0;
    }

    .container .sneak-img .arrow{
        display: block;
    }

    .thumbnail{
        display: none;
    }
}

.section2 .overlay{
    z-index: 998;
}


.light-box{
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    top: 7%;
    left: 33%;
    min-height: 100vh;
    max-width: 660px;
    width: 100%;
    z-index: 999;
    
}

.light-box.active{
    display: flex;
}

.light-box .icon-close{
    position: absolute;
    top: 11%;
    right: 8%;
    cursor: pointer;
}

.light-box .lightbox-img img{
    position: relative;
    width: 560px;
    height: 560px;
    border-radius: 13px;
}


.lightbox-sneakers{
    display: none;
}

.lightbox-img .active{
    display: flex;
}

.lightbox-thumbnail img{
    width: 100px;
    height: 100px;
    margin: 8px;
    border-radius: 13px;
    cursor: pointer;
}

.lightbox-thumbnail img:hover{
    opacity: 0.5;
    border: 2px solid var(--Orange);
}

.lightbox-thumbnail img.active{
    opacity: 0.5;
    border: 2px solid var(--Orange);
}

.light-box .lightbox-arrow{
    display: flex;
    position: absolute;
    top: 40%;
    background: var(--White);
    padding: 15px;
    border-radius: 100%;
    cursor: pointer;
}

.light-box .lightbox-arrow img{
    width: 13px;
    height: 13px;
}

.light-box .previous{
    left: 4%;
}

.light-box .next{
    right: 4%;
}

@media (max-width: 768px) {
    .light-box{
        display: none;
    }

    .light-box.active{
        display: none;
    }

    .section2 .overlay.active{
        display: none;
    }
}


.write-up{
    position: relative;
    max-width: 50%;
    width: 100%;
    padding: 0 45px;
    height: 100%;
}

.write-up .head{
    text-transform: uppercase;
    font-weight: 700;
    color: var(--Dark-grayish-blue);
    font-size: 1rem;
    letter-spacing: .4rem;

}

.write-up h1{
    font-size: 2.5em;
    padding: 20px 0;

}


.write-up .low{
    color: var(--Dark-grayish-blue);
    padding-bottom: 25px;
    line-height: 30px;
}

.write-up .amount{
    display: flex;
    flex-direction: column;
}

.write-up .amount .discount{
    display: flex;
    color: var(--black);
    font-weight: 700;
    font-size: 1.5em;
}

.write-up .amount .discount p{
    margin: 5px;
}

.write-up .amount .discount p:last-child{
    background-color: var(--black);
    color: var(--White);
    font-weight: 500;
    font-size: .7rem;
    padding: 3px 7px;
    border-radius: 5px;
    align-self: center;
}

.write-up .amount .actual{
    color: var(--Dark-grayish-blue);
    text-decoration-line: line-through;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 20px;
}

.buttons{
    display: flex;
    /* justify-content: center; */
    align-items: center;
    
}

.input{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--Light-grayish-blue);
    height: 30px;
    padding: 15px 30px;
    border-radius: 10px;
}

.input #increaseBtn img{
    width: 10px;
    height: 10px;
    cursor: pointer;
}

.input .numInput{
    padding: 13px 45px;
}

.input #decreaseBtn img{
    height: 5px;
    cursor: pointer;
}

button{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 17px 65px;
    margin: 10px;
    place-content: center;
    color: var(--black);
    font-weight: 600;
    font-size: .7rem;
    background-color: var(--Orange);
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.buttons button img{
    width: 15px;
    height: 15px;
    margin-right: 8px;
}

@media (max-width: 768px) {

    .write-up{
        max-width: 100%;
    }

    .write-up .amount{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .buttons{
        flex-direction: column;
        width: 100%;
        align-items: normal;
    }
}

.cart{
    position: absolute;
    padding: 15px;
    top: 8%;
    right: 2%;
    min-width: 360px;
    min-height: 260px;
    background: var(--White);
    display: none;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}


.cart.active{
    display: flex;
    flex-direction: column;
}



.empty{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 185px;
    color: var(--Grayish-blue);
    font-weight: 700;

}

.quantity{
    display: none;
    cursor: pointer;
    position: absolute;
    top: -45px;
    right: 85px;
    width: 20px;
    height: 20px;
    background-color: var(--Orange);
    color: var(--White);
    border-radius: 10px;
    font-size: .9rem;
    padding: 0 6px;
}

.quantity.active{
    display: flex;
}

@media (max-width: 1375px){
    .quantity{
        top: -40px;
        right: 95px;
    }
}

@media (max-width: 991px) and (min-width: 837px){
    .quantity{
        top: -40px;
        right: 97px;
    }
}

@media (max-width: 838px) and (min-width: 769px){
    .quantity{
        top: -40px;
        right: 35px;
    }
}

@media (max-width: 768px){
    
    .cart{
        width: 95%;
      
    }

    .quantity{
        top: -40px;
        right: 105px;
    }
}

.cart .h1{
    font-weight: 700;
    place-self: start;

}

.cart hr{
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}


.cart .item-select{
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.items{
    display: flex;
    margin: 5px;
    justify-content: center;
}

.cart .item-select .thumb-cart img{
    width: 40px;
    height: 40px;
    border-radius: 7px;
}

.info-select{
    padding: 0 10px;
}

.price{
    display: flex;
}

.priceNum{
    padding: 0 7px;
}

.cart button{
    width: 100%;
    font-size: .9rem;
}

.checkout{
    display: none;
}

.checkout.active{
    display: flex;
}

.delete-cart{
    cursor: pointer;
    justify-content: center;
    display: flex;
    align-items: center;
}