@font-face {
    font-family: 'lemonMilk';
    src: url('/fonts/lemonMilkBold.woff2') format('woff2'), url('/fonts/lemonMilk.woff') format('woff'), url('/fonts/lemonMilk.ttf') format('truetype');;
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary: #1d1d1d;
    --primary-lighter: #3b3b3b;
    --secondary: rgb(247, 245, 127);
    --black: #000000;
    --white: #ebeaea;
    --light-grey:#e9e9e9;
    --red: #ee7575;
    --online: rgba(191, 245, 160, 0.2);
    --offline: rgba(245, 160, 160, 0.2);
}

*{
    margin: 0;
    padding: 0;
    font-family: "arial";
    -webkit-appearance: initial;
}
body::-webkit-scrollbar{
    display: none;
}
a{
    text-decoration: none;
    color: var(--primary);
    
}
body{
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    overflow-x: hidden;
}
main{
    min-height: 100vh;
}
.backBtn{
    position: fixed;
    top: 10px;
    left: 2%;
    width: 30px;
    fill: white;
}
header{
    text-align: center;
    padding-top: 20px;
    position: fixed;
    height: 50px;
    width: 100%;
    background-color: white;
    z-index: 1000;
}
header img{
    width: 200px;
}
header svg{
    fill: black;
}
main{
    padding-top: 85px;
    position: relative;
}
.backBtn, .cartLink{
    position: fixed;
    top: 2%;
    z-index: 1000;
}
.backBtn{
    height: 30px;
    width: 30px;
    left: 10%;
}
.cartLink{
    right: 10%;
    height: 45px;
    width: 60px;
}
.cartLink .nbr {
    position: absolute;
    top: -10px;
    right: 5px;
    border-radius: 50%;
    background-color: black;
    color: white;
    padding: 5px;
    width: 15px;
    height: 15px;
    font-size: 12px;
}
.backbtn svg, .cartLink svg{
    height: 30px;
    width: 30px;
}
.backBtn a{
    color: black;
    opacity: 100%;
    text-decoration: none;
}
.backBtn a:hover{
    opacity: 60%;
}
.deleteLink{
    padding: 5px;
    text-align: center;
}
.flashMessage{
    margin-top: 20px;
}
#red, .deleteLink a{
    color: rgb(233, 130, 130);
}

#green{
    color: rgb(124, 214, 124);
}

#blue{
    color: rgb(131, 131, 240);
}
#danger, #success{
    color: white;
    padding: 3px;
    border-radius: 10px;
    font-size: 11px;
    text-align: center;
}

#online{
    background-color: rgba(0, 82, 0, 0.315);
}
#offline{
    background-color: rgba(82, 0, 0, 0.315);
}

#danger{
    background-color: rgb(233, 130, 130);
}
#success{
    background-color: rgb(124, 214, 124);
}

#loader {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: none;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: gray; 
}


@media screen and (max-width: 650px) {
    header img{
        width: 120px;
    }
    header{
        height: 35px;
    }
    main{
        padding-top: 55px;
    }
    .backBtn, .cartLink{
    top: 10px;
    }
    .backbtn svg, .cartLink svg{
    height: 25px;
    width: 25px;
}

}