/*                                HEADER                               */
:root{
    --color1: hsl(0 0% 3.9%) ;
    --color2: hsl(0, 0%, 24%) ;
    --color3: hsl(0, 0%, 52%) ;
    --color4: hsl(0, 0%, 73%) ;
    --color5: hsl(0, 0%, 91%) ;
    --color6: hsl(0, 0%, 98%) ;
    --color7: hsl(0, 100%, 100%) ;

    --red1 : hsl(0, 100%, 5%);
    --red2 : hsl(0, 100%, 15%);
    --red3 : hsl(0, 100%, 26%);
    --red4 : hsl(0, 100%, 35%);
    --red5 : hsl(0, 100%, 50%);

    /*Radius*/
    --radius1: 15px;
    --radius2: 25px;
}
body{
    overflow-x: hidden;
}
   h1,h2,h3,h4{
   font-family: 'Montserrat';
   text-align: center;
}
.row{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    
}
.column{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
a{
    text-decoration: none;
    color: inherit ;
    font-size: 1em;
}
p,label,input,button,textarea{
  font-family: 'Nunito';
}
button{
    cursor: pointer;
}
.p_one,label{
    font-weight: 700;
}
header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header div{
    display: flex;
    align-items: center;
}
.nav-menu{
    display: none;
    font-size: 1.5em;
}
.nav-icon{
    visibility: hidden;
}
.ri-home-4-line{
    font-size: 1.5em;
}
.btn-login{
    position: relative;
    background-color: transparent;
    border: none;
    font-size: 1.2em;
    border-radius: 15px;
    font-family: "Montserrat";
    transition: 0.5s ease-in-out;
}
.btn-login i{
   font-size: 1.3em; 
}
.btn-login:hover{
    color: var(--color3);
}
section{
    margin: 25px;
    min-height: 100vh;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    overflow: hidden;

}
/* HERO */
.hero{
    position: relative;
    height: 90vh;
    border-radius: var(--radius1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.hero_img{
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;    
    position: absolute;
    z-index: -1;
    filter: brightness(0.5);
}
.hero_img img{
    width: 100%;
    height: 90vh;
    

}
.hero-text{
    width: 40%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: absolute;
    z-index: 1;
}
.hero-text p{
    font-size: 2em;
    color: var(--color5);
    margin: 0;
}

/*Admin Panel*/

.register_form{
    
    width: fit-content;
    padding: 30px;
    gap: 15px;
    height: fit-content;
    border-radius: var(--radius1);
    border:1px solid var(--color3); 
}
.Add-product-section{
    justify-content: space-around; 
}
.Add-product-section form{
    gap: 15px;
}
form input{
    border-radius: 5px;
    border:1px solid var(--color3);
    height: 30px;
    font-size: 1em;
}
.Add-product-div{
    width: 250px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* justify-content: left;
    align-items: center; */
}
.icon_input{
    position: absolute;
    top: 33px;
    left: 230px;
}
#reveal_btn{
    cursor: pointer;
}
#reveal_btn:hover{
    color: var(--color2);
}
.imgLabel{
    width: fit-content;
    border-radius: 5px;
    border:1px solid var(--color3); 
    padding: 5px;
    background-color: var(--color7);
    font-size: .8em;
    font-weight: 500;
   font-family: 'Nunito';
}
 input[type="file"]{
display: none;
}
.submit_btn{
    width: 50%;
    cursor: pointer;
    transition: 0.5s;
}
.submit_btn:hover{
    background-color: var(--color3);
    color: var(--color5);
}
.evenly{
    justify-content: space-evenly;
}
.data_box{
    border-radius: var(--radius1);
    background-color: var(--color6);
    border: 1px solid var(--color5);
    margin-right: 15px;
    padding: 5px;
    width: 135px;
}
.data_box h2{
    text-align: center;
}
.data_box p{
    text-align: center;
    font-family: 'Montserrat';
    font-size: 2em;
}
.product-grid{
    display: grid;
    grid-template-columns: repeat(5,120px);
    gap: 50px;
}
.product_card{
    position :relative;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: fit-content;
    height: 265px;
    background-color: var(--color6) ;
    border: 1px solid var(--color5);
    border-radius: var(--radius1);
   
}
.wrapper{
    width: fit-content;
    height: fit-content;
    position: relative;
}
.switch_btn{
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: inherit;
    font-family: inherit;
    font-weight: 800;
}
.signin , .login{
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: ease-in-out 0.5s;
    
}
.signin{
    z-index: 2;
    transform: translateX(-150%);
}
.signin.active , .login.active {
    transform: translateX(0%);
    opacity: 1;
    visibility: visible;
}
.login{
    transform: translateX(100%); 
}
.id_circle{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -10px;
    left: -10%;
    width: 30px;
    height: 30px;
    border-radius:50%;
    color: var(--color2);
    background-color: var(--color6);
    border: 1px solid var(--color3);
}
.id_circle p{
    font-family: 'Montserrat';
    font-weight: 800;
}
.box_img{
    width: auto;
    height: 90px;
}
.info_box p{
    text-align: center;
}
.action_box{
    width: 100%;
    justify-content: space-evenly;
}
.action_box_btn{
    border: none;
    color: var(--color2);
    font-size: 1.2em;
    background-color: transparent;
}
.action_box_btn:hover{
    color: var(--color1);
}

/*Product_card2*/
.product_card2{
    position :relative;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    min-width: 120px;
    height: 265px;
    background-color: var(--color7) ;
    border: 1px solid var(--color1);
    border-radius: var(--radius1);
    margin: 25px;
}
.id_circle2{
    cursor: pointer;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -10px;
    left: 90%;
    width: 30px;
    height: 30px;
    font-size: 1.3em;
    border-radius:50%;
    color: var(--red5);
    background-color: var(--color7);
    border: 1px solid var(--color1);
    transition: 0.5s ease-in-out;
    overflow: hidden;
}
.fav_btn{
    color: inherit;
    border: none;
    font-size: inherit;
    cursor: pointer;
}
.action_box_btn2{
    border: none;
    cursor: pointer;border: 1px solid var(--color1);
    color: var(--color7);
    font-size: 0.8em;
    background-color: var(--color1);
    border-radius: 50px;
}
.action_box_btn2 p{
    padding: 8px;
    margin: 0px;
}
.container_product{
    position: relative;
    gap: 15px;
    justify-content: start;
    width: 99vw;
    padding: 25px;
    height: fit-content;
    overflow-x: scroll;
}
.container_product > *:last-child {
    margin-right: 60px;
}
.container_product > *:first-child {
    margin-left: 40px;
}
.container_product::-webkit-scrollbar { 
  display: none;            /* Chrome, Safari, Opera */
}
.Category{
    font-size: 2em;
}
.section_product{
    gap: 25px;
}

/*                                  RESPONSIVE                             */
@media(max-width:769px){
    /*     HEADER     */
    .nav-icon{
    visibility: visible;
    font-size: 0.7em !important;
    }
    .nav-menu{
        display: block;
    }
    .right{
        position: fixed;
        width: 100vw;
        background: white;
        margin-top: 50px;
        z-index: 25;
    }
    
}