*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Poppins", sans-serif;
}
.container{
    max-width: 1300px;
    margin: auto;
    padding: 25px 25px;
}

.navbar{
    height: 60px;
    display: flex;
    align-items: center;
}
nav{
    flex: 1;
    text-align: right;
}
nav ul{
    display: inline-block;
    list-style: none;
}
nav ul li{
    display: inline-block;
    padding-right: 20px;
}
a{
    text-decoration: none;
    color: grey;
}
p{
    color: grey;
}
.row{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}
.col-2{
    flex-basis: 50%;
    max-width: 600px;
}
.col-2 img{
    max-width: 100%;
    padding: 50px 0px;
}
.col-2 h1{
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}
.btn{
    display: inline-block;
    background: orangered;
    color: white;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    background-color: light;
    transition: background 0.5s;
}
.btn:hover{
    background: darkslategrey;
}
.header{
    background: radial-gradient(white,lightsalmon);
}
.header .row{
    margin-top: 70px;
}

.categories{
    margin: 70px 0;
}
.col-3{
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}
.col-3 img{
    width: 100%;
    height: 400px;
}
.small_container{
    max-width: 1080px;
    margin: auto;
    padding: 25px 25px;
}
.col-4{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
}
.col-4 img{
    width: 100%;
    height: 350px;
}
.title{
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: grey;
}
.title::after{
    content: "";
    background-color: #ff523b;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h4{
    color: grey;
    font-weight: normal;
}
.col-4 p{
    font-size: 15px;

}

.ratings .fa{
    color: orangered;
}

.col-4:hover{
    transform: translateY(-5px);
}

/* ----------Offer----------- */

.offer{
    background: radial-gradient(white,lightsalmon);
    margin-top: 80px;
    padding: 30px 0;
}
.col-2 .offer-img{
    padding: 50px;
}
.offer p{
    font-size: 18px;
}

small{
    color: grey;
    font-size: 15px;
}

/* ------------testimonial------------- */

.testimonial{
    padding-top: 100px;
}
.testimonial .col-3{
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.5s;
}
.testimonial .col-3 img{
    width: 50px;
    height: 50px;
    margin-top: 20px;
    border-radius: 50%;
}
.testimonial .col-3:hover{
    transform: translateY(-10px);
}

.fa.fa-quote-left{
    font-size: 34px;
    color: orangered;
}
.col-3 p{
    font-size: 15px;
    margin: 12px 0;
    color: grey;
}
.testimonial .col-3 h3{
    font-weight: 600;
    font-size: 20px;
}

/* -------------brands------------- */

.brands{
    margin: 100px auto;
}
.col-5{
    width: 160px;
}
.col-5 img{
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
}
.col-5 img:hover{
    filter: grayscale(0);
}


/* -----------footer------------- */

.footer{
    background-color: black;
    color: grey;
    font-size: 14px;
    padding: 60px 0 20px;
}
.footer p{
    color: grey;
    font-size: 15px;
}
.footer h3{
    color: white;
    margin-bottom: 20px;
}
.footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4{
    min-width: 250px;
    margin-bottom: 20px;
}
.footer-col-1{
    flex-basis: 30%;
}
.footer-col-2{
    flex: 1;
    text-align: center;
}
.footer-col-2 img{
    width: 180px;
    margin-bottom: 20px;
}
.footer-col-3, .footer-col-4{
    flex-basis: 12%;
    text-align: center;
    gap: 10px;
}
ul{
    list-style-type: none;
    font-size: 15px;
}
.app-logo{
    margin-top: 20px;
}
.app-logo img{
    width: 140px;
    margin: 5px;
}
.footer hr{
    border: none;
    background: gray;
    height: 1px;
    margin: 20px 0;
}
.copyright{
    text-align: center;
}
.menu-icon{
    width: 40px;
    margin-left: 20px;
    margin-top: 5px;
    display: none;
}



/* -----------------All Products Page------------------- */

.row-2{
    justify-content: space-between;
    margin: 100px auto 50px;
}

select{
    border: 1px solid orangered;
    padding: 5px;
}
select:focus{
    outline: none;
}

.Page-btn{
    margin: 0 auto 80px;
}
.Page-btn span{
    display: inline-block;
    border: 1px solid orangered;
    margin-left: 10px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}
.Page-btn span:hover{
    background-color: orangered;
    color: white;
}


/* -------------------Single Product Details-------------------- */

