*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}body{
    background-color: #f5deb347;
}#main{
    width: 100vw;
    min-height: 100vh;
    position: relative;
}.service{
    animation-duration: .3s;
    background-color: rgb(255 255 255 / 95%);
    width: 28vw;
    height: 28vw;
    font-size: 1rem;
    border: 1px solid black;
    border-radius: 1.5rem;
    margin: .5rem 0;
    position: relative;
    /* transition: transform .4s ease; */
    & span {
        padding:5px;
        background-color: black;
        color: white;
        position: absolute;
        bottom: -1rem;
        right:-1rem;
        border-radius: 50%;
        height: 3rem;
        width: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        display: none;
    }
    
}.service_name_cont{
    text-align: center; 
    height:50%; 
    display:flex; 
    align-items:center; 
    justify-content:center;
}.price_cont{
    text-align: center;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40%;
    margin: auto;
    border: 3px dashed #ffc000;
}.button_bar{
    width: 100vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 10vh;
    position: fixed;
    bottom: 0;
}#call_to_action{
    width: 50%;
    padding: 20px;
    background-color: black;
    color: #ffc000;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    border-radius: 100px;
    display: none;
}#recall_to_action{
    font-size: 7rem;

    color: black;
    position: relative;
    bottom: 1px;
    display: none;
}.span_tot_num{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-35%,-60%);
    font-size: 3.6rem;
    color: black;
    font-weight: bold;
}#cart, #qr_code_result{
    max-height: 90vh;
    min-height: 80vh;
    width: 100vw;
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem; 
    background-color: white;
    color: black;
    position: fixed;
    bottom: 0;
    left: 0;
    border: 1px solid black;
    display: none;
    animation-duration: 0.3s;
    z-index: 2;

}#qr_code_result{
    overflow-x: scroll;
}.bi-x-circle-fill::before {
    border: 3px #ffc000  solid;
    background-color: #ffc000;
    border-radius: 50%;
}.submit_product{
    background-color: black;
    color: #ffc000;
    padding: 1rem 3rem;
}
#feed_back{
    backdrop-filter: blur(10px);
    position: absolute;
    z-index: 3;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
   display: flex;
   justify-content: center;
   align-items: center;

    
}.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: 
        radial-gradient(farthest-side,#ffa516 94%,#0000) top/8px 8px no-repeat,
        conic-gradient(#0000 30%,#ffa516);
        -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
    animation: l13 1s infinite linear;
    scale: 3;
}@keyframes l13{ 
    100%{transform: rotate(1turn)}
}.offcanvas{
    background-color: #000;
    color: #ffffff;
    width: 80vw !important;
}.offcanvas-header{
    justify-content: space-between;
    border-bottom: 10px #ffc000 solid;
}#profile_picture{
    width: 28%;
    background-color: #ffffff;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}#username{
    width: 70%;
    text-transform: uppercase;
    font-family: "Bebas Neue", sans-serif;
    color: #ffc000;
    font-size: 3rem;
    padding-left: 1rem;
}.sidebar_item{
    width: 100%;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: .5rem;
    border-bottom: #ffc000 1px solid;
  & i {
    font-size: 1.8rem;

  }
  & span {
  
    font-weight: bold;

  }
}.offcanvas-body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
#header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-family: "Bebas Neue", sans-serif;
    padding: 1vw 5vw;
    font-size: 3rem ;
    position: relative;
    img  {     
        height: 7.5vh;
    }
    >div{
        position: relative; 
        font-size:2.8rem;
    }
    
    >i{
        max-height: 10vh;
        display: flex;
    }
    .span_tot_num{
        font-size: 1.4rem;
    }
}
.cat_title {
    text-transform: uppercase;
    margin: unset;
    font-family: "Bebas Neue", sans-serif;
    padding: .5rem;
    color: #ffc000;
    background: black;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: .6rem;
    border-top: 5px solid #ffc000;
    border-bottom: 5px solid #ffc000;
}
.services_container{
    width: 100vw;

}
.services{
    width: 100%;
    height:fit-content;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: start;
    
}
.button_bar{
    justify-content: space-evenly;
    /* backdrop-filter: blur(10px); */
}
#recall_to_action {
    font-size: 3rem;
}
#call_to_action {
    width: 70%;
    padding: .3rem;
    background-color: black;
    color: #ffc000;
    font-size: 1.3rem;
    font-weight: 700;
    border: 2px #ffc000  solid;
}
.chart_header{
    display: flex; 
    justify-content:end; 
    align-items:center; 
    font-size:3rem; 
    padding: 0 5vw;
   
}
#bill{
    margin: auto;
    width: 90%;
    border: 3px dashed #ffc000;
    border-radius: 1rem;
    > div{
        padding: 1rem 5vw; 
        display: flex; 
        justify-content:space-between; 
        align-items:center; 
        font-weight:bold;
        font-size: 1rem;
    }
}

