*{
    margin: 0;
    padding: 0;
}
body{
    background-color: #f1f3f4;
    font-family: sans-serif;
}

.top-nav-bar{
    height: 57px;
    top: 0;
    position: sticky;
    background: #fff;
    margin-bottom: 15px;
    border-bottom: 3px solid rgb(4, 0, 255);
    z-index: 2;
}

.logo{
    font-size: 40px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color:rgb(4, 0, 255);

}

.form-control{
    width: 800px;
    margin: 9px;
    margin-left: 30px;
    border: 1px solid rgb(4, 0, 255) !important;
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: none !important;
}

.input-group-text{
    background: rgb(4, 0, 255);
    border: 1px solid rgb(4, 0, 255);
    margin: 8.5px 10px 3px 0;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    margin-bottom: 10px;
    cursor: pointer;
}

.search-box{
    display: inline-flex;
    width: 60%;

}

.fa-magnifying-glass{
    color: rgb(4, 0, 255);


}

.menu-bar{
    width: 40%;
    height: 57%;
    float: right;
}

.menu-bar ul{
    display: inline-flex;
    float: right;
}

.menu-bar ul li{
    border-left: 1px solid #fff;
    list-style-type: none;
    padding: 15px 35px;
    text-align: center;
    background-color: rgb(4, 0, 255);
    cursor: pointer;
}

.menu-bar ul li a{
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.fa-basket-shopping{
    margin-right: 5px;
}

.fa-user-plus{
    margin-right: 5px;
}

.fa-right-to-bracket{
    margin-right: 5px;
}

@media only screen and (max-width: 980px)
{
    .top-nav-bar{
        height: 118px;
        border-bottom: 0;
    }
    .search-box{
        width: 100%;
    }
    .menu-bar{
        width: 105%;
    }
    .menu-bar ul{
        margin: 10px 0;
        width: 100%;
    }
    .menu-bar ul li{
        height: 57%;
        width: 100%;
    }
    .menu-bar ul li a{
        font-size: 12px;
    }
}

/* ------side menu-------- */
.side-menu{
    height: 520px;
    width: 15%;
    font-size: 14px;
    float: left;
    z-index: 2;
    background-color: gray;
}

.side-menu ul{
    margin-left: 10px;
}

.side-menu ul li{
    list-style-type: none;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}

.side-menu ul li:hover{
    color: rgb(4, 0, 255);
}

.side-menu ul li ul{
    display: none;
    z-index: 10;
    top: 77px;    
}

.side-menu ul li:hover ul{
    display: block;
    height: 520px;
    width: 50px;
    margin-left: 14%;
    padding: 0 50% 10px 10px;
    position: fixed;
    background: rgb(226, 225, 225);
    box-shadow: 1px 1px 4px 1px rgb(17, 17, 17)
}

.fa-angle-right{
  margin-top: 4px;
  margin-right: 8px;
  float: right;  
}

#menu-btn, #close-btn{
    font-size: 30px;
    margin: 10px;
    color: rgb(4, 0, 255);
    display: none;
}

@media only screen and (max-width: 980px)
{
    .side-menu{
        width: 34%;
        z-index: 20;
        top: 155px;
        position: fixed;
        font-size: 12px;
        display: none;
    }
    .side-menu ul li ul{
        top: 155px;
    }
    .side-menu ul li:hover ul{
        margin-left: 31%;
    }
    #menu-btn{
        display: block;
    }
}

/* -------------slider-------------- */
.slider{
    width: 85%;
    margin-left: 15%;
    padding: 0 10px;  
}

.carousel-inner{
    height: 520px;
}

.carousel{
    box-shadow: 1px 1px 4px 2px none;
}

.carousel-indicators{
    z-index: 1 !important;
}

.stri{
    color: red;
}

@media only screen and (max-width: 980px){
    .slider{
        width: 100%;
        margin-left: 0;
    }
    .carousel-inner{
        height: 100%;
    }
}

/* -------------------------Featured categries------------------------------ */

.featured-categories{
    margin: 50px 0;
}

.featured-categories img{
    width: 100%;
    padding: 20px 0;
    transition: 1s;
    cursor: pointer;
}

