*{
    margin: 0;
    padding: 0;
    box-sizing:border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Lora', serif;
}
.cart-img{
    transition: background 0.5s;
}
.cart-img:hover{
    background: rgb(121, 246, 248);
    padding: 3px 3px;
    margin: 2px 2px;
    border-radius: 4px;
}
/* .logo img{
    border-radius: 10%;
    box-shadow: 20px 20px 20px ;
} */
.logo{
    transition: border 0.5s;
}
.logo:hover{
    border: 2px solid  rgb(61, 57, 57);
    border-radius: 3px;
    background: rgb(61, 57, 57);
}
.navbar{
    display: flex;
    align-items: center;
    padding: 20px;
    transition: background 0.5s;
}
.navbar:hover{
    background: rgb(199, 201, 224);
    /* opacity: 0.9; */
    border-radius: 5px;

}
nav{
    /* border: 2px solid red; */
    flex: 1;
    text-align: right;
}
nav ul{
    display: inline-block;
    list-style-type: none;
}
nav ul li{
    display: inline-block;
    margin: 9px;
    padding: 7px 7px;
    transition: background 0.5s;
}
nav ul li:hover{
    background: rgb(255, 119, 0) ;
    border-radius: 5px;

}
a{
    text-decoration: none;
    color: rgba(49, 41, 41, 0.873);
}
p{
    color: rgba(49, 41, 41, 0.873);
}
.container{
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
    /* border: 2px solid red; */
}
.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0px;
}
.col2{
    flex-basis: 50%;
    min-width: 300px;
}
.col-2-img{
    max-width: 70%;
    
    padding:10px 0;
    /* fill-opacity:10%; */
    border-radius: 20px;
}
.col2 h1{
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}
.btn{
    display: inline-block;
    background:rgb(255, 128, 0);
    color: white;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: background 0.5s;
}
.btn:hover{
    background: rgb(64, 34, 34);
}
.header{
    background:linear-gradient( rgb(243, 197, 148),orange,orange,white,white,rgb(23, 225, 23),rgb(102, 177, 102),white);
}
.header .row{
    margin-top: 25px;
}

.categories{
    margin: 70px 0;
}
.col3{
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}

.col3 img{
    width: 100%;
}
.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;

}

.col4{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
}
.col4 img{
    width: 100%;
}