.add_product, .submit_product{
    margin: 1rem auto;
    text-align: center;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid black;
    border-radius: 4rem;

    & h1{
        font-size: 1.2rem;
        margin: unset;
    }

}
.calcul_container, .calcul_container1{
    display: flex; 
    flex-direction:column; 
    align-items:center;
}
.users_container{
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-around;
}.user_btn, .payment_mode_btn{
    text-transform: capitalize;
    animation-duration: .3s;
    margin-bottom: .5rem;
    /* width: 28vw; */
    /* height: 8vw; */
    padding: .5rem;
    min-width: 30%;
    max-width: 33%;
    max-height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-radius: 1.5rem;
}.payment_mode_btn{
    font-size: 3rem;
    height: unset;
}.user_btn_active{
    font-size: 1.2rem ;
    border: 2px dashed #ffa516;
    opacity: 1;
}.user_btn_inactive{
    opacity: 0.5;
}.payment_mode_btn_active{
    font-size: 4rem ;
    border-width: thick;
    opacity: 1;
}.payment_mode_btn_inactive{
    opacity: 0.5;
}
.calcul_label{
    width:100vw; 
    padding: 1rem 5vw; 
    display: flex; 
    justify-content:space-between; 
    align-items:center; 
    font-size:1.5rem; 
    font-weight:bold;
    >input{
        border:unset; 
        text-align:center;
        width: 40%; 
        border-bottom:2px solid black; 
        border-radius:50px; 
    }

}#tot_togive, #tot_togive1{
    border: unset;
    text-align: center;
    width: 40%;
    font-size: 4rem;
    font-weight: bold;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
    border-radius: 20px;
    height: 6rem;
}
#new_service{
    display: none;
    margin-top: 1rem;
   
    & input {
        font-size: 1rem;
        width: 60%;
        margin: .5rem auto;
        border: unset;
        border-top: 2px solid black;
        border-bottom: 2px solid black;
        border-radius: 50px;
        background-color: #ffffff;
        text-align: center;
    }
    & select {
        font-size: 1rem;
        width: 60%;
        margin: auto;
        border: unset;
        border-top: 2px solid black;
        border-bottom: 2px solid black;
        border-radius: 50px;
        background-color: #ffffff;
        text-align: center;
    }
}
.bill_container{
    height: 80vh;
    width: 100vw;
    overflow: scroll;
    display: block;
}
.bill_header{
    width: 100%;
    text-align: center;
    font-family:'Bebas Neue', sans-serif; 
    font-size:3rem;
}

.calcul_container{
    display: none;
}
.calcul_container1{
    display: flex;
}

#QrcodeCamScanner{
    border-radius: 1rem;
}

/* Tablet/Laptop Styling */
@media all and (min-width: 768px) {
    .products_container{
        width: 50vw;
        display: flex;
        flex-direction:column;
        justify-content: start;
        align-items: center;
        /* background-color: white; */
    }

    .calcul_container{
        display: flex;
    }
    .calcul_container1{
        display: none;
    }
    
    #bill{
        width: 45vw;
    }.newservice_container{
        width: 45vw;
    }.bill_container{
        height: 80vh;
        width: 100vw;
        overflow: scroll;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .calcul_container_container{
        width: 45vw;
        /* margin-top: 1rem; */
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    } 
    .calcul_container, .calcul_container1{
        width: 45vw;
    }
    .calcul_label{
        width: 100%;
        font-size: 1rem;
        padding: .5rem 2rem;
        margin: auto;
    }
    .users_container{
        width: 45vw;
       

    }.user_btn,  .payment_mode_btn{
      
        /* width: 13vw; */
        /* height: 8vw; */
        
    }.user_btn{
        font-size: 1.5rem;

    }.user_btn_active{
        font-size: 1.5rem;
        
    }
    .add_product, .submit_product{
        padding: .5rem 1rem;
    }
    #new_service{
        & input {
            width: 30%;
        }
        & select {
            width: 30%;
        }
    }
    
    .offcanvas{
    
        width: 50vw !important;
    }
    #profile_picture {
        width: 15%;
    }
    .button_bar{
        justify-content: space-evenly;
        margin-bottom: .5rem;
    }
    #recall_to_action {
    font-size: 2.5rem;
    }
    #call_to_action {
        width: 60%;
        padding: .5rem;
        background-color: black;
        color: #ffc000;
        font-size: 1rem;
        font-weight: 700;
    }
    .services_container{
        width: 100vw;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: start;
        /* background-image: url(../../ressources/images/upscalemedia-transformed.png); */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        backdrop-filter: blur(1px);
    }.services_container::before {
        content: "";
        background-image: url('../../ressources/images/logo-trans.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        top: 5rem;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: .3;
      }.services{
        width: 50vw;
        border-radius: 10px;
    }
    /* .services_wrapper:nth-child(even) .services{
        border-left: 2.5px solid #ffc000;
        box-shadow: -1px 0px 0px 0px black, 0px 0px 0px 0px black;
    }.services_wrapper:nth-child(odd) .services{
        border-right: 2.5px solid #ffc000;
        box-shadow: 1px 0px 0px 0px black, 0px 0px 0px 0px black;
    } */
    .service{
        width: 10vw;
        height: 10vw;
        font-size: .6rem;
        margin: .2rem;
        & span{
            height: 2rem;
            width: 2rem;
            font-size: 1rem;
        }
    }
    #header {
        height: 10vh;
        font-size: 8vh;

        >i{
            max-height: 10vh;
            display: flex;
        }
        img  {
            height: 9vh;
        }
        >div{
            position: relative; 
            font-size: 8vh;
            max-height: 10vh;
        }
    }
    .span_tot_num{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-30%,-45%);
        font-size: 1.2rem !important;
        color: black;
        font-weight: bold;
    }
    .cat_title{
        height: fit-content;
        padding: .3rem;
        font-size: 1.2rem;
        letter-spacing: .8rem;
    }
}
