/* fonts family */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,800;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

/* restart the page */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* barbutten styles */
header #check{
    width: fit-content;
    display: none;
    
    
}
label #btn, label #cancel{
    margin-top: 10px;
    padding: 2px;
    position: absolute;
    cursor: pointer;
    z-index: 1000000;
    width: 20px;
    height: 20px;
    font-size: large;
    text-align: center;
    transition: all 0.1s ease;

}
label #cancel{
    position: fixed;
    opacity: 0;
    visibility: hidden;
}
#check:checked ~ label #btn{
    margin-left: 0px;
    opacity: 0;
    visibility: hidden;
}
#check:checked ~ label #cancel{
    margin-left: 0px;
    opacity: 1;
    visibility: visible;
}
#check:checked ~ .icons{
    left:0px;
}


/* Common styles */
html{
    background-color: #FFFFFF;
    min-height: 300%;
    

}

/* header styles for searchbox and icons*/

header .headbox{
   display: flex;
   justify-content: space-between;
   margin: 5px 70px;
   flex-wrap: wrap;
}

header label h3{
  margin:5px 0 0 20px;
  font-size: 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

header input{
    width: 50%;
    height: auto;
    background-color: #efefef;
    align-self: center;
    padding: 8px;
    border: 0;
    border-radius: 25px;


}

header input::placeholder{
    opacity: 50%;
}


header .headbox .icons img{
    width:40px;

}

/* main styles */
main{
     font-family: "Poppins", sans-serif;
}

main .features{
    margin:10px 70px;
    display: flex;
    max-width: 700px;
    gap: 10px;
    justify-content: space-between;
}
main .features p{
    font-size:16px;
}

/* first box styles */
main .review .r1{
    margin: 0 70px;
    background-color: #B7E1C9;
    border-radius: 8px;
    display: flex;
    
}

main .review .r1 img{
    object-fit: contain;
    margin: 10px;
    max-width: 500px;
    width: 30%;
    height: auto;
 
}

main .review .r11{
    font-style: normal;
    border-radius: 8px;
    margin: 30px;
    background: #EFEFEF;

}

main .review .r11 .p11, 
main .review .r31 .p31{
    margin: 10px;
    font-size: 1.6rem;
    font-weight: 800;
}

main .review .r11 .p12, 
main .review .r31 .p32{
    margin: 10px;
    font-size: 1em;
    font-weight: 400;
}

/* button styles for common */
main .review .r11 button, 
main .review .r31 button,main .advertise button{
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 10px;
    padding: 8px;
    background-color: black;
    color: #FFFFFF;
    border-radius: 8px;

}
main button:hover{
    cursor: pointer;
    transform: scale(1.1);
    transition: all 0.5s 0s ease;
}


/* product review styles */
main .r2{
    margin:25px 70px;
    display: flex;
    justify-content: space-between;

}

main .r2 figure{    
    max-width: 200px;
    height: auto;

}

main .r2 figure figcaption{
    text-align: center;
    font-size: 18px;
    
    
}

main .r2 figure img{
    max-width: 200px;
    width: 100%;
    border-radius: 50%;
}

/* second box styles */

main .review .r3{
    margin: 0 70px;
    background-color: #FFDDD6;
    border-radius: 8px;
    display: flex;
}

main .review .r3 img{
    margin: 10px auto 10px auto;
    object-fit: contain;
    width: 30%;
    height:auto;
 
}
main .review .r31{
    font-style: normal;
    border-radius: 8px;
    margin: 30px;

}

/* h3 margin for all main */
main h3{
    margin:25px 70px ;
    font-size: 22px;

}


/* product row(1,2,3) styles */
main .product1{
    margin: 10px 70px;
    display: flex;
    position: relative;
    justify-content: space-between;
    padding: 15px;
    max-width: fit-content;
    width: 90%;
    display: flex;
    justify-self: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 26px;
    scroll-behavior: smooth;
    scroll-padding:0 32px;
   
    
    
}

main .product1 figure{
    position: relative;

}
main .product1 figure img{
    background-color:#f5f5f5;

}

main .product1 figure figcaption{
    font-size: small;

}

.product1 .pro{
    display: flex;
}

.product1 .pro .bold{
    font-weight: 700;
    font-size: 1.5rem;
}

.product1 .pro .red{
    margin: 8px;
    color:#E71515;
    text-decoration: line-through;
}

.product1 .pro button{
    position: absolute;
    right: 0;
    margin: 10px 20px 0 0;
    padding: 8px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background-color: black;
    color: #FFFFFF;
    

}

/* advertisement styles */
.advertise{
    
    display: flex;
    justify-content: center;
    position: relative;
    margin: 25px 0;
    width: 100%;
    background: #EFEFEF;
    border-radius: 8px;

}

main .advertise .para1{
   
    width: 50%;
    align-self: center;
    text-align: center;
    font-weight: 700;

}

main .advertise .para1 p{
    font-size: 24px;
}

main .advertise .para1 span{
    
    color: #F48500;

}

main .advertise img{
    width: 200px;
    height: auto;
    margin-left: 30px;
}

/* blog styles */
main .blog{
    display: flex;
    flex-wrap: wrap;
    margin: 5px 70px;
    justify-content:center;
    row-gap:10px;
    column-gap: 30px;
    margin-top: 25px;
}

main .blog .image{
    display: flex;
    width: 373px;
    margin-right: 10px;
}

main .blog .image figure img{
    display: block;
    border-radius: 10px;
    max-width: 400px;
    height: auto;
}

main .blog .image figure span{
    color: #666666;
    font-weight: 300;
    letter-spacing: 0.35px;
    margin: 10px 0;
}

main .blog .image figure p{ 
    font-size: small;
    font-weight: 300;
    color: #222222;


}

main .blog .image figcaption{
    font-weight: 700;
    margin: 10px 0;
}

/* E-mail styles */

main .subs{
    display: flex;
    margin: 25px 0;
    padding: 15px 70px;
    background-color: #D7E6F9;

}

main .subs p{
    max-width: 500px;
    text-align: center;
    align-self: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.35px;
}

main .subs input{
    margin-left: 10%;
    max-width: 400px;
    width: 50%;
    height: auto;
    background-color: #FFFFFF;
    align-self: center;
    padding: 12px;
    border: 0;
    border-radius: 25px;
}

main .subs input::placeholder{
    font-style: italic;
    opacity: 80%;
}

main .subs button{
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 50px 0 50px -20px;
    max-width:200px;
    width: 25%;
    height: auto;
    padding: 12px;
    background-color: black;
    color: #FFFFFF;
    border-radius: 50px;

}

/* contact styles */
#conhead{
    text-align: center;
    letter-spacing: 0.35px;

}

