*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(#3e2723,#000);
    color:#fff;
}
.navbar{
    
    display: flex;
    align-items:center;
    padding: 50px;
}
nav{
    flex: 1;
    text-align: right;
} /*to align the nav class inside of navbar to the right */
nav ul{ 
    display: inline-block;
    list-style-type: none; /*this enusures no bullet points for the unordered list*/
}
nav ul li{
    
    display: inline-block; /*horizontal style for the nav list*/
    margin-right: 10px;
}
a{
    text-decoration: none; /*this ensures no underline under the texts*/
    color: #fff;
    font-weight: 600;
}
p{
    color: #fff;

}

.container{
    max-width: 1500px;
    margin: auto;
    padding-left: 25px;
    padding-right: 15px;

}
.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}
.small-container h2{
    max-width: 100%;
    color: #fff;;
}
.small-container h4{
    max-width: 100%;
   color: #fff;;
}

.col-2{
    flex-basis: 50%;
    min-width: 300px;
   
}
.col-2 h3{
    margin: 25px 0;
}
.col-2 img{
    max-width: 100%;
    margin-top: -20px;
    margin-left: 150px;
    padding: 50px 0; /*top-bottom- 50px , left-right: 0px*/
}
.col-2 h1{
  font-size: 50px;
  line-height: 60px;
  margin: 25px 0;
}
.btn{
    display: inline-block;
    background: #ff523b;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;    
    transition: background 0.5s; /*transition after hovering*/
}
.btn:hover{
    background: #563434;

}
.header{
 /* background: radial-gradient(#fff,#e4ffd6); */
 width: 100%;
 height: 100vh;
 background-image: url(images/HandMarkedBackground.jpg);
 background-size:cover;
 background-position:center;
 border: 2px solid white;
 border-radius: 10px;
}
.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%;
}
.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right:  25px;
} /*class within container-->*/


.col-4{
    flex-basis: 25%; /*since we need 4 columns*/
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
}
.col-4 img{
    width: 100%;
    border: 2px solid white;
    border-radius: 10px;
    
        height: auto; /* Ensure the aspect ratio is maintained */
        max-height: 100%; /* Limit the height to match the container */
        max-width: 100%; /* Limit the width to match the container */
    }



.title{
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: #555;   
}

.title::after{
    content: '';
    background: #ff523b;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom : 0;
    left: 50%;
    transform: translateX(-50%);
}

h4{
    color: #fff;
    font-weight: normal;
}

.col-4 p{
  font-size: 14px; 
}

.rating .fa{
    color: #ff523b;
}

.col-4:hover{
    transform: translateY(-5px);
}




/*offer-------*/
.offer{
   
    margin-top: 80px;
    padding: 30px 0;
}

.col-2 .offer-img{
    padding: 100px;
}
small{
    color : #fff;
}


/*----testimonials---*/
.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;
    border: 2px solid white;
    border-radius: 10px;
}
.testimonial .col-3 img{
   width: 100px;
   height: 100px;
   margin-top: 20px;
   border-radius: 50%;
   object-fit: cover;
}
.testimonial  .col-3:hover{
  transform: translateY(-10px);
}
.fa.fa-quote-left{
    font-size: 34px;
    color: #ff523b;
}
.col-3 p{
    font-size: 12px;
    margin: 12px 0;
    color: #fff;
}

.testimonial .col-3 h3{
    font-weight: 600;
    font-size: 16px;
}

.image-collage {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px auto;
    max-width: 1000px;
  }
  
  .image-collage img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    border-radius: 10px;
  }


/***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); /** after hovering it ungrays the logo**/
}

.footer{
    background: #000;
    color: #8a8a88;
    font-size: 14px;
    padding: 60 0 20px;
}

.footer p{
    color: #8a8a8a;
}

.footer h3{
    color: #fff;
    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;
}
ul{
    list-style-type: none;
}
.app-logo{
    margin-top: 20px;
}
.app-logo img{
  width: 140px;
}
.footer hr{
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}

.copyright{
    text-align: center; 
}

/*****contact page*******/
/* Style for social media icons container */
.social-media-icons {
    text-align: center;
    margin-top: 20px;
}