.title{
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: rgb(116, 98, 98);
}
.title::after{
    content: "";
    background-color: rgb(195, 81, 0);
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.col4 h4{
    color: rgb(72, 72, 86);
    font-weight: normal;
}
.col4 p{
    font-size: 14px;
}
.rating .fa{
    color: darkorange;
}
.col4:hover{
    transform: translateY(-15px);
}
.col2 .offer-img{
    width: 100%;
    padding: 50px;
}

/* offer */
.offer{
    background:radial-gradient(circle at center,green,white 50%,white 60%,orange);
    margin-top: 80px;
    padding: 30px 0;
}
small{
    color: rgb(72, 71, 71);
}

/* testimonial */
.testimonial{
    padding-top: 100px;
}
.testimonial .col3{
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border-radius: 0px 15px 0px 15px;
    transition: transform 0.5s;
}
.testimonial .col3 img{
    width: 50px;
    margin-top: 20px;
    border-radius: 50%;
}
.testimonial .col3:hover{
    transform: translateY(-10px);
}
.fa.fa-quote-left{
    font-size: 40px;
    color: rgb(220, 106, 0);
}
.col3 p{
    font-size: 12px;
    margin: 12px 0;
    color: rgb(102, 102, 102);
}
.testimonial .col3 h3{
    font-weight: 600;
    font-size: 16px;
}

/* brands */
.brands{
    margin: 100px auto;
}
.col5{
    width: 160px;
}
.col5 img{
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
    transition: filter .5s;
}
.col5 img:hover{
    filter: grayscale(0);
}

/* footer */
.footer{
    background-color: black;
    color: white;
    font-size: 14px;
    padding: 60px 0 20px;
}
.footer p{
    color: wheat;
}
.footer h3{
    color: wheat;
    margin-bottom: 20px;
}
.footer-col2{
    justify-content: center; 
     align-items: center;
    text-align: center;
}
/* .footer-col2 img{
    border-radius: 10px;
} */
.footer-col1,.footer-col2,.footer-col3,.footer-col4{
    min-width: 250px;
    margin-bottom: 20px;
}
.footer-col1{
    flex-basis: 30%;
}
.footer-col2{
    flex:1;
}
.footer-col2 img{
    border-radius: 10px;
    width: 125px ;
    margin-bottom: 20px;
}
.footer-col3, .footer-col4{
    flex-basis: 12%;
    text-align: center;
}
.footer-col3 ul li a{
    color: white;
    text-decoration: none;
}
ul{
    list-style-type:none;
}

.app-logo{
    margin-top: 20px;
}
.app-logo img{
    width: 140px;
}
.footer hr{
    border: none;
    background: wheat;
    height: 1px;
    margin: 20px;
}
.copyright{
    text-align: center;
}

.menu-icon{
    width: 28px;
    margin-left: 20px;
    display: none;
}
/* media query for menu */
@media only screen and (max-width:1300px){
    nav ul{
        position: absolute;
        top: 70px;
        left: 0;
        background:#242781;
        width: 100%;
        height: 100%;
        overflow: hidden;
        transition: max-height 0.5s;
        /* opacity: 0.5; */
    } 
    nav ul li{
        display: block;
        margin-right: 50px;
        margin-top: 15px;
        margin-bottom: 0px;
    }
    nav ul li a{
        color: rgb(255, 255, 255);
    }
    .menu-icon{
        display: block;
        cursor: pointer;
    }
}
/* media query for menu for less than 700 screen size */
@media only screen and (max-width:600px){
    .row{
        align-items: center;
        /* flex-wrap: wrap;
        justify-content: space-around;
        margin: 0px; */
    }
    .col2,.col3,.col4{
        flex-basis: 100%;
    }
}

/* Search bar */
.search-form {
    display: flex;
    align-items: center;
    margin-left: 5px;
    margin-right: 5px;
}

.search-form input {
    border: none;
    padding: 8px;
    font-size: 16px;
    border-radius: 5px 0 0 5px;
}

.search-form button {
    border: none;
    background: rgb(255, 128, 0);
    color: white;
    padding: 8px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form button:hover {
    background: rgb(64, 34, 34);
}


/* Search bar */
.search-form {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-form input {
    border: none;
    padding: 8px;
    font-size: 16px;
    border-radius: 5px 0 0 5px;
}

.search-form button {
    border: none;
    background: rgb(255, 128, 0);
    color: white;
    padding: 8px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form button:hover {
    background: rgb(64, 34, 34);
}

/* Media query for menu and search bar in small screens */
@media only screen and (max-width: 600px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .logo {
       display: none;
    }

    .menu-search {
        flex-basis: 50%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin: 10px;
    }

    .menu-icon {
        width: 28px;
        margin-right: 10px;
        cursor: pointer;
    }

    .search-form {
        display: flex;
        align-items: center;
    }

    .search-form input {
        border: none;
        padding: 8px;
        font-size: 16px;
        border-radius: 5px 0 0 5px;
        width: 100px;
        max-width: 250px;
    }

    .search-form button {
        border: none;
        background: rgb(255, 128, 0);
        color: white;
        padding: 8px 15px;
        border-radius: 0 5px 5px 0;
        cursor: pointer;
        transition: background 0.3s;
    }

    .search-form button:hover {
        background: rgb(64, 34, 34);
    }

    nav ul {
        flex-basis: 100%;
        margin: 10px;
    }

    nav ul li {
        margin: 5px;
    }
}