main .contact{
    margin: 0 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    column-gap: 30px;
    gap: 20px;
    margin-top: 25px;

}

main .con{
    display: flex;
    position: relative;
    max-width:350px;
    width: 100%;
    border: 3px solid #D7E6F9;
    border-radius: 10px;
}

main .con img{
    margin: 10px;
    align-self: center;
    width:30px;
    height: 40px;
}

main .con figcaption{
    margin: 10px 30px 10px 10px;
    align-self: center;
    
}
 
main .con button{
    margin: 50px 0 50px 0;
    position: absolute;
    z-index: -1;
    align-self: center;
    right: 0;
    background: #D7E6F9;
    padding: 5px;
    border: 2.43px solid #FFFFFF;
    border-radius: 50%;
    color:#FFFFFF;

}

/* contact-details styles */
main .details{
    margin:25px 0;
    padding: 15px 70px 15px 70px;
    background-color: #D7E6F9;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
    
}

main .details div{
    margin: 0 50px;
    max-width: 120px;
    width: 100%;
    margin-right: 20px;
    
}

main h5{
   margin: 10px 0;
   font-size: larger;
}

main h6{
    margin-bottom: 5px;
    font-size: medium;
}

main p{
    font-size: 12px;
}

/* disclaimer styles */
footer .copyrights{
    margin:15px 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .dis1{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

footer .img2{
    margin-top: -10px;
        
}

/* responsive for tablet */
@media screen and (min-width:481px) and (max-width:768px){

    /* barbutten styles */
    #check:checked ~ label #cancel{
        margin-left: 50px;
        opacity: 1;
        visibility: visible;
    }
    header .headbox .icons{ 
        padding: 30px 0; 
        position: fixed;
        top:0;
        left: -150px;
        z-index: 1000;
        background-color:#f0dccab3;
        width: 150px;
        height: 100%;
        transition: all .5s ease ;

    }
    header .headbox .icons img{
        display: block;
        width: 50px;
        padding: 1px;
        border-left: 4px solid transparent;
        
    }
    header .headbox .icons img:hover, header .headbox .icons img:active{
        border-left:4px solid black ;
        background-color:#cdc6a5;
    }
    /* search bar styles */
    header .headbox{
        height: 50px;
    }
    header .searchbox{
        margin-top:px;
    }


    /* product review styles */
    main .r2 figure figcaption{
    text-align: center;
    font-size: 14px;
    
    
    }

    /* advertise styles */
    main .advertise .para1 p{
    font-size: 20px;
    }

    main .blog{
    justify-content:center;
    }

    main .blog .image{
        margin: 10px 0 0 0;
      
    }

    main .blog .image figure p{
        padding-bottom: 10px;
        border-bottom: 3px solid #222222;


    }

    /* E-mail styles */

    main .subs{
        display: block;
       

    }

    main .subs p{
        max-width: 700px;
    }

    main .subs input{
        margin-left: 20%;
        max-width: 200px;
        width: 50%;
        height: auto;
        padding: 15px;
        border: 0;
        border-radius: 25px;
    }

    main .subs button{
        margin: 50px 0 50px -35px;
        padding: 13px;
        width:25%;
       

    }

    /* disclaimer styles */
    footer .copyrights{
        margin:15px 70px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content:center;
    }

    footer .dis1{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* responsive for mobile */
@media screen and (max-width:480px){
    
    /* header styles */
    header .headbox{
        display: flex;
        justify-content: space-between;
        margin: 5px 10px;
        flex-wrap: wrap;
    }

    .headpara{
        margin-top: 0;
    }

    main .features{
        margin:10px;
        display: flex;
        justify-content: space-evenly;
    }

    main .features p{
        font-size:10px;
    }

    /* barbutten styles */
    header .headbox .icons{ 
        padding-top: 40px;
        position: fixed;
        top:0;
        left: -100px;
        z-index:1000;
        background-color:#f0dccab3;
        width: 100px;
        height: 100%;
        transition: all .3s ease ;

    }
    header .headbox .icons img{
        margin-left: 0px;
        display: block;
        width: 50px;
        padding: 1px;
        border-left: 4px solid transparent;
      
        
    }
    header .headbox .icons img:hover, header .headbox .icons img:active{
        border-left:4px solid black ;
        background-color:#cdc6a5;
    


    }
    header #check{
        width: fit-content;
        display: none;
        
        
    }
    label #btn, label #cancel{
         margin: 4px -3px;
    }
    label #cancel{
        opacity: 0;
        visibility: hidden;
    }
 
    #check:checked ~ label #btn{
        margin-left: 0px;
        opacity: 0;
        visibility: hidden;
    }
    #check:checked ~ label #cancel{
        margin-left: 60px;
        opacity: 1;
        visibility: visible;
    }
    #check:checked ~ .icons{
        left:0px;
    }

    /* first box */
    main .review .r1{
        margin: 10px ;
        padding: 10px;
        background-color: #B7E1C9;
        border-radius: 8px;
        display: block;
   }
    main .review .r1 img{
        object-fit: contain;
        width: 80%;
        height: auto;
    
    }

    main .review .r11{
        font-style: normal;
        border-radius: 8px;
        margin:10px;
        background: #EFEFEF;

    }

    main .review .r11 .p11, 
    main .review .r31 .p31{
        margin: 10px;
        font-size: 20px;
        font-weight: 800;
    }

    main .review .r11 .p12, 
    main .review .r31 .p32{
        margin: 10px;
        font-size: 12px;
        font-weight: 400;
    }

    /* scroll styles for products */
    .product1{
        margin-top: 25px;
        padding: 15px;
        max-width: 300px;
        width: 100%;
        display: flex;
        justify-self: center;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 26px;
        border-radius: 12px;
        scroll-behavior: smooth;
        scroll-padding:0 32px;
        /* scrollbar hide */
        scrollbar-width: none;

    }

    /* product review styles */
    main .r2{
        margin: 20px 0;
        padding: 5px;
        width: 100%;
        display: flex;
        gap: 10px;
        justify-content:space-between;

    }
    main .r2 figure{                             
        width:100%;
        height: auto;
    }

    main .r2 figure figcaption{
        text-align: center;
        font-size: 10px;
        
    }

    main .r2 figure img{
        width: 90%;
        border-radius: 50%;
    }

    /* second box */
    main .review .r3{
        margin: 5px 10px;
        background-color: #FFDDD6;
        border-radius: 8px;
        display: block;
        padding: 10px;
    }
    main .review .r3 img{
        object-fit: contain;
        padding: 0 10px;
        width: 100%;
        height:auto;
    }

    /* h3 margin for all main */
    main h3{
        margin:10px;
        font-size: 18px;

    }


    /* advertise styles */
    main .advertise{

        display: block;
        background: #EFEFEF;
        border-radius: 8px;

    }

    main .advertise .para1{
        padding-top: 10px;
        width: 100%;
        font-weight: 700;

    }

    main .advertise .para1 p{
        font-size: 18px;
    }


    main .advertise span{
        color: #F48500;

    }

    main .advertise img{
        margin: 0;
        display: flex;
        justify-self: center;
        width: 200px;
        height: auto;
        
    }

    
    /* blog */
    main .blog{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 25px;
    }
    main .blog .image{
        display: flex;
        width: 280px;
        margin-right: 10px;
        border-bottom: 2px solid black;
   }

    main .blog .image figure img{
        max-width: 280px;

    }

   /* E-mail styles */
   main .subs{
        display:block;
        

    }
    main .subs p{
        font-size: 18px;    

    }
    main .subs input{
        display: flex;
        justify-self: center;
        margin: 10px;
        max-width:250px;
        width: 100%;
        height: auto;
        background-color: #FFFFFF;
        align-self: center;
        padding: 8px;
        border: 0;
        border-radius: 25px;
    }


    main .subs button{
        display: flex;
        justify-self: center;
        font-weight: 500;
        letter-spacing: 0.5px;
        margin: 10px;
        max-width:200px;
        width: fit-content;
        height: auto;
        padding: 7px 15px;
        background-color: black;
        color: #FFFFFF;
        border-radius: 50px;

    }

    /* contact styles */
    main .contact{
        margin: 20px;
        justify-content: center;
    }

    main .con{
        display: flex;
        position: relative;
        max-width: 420px;
        width: 100%;
        border: 3px solid #D7E6F9;
        border-radius: 10px;
    }

    /* contact-details styles */
    main .details{
        margin:0;
        padding:5px;
        background-color: #D7E6F9;
        display: flex;
        flex-wrap: wrap;
        justify-content:space-between;
        
    }

    main .details div{
        margin: 10px;
        max-width:100px;
        width: 100%;
        margin-right: 15px;
        
    }

    main h5{
    margin: 10px 0;
    font-size: larger;
    }

    main h6{
        margin-bottom: 5px;
        font-size: medium;
    }

    main p{
        font-size: 12px;
    }

   
   /* disclaimer styles */
    footer .copyrights{
        margin: 5px;
        display: block;
    }
    footer .dis1{
        display:flex;
        width: 100%;
        justify-content:space-around;
    }
    footer .img{
       margin: 5px;
       display: flex;
       justify-self: center;
        
    }

    footer .img1{
        margin-top: -5px;
        padding: 10px;

    }

    footer .img2{
        margin-top: -9px;
        padding: 10px;
            
    }



    
}