/* 
Author : Hunter87 
Github : github.com/hunter87ff
*/
*{
    margin: 0;
    padding: 0;
}
/* latin-ext */
@font-face {
    font-family: 'Bree Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/breeserif/v17/4UaHrEJCrhhnVA3DgluA96Tp56N1.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Bree Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/breeserif/v17/4UaHrEJCrhhnVA3DgluA96rp5w.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

:root{
    --main-color: #333;
    --secondary-color: #fff;
}

.border{
    border: 0.5px solid #000;

}

.header{
    background-color: var(--main-color);
    color: #fff;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    min-height: 40px;
}
.header .logo{
    font-size: 20px;
    font-weight: bold;
    z-index: 999;
}

#bhadrakMap{display: none;}
.menu li input, button{
    min-height: 30px;
    border: none;
    border-radius: 6px;
}
a{
    text-decoration: none;
    color: white;
}
.hide{display: none;}
.loader{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.showb{display: block!important;}
.showf{display: flex;}
.checkout {
    border-radius: 50px;
    background: #e0e0e0;
    box-shadow:  20px 20px 60px #bebebe,-20px -20px 60px #ffffff;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    min-width: 50%;
    width: 300px;
    display: flex;
    transition: 0.5s;
    position: fixed;
    top: 20%;
    display: none;


}
.checkout input[type="text"], .checkout input[type="tel"], .checkout input[type="range"]{
    padding: 10px;
    border: 1px solid #000;
    border-radius: 5px;
}
#submit_btn{
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: var(--main-color);
    color: #fff;
    cursor: pointer;
}
.border{
    border: 1px solid #000;
    width: 50%;
}
.addedCart{
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 10px;
    margin: 10px;
    display: none;
    flex-direction: row;
    align-items: center;
    width: fit-content;
    transition: 1.5s;
    z-index: 999;
    transform: translateY(-300%);
    position: fixed;
}
.addedCart img{
    max-height: 50px;
    max-width: 50px;
}
/* it is basically an animation class which will animate a perticular noticication from top to lower smoothly */
.slideDown{
    display: flex;
    animation: slideDown 3.5s ease-in-out!important;
}
@keyframes slideDown{
    0%{transform: translateY(-200%);}
    1%, 99%{transform: translateY(-100%); transition: 3s;}
    100%{transform: translateY(-300%);display: none;}
}


/* DESKTOP VIEW */
@media (min-width: 768px){
    #menu_btn{
        display: none;
    }
    .menu{
        display: flex;
        flex-direction: row;
        align-items: center;
        list-style: none;
    }
    .menu li{
        margin: 0 10px;
        font-weight: bold;
    }
    .menu a:hover{
        border-bottom: 2px solid #fff;
    
    }
    .container{
        width: 100%;
        overflow: hidden;
        position: absolute;
        min-height: 100vh;
    }
    
    .banner img{
        max-width: fit-content;
        height: fit-content;
    }
    .products{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 5px;
    }
    .product{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 5px;
        padding: 10px;
        background-color: #f4f4f4;
        width: 90%;
        flex-wrap: wrap;
    }
    .product img{
        max-height: 70%;
        max-width: 100%;
    }
    .product .btn{
        background: transparent;
        color: #111107;
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
        max-height: fit-content;
        margin: 5px;
        border: 1px solid ;
    }
    .product .btn:hover{
        background-color: #111107;
        color: #fff;
        /* transition: 0.5s; */
    }

    .checkout{width: 20%!important;}


    .main{
        display: flex;
        flex: row;
    }
    .cart-info{
        order: 2;
        width: 30%;
        margin: 10px;
        margin-right: auto;
        height: fit-content;
    }
    .cart-info .btn{
        width: fit-content;
    }

    .cart-items {
        display: flex;
        flex-wrap: wrap;
        /* justify-content: flex-start; */
        align-items: center;
        margin: 5px;
        max-width: 60%;
        background: #e0e0e0;
        overflow-x: auto;
        height: auto;
        float: left;
    }
    
    .cart-item {
        /* flex: 0 0 calc(20%); */
        display: flex;
        flex-direction: row;
        margin: 5px;
        padding: 10px;
        background-color: #f4f4f4;
        flex-wrap: wrap;
    }
    .cart-item img{
        max-height: 30%;
        max-width: 30%;
        margin-right: auto;
        margin: 5px;
    }
    .cart-item-info{
        width: 60%;
        margin-left: auto;
    }
    .product-price{
        margin-right: auto;
        float: right;
    }
    .cart-item .btn{
        background: transparent;
        color: #111107;
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
        max-height: fit-content;
        margin: 5px;
        border: 1px solid ;
    }
    .cart-item .btn:hover{
        background-color: #111107;
        color: #fff;
    }

    .footer{
        bottom: 0;
        padding: 1rem;
        margin-top: auto;
    }
    .footer .about{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 1rem;
    }

}
.cart-info{
    border-radius: 6px;
    border: 1px solid gray;
    padding: 10px;
}
.cart-buy{
    background: yellow;
    padding: 10px;
    width: 100%;
    margin-top: 10px;
}
.footer{
    background-color: var(--main-color);
    color: #fff;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    min-height: 40px;
    /* position: absolute; */
    width: 100%;
    bottom: 0;
}
.footer *{
    margin-bottom: 5px;
}
/* MOBILE VIEW */
@media (max-width: 768px){
    .header{
        background-color: var(--main-color);
        color: #fff;
        padding: 10px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        min-height: 40px;
        width: 95vw;
    }
    .container{
        max-width: 100vw;
        overflow: hidden;
        position: absolute;
        min-height: 100vh;
    }
    #menu_btn{
        display: absolute;
        color: #fff;
        font-size: 20px;
        /* cursor: pointer; */
        z-index: 999;
        top: 40px;
        right: 0px;
    }
    .menu{
        z-index: 1;
        display: flex;
        flex-direction: column;
        background-color: var(--main-color);
        margin-top: 47px;
        position: absolute;
        right: 0px;
        width: 0vw;
        height: 100vh;
        min-height: 100%;
        transition: 0.5s;
    }
    .menu li{
        margin-bottom: 5px;
        font-weight: bold;
        padding: 15px;
        list-style: none;
        border-bottom: 1px solid #000;
        font-size: 20px;
        font-family:arial;
        padding-left: 10px;
    }

    .menu li:hover{
        background-color: #555;
    }
    .menu li input{
        min-width: 70vw;
    }
    .rotate{
        transform: rotate(90deg);
        transition: 0.5s;
    }
    .active{
        display: flex;
        flex-direction: column;
        background-color: var(--main-color);
        width: 100vw;
        transition: 0.5s;
        height: 100vh;
    }
    .main{
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }
    .main div img{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #f4f4f4;
        padding: 20px;
        margin-top: 20px;
        width: 90%;
    }

    .banner img{
        max-width: 100%;
        height: 100%;
    }
    .products{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 5px;
    
    }
    .product{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 5px;
        padding: 10px;
        background-color: #f4f4f4;
        width: 90%;
    }
    .product .btn{
        background: transparent;
        color: #111107;
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
        max-height: fit-content;
        margin: 5px;
        border: 1px solid ;
    }
    .product .btn:hover{
        background-color: #111107;
        color: #fff;
        /* transition: 0.5s; */
    }
    .checkout{
        width: 90vw;
        height: 100vh;
    }

    .products{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 5px;
    
    }
    .cart-items{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px;
        width: 100%;
    }
    .cart-item{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: left;
        padding: 10px;
        background-color: #f4f4f4;
        width: 80%;
        margin: 5px;
    }
    .product-price{
        margin-right: auto;
        float: right;
    }
    .cart-info{
        width: 90%;
        margin: 10px;
    }
    .cart-item .btn{
        background: transparent;
        color: #111107;
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
        max-height: fit-content;
        margin: 5px;
        border: 1px solid ;
    }
    .cart-item .btn:hover{
        background-color: #111107;
        color: #fff;
        /* transition: 0.5s; */
    }
    .mborder{
        border: 1px solid #000;
        width: 50%;
    }

}