.single-product{
    margin-top: 80px;
    display: flex;
}
.single-product .col-2 img{
    padding: 0;
}
.single-product .col-2{
    padding: 20px;
}
.single-product h4{
    margin: 20px 0;
    font-size: 22px;
    font-weight: bold;
}
.single-product select{
    display: block;
    padding: 10px;
    margin-top: 20px;
}
.single-product input{
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid orangered;
}
input:focus{
    outline: none;
}

.single-product .fa{
    color: orangered;
    margin-left: 10px;
}

.small-img-row{
    display: flex;
    justify-content: space-between;
}
.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}

/* ---------Cart Item Details----------- */

.cart-page{
    margin: 80px auto;
}
table{
    width: 100%;
    border-collapse: collapse;
}

.cart-info{
    display: flex;
    flex-wrap: wrap;

}
th{
    text-align: left;
    padding: 5px;
    color: white;
    background-color: orangered;
    font-weight: normal;
}

th:last-child{
    text-align: right;
}

td{
    padding: 10px 5px;
}

td input{
    width: 40px;
    height: 30px;
    padding: 5px;
    text-align: center;
}

td a{
    color: orangered;
    font-size: 12px;
}

td img{
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

.total-price{
    display: flex;
    justify-content: flex-end;
}

.total-price table{
    border-top: 3px solid orangered;
    width: 100%;
    max-width: 390px;
}

td:last-child{
    text-align: right;
}


/* ------------Account Page------------- */

.account-page{
    padding: 50px 0px;
    background: radial-gradient(white,lightsalmon);
}

.form-container{
    background-color: white;
    width: 370px;
    height: 500px;
    position: relative;
    text-align: center;
    padding: 20px 0px;
    margin: auto;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-container span{
    font-weight: bold;
    padding: 0 px;
    cursor: pointer;
    width: 150px;
    display: inline-block;

}

.form-btn{
    display: inline-block;

}

.form-container  form{
    max-width: 380px;
    padding: 0 20px;
    position: absolute;
    top: 130px;
    transition: transform 1s;
}

form input{
    width: 100%;
    height: 40px;
    margin: 10px 0;
    padding: 0 10px;
    border: 1px solid #ccc;
}

form a{
    font-size: 18px;
}

form .btn{
    width: 100%;
    border: none;
    cursor: pointer;
    margin: 10px 0;
    height: 40px;
}

form .btn:focus{
     outline: none;
}

#LoginForm{
    left: -380px;
}
#RegForm{
    left: 0;
}

#indicator{
    width: 100px;
    border: none;
    background-color: orangered;
    height: 3px;
    margin-top: 8px;
    transform: translateX(180px);
    transition: transform 1s;
}












/* -----------Media Query For Mobile Screen------------ */

@media screen and (max-width : 580px) {
    .row{
        text-align: center;
    }
    .col-2, .col-3, .col-4, .col-5{
        flex-basis: 100%;
    }
    .col-5 img{
        width: 50%;
    }
    .logo-img{
        height: 60px;
        width: 60px;
    }
    .single-product{
        flex-direction: column;
    }
    .single-product h1{
        font-size: 26px;
    }
    .single-product .row{
        text-align: left;
    }
    .single-product .col-2{
        padding: 20px 0;
    }

    .cart-info p{
        display: none;
    }
    .cart-info small{
        font-size: 12px;
    }

    .form-container{
        width: 250px;
        height: 400px;
    }
    .form-container span{
        width: 100px;
    }
    .form-container input{
        width: 220px;
        height: 30px;
        margin-right: 150px;
        font-size: 10px;
    }
    .form-container .btn{
        width: 65%;
        margin-right: 170px;
    }
    .form-container a{
            margin-right: 150px;
            font-size: 13px;
    }
    #indicator{
    width: 80px;
}
}






/* -----------Media Query For Menu------------ */

@media screen and (max-width : 780px){

    nav ul{
        position: absolute;
        top: 70px;
        left: 0;
        background: #333;
        width: 100%;
        text-align: left;
        padding-left: 20px;
        overflow: hidden;
        transition: max-height 0.5s;
    }
    nav ul li{
        display: block;
        margin-right: 50px;
        margin-top: 10px;
        margin-bottom: 10px;
        padding-left: 20px;
    }
    nav ul li a{
        color: white;
    }
    .menu-icon{
        display: block;
        cursor: pointer;
    }
    .logo-img{
        height: 90px;
        width: 90px;
    }
    .row-10{
        width: 80%;
        display: flex;
        flex-wrap: wrap;
        margin: 50px;
    }
    .brands .col-5{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .col-5 img{
        width: 40%;
    }
    .testimonial .row{
        flex-direction: column;
    }
    .testimonial .col-3{
        width: 70%;
    }
}