/* Style for individual social media icons */
.social-icon {
    font-size: 24px; /* Adjust the size as needed */
    margin: 0 10px;
    text-align: left;
    color: #fff; /* Change the color to your desired color */
    transition: color 0.3s; /* Smooth color change on hover */
}

/* Change icon color on hover */
.social-icon:hover {
    color: #ff5722; /* Change to orange color on hover */
}



.menu-icon{ /*this is to be hidden in full screen only for android interface**/
    width: 28px;
    margin-left: 20px;
    display : none /*hiddenn menu icon*/
}

@media only screen and (max-width: 800px){ /*if it decreases by 800 px , the nav text will be on the left**/
    nav ul{
        position: absolute;
        top: 70px;
        left: 0;
        background: #333;
        width: 100%;
        overflow: hidden;
        transition: max-height 0.5s;
    }
    nav ul li{
        display: block;
        margin-right: 50px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    nav ul li a{
        color:#fff;
    }
    .menu-icon{
        display: block;
        cursor: pointer;
    }
}
/*--all products---*/
.row-2{
    justify-content: space-between;
    margin: 100px auto 50px;
}
select{
    border: 1px solid #ff523b;
    padding: 5px;

}
select:focus{
    outline:none; 
    /*to not make the outline of sort box after choosing the box the way it was earlier*/
}
.page-btn{
    margin: 0 auto 80px;
}
.page-btn span{
    display: inline-block;
    border: 1px solid #ff523b;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}
.page-btn span:hover{
    background: #ff523b;
    color: #fff;
}

/*******single product details****/
.single-product{
    margin-top: 80px;
}
.single-product .col-2 img{
    padding: 0;
    /**corrected**/
    max-width: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 0;
}


.single-product .col-2{
    padding: 20px;
    text-align : center; /**corrected**/
}
.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 #ff523b;
}
input:focus{
    outline:none;
}
.single-product .fa{
    color: #ff523b;
    margin-left: 10px;
}
.small-img-row{
    display: flex;
    justify-content:space-between;

}
.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}

/***cart items**/
.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: #fff;
    background: #ff523b;
    font-weight: normal;
}
td{
    padding : 10px 5px;
}
td input{
    width: 40px;
    height: 30px;
    padding: 5px;
}
td a{
    color: #ff523b;
    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 #ff523b;
    width : 100%;
    max-width: 400px;
}
td:last-child{
    text-align: right;
}
th:last-child{
    text-align: right;
}

/******account page****/

.account-page{
    padding: 50px 0;
  
}
.form-container{
    background: #fff;
    width: 300px;
    height: 400px;
    position: relative;
    text-align: center;
   padding: 20px 0;
   margin: auto;
   box-shadow : 0 0 20px 0px rgba(0,0,0,0,1);
   overflow: hidden;
}

.form-container span{
    font-weight: bold;
    padding: 0 10px;
    color: #555;
    cursor: pointer;
    width: 100px;
    display: inline-block;
}

.form-btn{
    display: inline-block;
}
.form-container form{
    max-width: 300px;
    padding: 0 20px;
    position: absolute;
    top: 130px;
    transition: transform 1s;
}
form input{
    width: 100%;
    height: 30px;
    margin: 10px 0;
    padding: 0 10px;
    border: 1px solid #ccc;
}
form .btn{
    width: 100%;
    border: none;
    cursor: pointer;
    margin: 10px 0;
}
form .btn:focus{
    outline:none;
}

#LoginForm{
    left: -300px;
} /**since it is id we use '#' **/
#RegForm{
    left:0;
}
form a{
    font-size: 12px;
}

#Indicator{
    width: 100px;
    border: none;
    background: #ff523b;
    height: 3px;
    margin-top: 8px;
    transform: translateX(100px);
    transition : transform 1s;
}

/**products-details-small images resizing**/

.small-img-col img {
    width: 100px; /* Set your desired width */
    height: 100px; /* Set your desired height */
}


/******media query for less than 600 screen size ****/
@media only screen and(max-width: 600px){
    .row{
        text-align: center;
    }
    .col-2, .col-3 , .col-4{
        flex-basis: 100%;
    }

    .single-product .row{
        text-align: left;
    }
    .single-product .col-2{
        padding:20px 0;
    }
    .single-product h1{
        font-size: 26px;
        line-height: 32px;
    }
   .cart-info p{
    display:none;
   }
    

}