.featured-categories img:hover{
    transform: scale(1.1);
}

/* -----------------On Sale Products------------------- */

.title-box{
    background-color: rgb(4, 0, 255);
    color: white;
    width: 180px;
    padding: 4px 10px;
    height: 40px;
    margin-bottom: 30px;
    display: flex;
}

.title-box h2{
    font-size: 24px;
}

.title-box::after{
    content: '';
    border-top: 40px solid rgb(4, 0, 255);
    border-right: 50px solid transparent;
    position: absolute;
    display: flex;
    margin-top: -4px;
    margin-left: 170px;
}

/* -----------------------Product Top--------------------------- */
.on-sale .container {
    padding: 20px 0;
}

.product-top {
    position: relative;
    overflow: hidden;
}

.product-top img {
    width: 100%;
    height: 300px;
}

.overlay-right {
    position: absolute;
    top: 90px;
    right: 205px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.overlay-right button {
    background-color:rgb(58, 57, 56);
    border: none;
    color: #fcfbfb;
    padding: 21px;
    cursor: pointer;
    height: 35px;
} 

.product-top img{
    width: 100%;
}

.overlay-right{
    display: block;
    opacity: 0;
    position: absolute;
    top: 10%;
    margin-left: 0;
    width: 70px;
}

.overlay-right .fa{
    cursor: pointer;
    background-color: white;
    color: black;
    height: 35px;
    width: 35px;
    font-size: 20px;
    padding: 7px;
    margin-top: 280%;
    margin-bottom: 280%;
    border-radius: 8px;
}

.overlay-right .btn-secondary{
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.product-top:hover .overlay-right{
opacity: 1;
margin-left: 5%;
transition: 0.5s;
}

/* -------------------Product Bottom------------------------ */

.product-bottom .fa{
    color: rgb(4, 0, 255);
    font-size: 10px;
}

.product-bottom h3{
    font-size: 20px;
    font-weight: bold;
}

.product-bottom h5{
    font-size: 15px;
    padding-bottom: 10px;
}

.on-sale{
    margin-left: 10px;
}

.new-products{
    margin: 50px 0;
}

/* ------------------------Website Features--------------------------- */

.website-features{
    margin: 60px 0;
}

.website-features img{
    width: 20%;
}

.feature-text{
    margin-top: 10px;
    float: right;
    width: 80%;
    padding-left: 20px;
}

.feature-box{
    padding-top: 20px;
}

/* --------------------------------Footer----------------------------------- */

.footer{
    margin-top: 50px;
    background: black;
    color: white;
}

.footer h1{
    font-size: 16px;
    margin: 25px 0;
}

.footer p{
    font-size: 12px;
}

.copyright{
    margin-bottom: -80px;
    text-align: center;
    font-size: 15px;
    padding-bottom: 20px;
}

.fa-envelope{
    color: white;
    font-size: 15px;
}

.footer hr{
    margin-top: 10px;
    background-color: #ccc;
}

.footer-image img{
    width: 150px;
    height: 100px;
    border-radius: 10px;
}

.footer .row .fa{
    padding-right: 20px;
    font-size: 15px;
}

/* ---------------------------Single Product------------------------------ */
.single-product{
    margin-top: 70px;
}

.new-arrival{
    background: green;
    width: 50px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-top: 20px;
}

.col-md-7 h2{
    color: rgb(68, 68, 68);
}

.single-product .fa{
    color: rgb(4, 0, 255);
}

.single-product .price{
    color: rgb(4, 0, 255);
    font-size: 26px;
    font-weight: bold;
    padding-top: 20px;
}

.single-product input{
    border: 1px solid white;
    font-weight: bold;
    height: 33px;
    text-align: center;
    width: 30px;
}

.single-product .btn-primary{
    background: rgb(4, 0, 255) !important;
    color: white;
    font-size: 15px;
    margin-left: 20px;
    border: none;
    box-shadow: none !important;
}

/* -----------------------------Product Description------------------------------- */

.product-description h6{
margin-top: 50px;
color: rgb(4, 0, 255);
}

.product-description p{
    margin-top: 30px;
}

.product-description hr{
    margin-bottom: 50px;
}
