*{
    font-family: "Poppins", sans-serif;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    scroll-padding: var(--scroll-padding, 4px);
    height: fit-content;
    width: 100%;
}

body{
    background-color: #fdfdfd;
    height: min-content;
    width: 100%;
}

/* Navigation style start */

.container{
    position: sticky;
    background: #CC3A40;
    width: 100%;
    box-shadow: 0 2px 10px 0px rgb(0,0,0,0.25);
    top: 0;
    z-index: 9999;
}

.container .content{
    width: 100%;
}

.container #navs{
    position: relative;
    display: inline-flex;
    width: 100%;
    vertical-align: middle;
    line-height: 5em;
    list-style-type: none;
    transition: 0.1s ease-in-out;
}

li#guest{
    width:auto !important;
    padding: 0 .5rem !important;
}

li#guest a{
    border-radius: 50px;
    padding: .3rem .5rem;
    text-wrap: nowrap;
    font-size: .8rem !important;
    border: 1px #fdfdfd solid;
}

li#guest a:hover{
    font-weight: normal !important;
    box-shadow: 0 0 3px 3px rgb(31, 31, 31, .10) !important;
}

li#guest a#in:hover{
    background-color: #fdfdfd;
    color: #1f1f1f;
    border: none;
}

li#guest a#up:hover{
    background-color: #1f1f1f;
    color: #fdfdfd;
    border: none;
}

#navs li{
    text-align: center;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

#navs li a{
    text-decoration: none;
    color: #fdfdfd;
    letter-spacing: .5px;
    font-size: 15px;
    font-weight: normal;
}

#navs li a:hover{
    font-weight: bold;
}

#navs li a.active{
    font-weight: bold;
    /* display: inline; */
    position: relative;
    top: -3px;
}

#navs li a.active:after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    width: 100%;
    bottom: -5px;
    background: #fdfdfd;
    height: 3px;
    border-radius: 100px;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
}

#navs #menu{
    display: none;
}

/* Navigation style end */


/* Title header start */

.title{
    position: relative;
    background-color: #FCFCFB;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    /* display: none; */
}

.title #title{
    position: relative;
    text-align: center;
    font-size: 1rem;
    margin: 10px auto;
    padding: 0;
    color: #CC3A40;
}

/* Title header end */

/* underline Nav */

.underline {
    display: inline;
    position: relative;
    overflow: hidden;
}

.underline:after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    width: 0;
    bottom: -5px;
    background: #fdfdfd;
    height: 3px;
    border-radius: 100px;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
}

.underline:hover:after,
.underline:focus:after,
.underline:active:after {
    left: 0;
    right: auto;
    width: 100%;
}

.home-content{
    /* position: fixed; */
    height: auto;
    margin: auto 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.separator1{
    height: 100%;
    margin: auto 0;
    width: 100%;
    display: flex;
    overflow: auto;
}

.home-content::-webkit-scrollbar{
    background-color: transparent;
    padding: 1px;
    height: .5rem;
}

div.home-content::-webkit-scrollbar-thumb{
    background-color: rgb(31, 31, 31, .3);
    border-radius: 30px;
}

div.conts{
    /* background-color: #1f1f1f; */
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 23rem;
    height: 72vh;
    padding: 1rem;
    margin: 1rem;
    flex-grow: 1;
    border-radius: 10px;
    box-shadow: 0 0 3px 3px rgb(0,0,0,0.10);
    overflow-y: auto;
}

div.conts::-webkit-scrollbar{
    background-color: transparent;
    padding: 10px;
    width: 10px;
}

div.conts::-webkit-scrollbar-thumb{
    background-color: rgb(0,0,0,0.15);
    border-radius: 10px;
}

div.conts img#maximize{
    float: right;
    cursor: pointer;
    user-select: none;
}

#logo{
    position: absolute;
    max-width: 5rem;
    left: 5.5%;
    top: 1.85rem;
    filter: drop-shadow(0px -8px 0px #fdfdfd) drop-shadow(0 8px 0px #CC3A40);
    transition: 0.1s ease-in-out;
}

/* acc button */

.acc{
    position: relative;
    padding: 0;
    margin: 0;
    vertical-align: middle;
}

.acc img{
    position: relative;
    max-width: 45px;
    vertical-align: middle;
    border-radius: 30px;
    box-shadow:  0 0 3px 0px rgb(255, 255, 255, 1);
    filter: invert(100%);
    background-color: rgb(3, 3, 3);
    border: none;
}

.acc #carret{
    position: relative;
    filter: invert(0%);
    background-color:white;
    max-width: 13px;
    top: 1rem;
    right: .8rem;
    margin: 1.1rem auto;
    box-shadow:  0 0 0px 1px black;
    rotate: 0deg;
    transition: all .05s ease-in-out;
}

.acc #carret:hover{
    cursor: pointer;
    box-shadow:  0 0 3px 1px black;
}

.content #accopt{
    position: absolute;
    opacity: 0;
    display: none;
    background-color: #FCFCFB;
    text-align: center;
    z-index: 1;
    width: 10%;
    height: auto;
    right: 5%;
    bottom: -73%;
    box-shadow: 0 0 3px 0 #1f1f1ff9;
    border-radius: 5px;
    line-height: 2rem;
}

.content #accopt a{
    position: relative;
    font-size: .8rem;
    color: #1f1f1f;
    text-decoration: none;
}

.content #accopt a:hover{
    font-weight: bold;
}

/* end */


/* start count */

div.first{
    display: flex;
    flex-direction: column;
    overflow: auto;
}

div.first div{
    /* background-color: #1f1f1f; */
    height: 100%;
    margin: 1rem;
    vertical-align: middle;
    align-content: center;
}

div.first div span{
    display: block;
    width: 100%;
    text-align: center;
}

div.first div.count{
    border-radius: 10px;
    border-top: 5px #1f1f1f solid;
    border-bottom: 5px #1f1f1f solid;
    box-shadow: 0 0 3px 3px rgb(0,0,0,0.10) inset;
    width: 100%;
    height: fit-content;
    padding: 1rem 0;
    margin: 0 .1rem;
}

div.first div.count span:first-child{
    font-size: 1.3rem;
}

div.tops{
    display: flex;
    flex-grow: 1;
    height: 10%;
    align-items: center;
}

div.hides{
    display: none;
}

div.first div.count span:last-child{
    font-size: 2.5rem;
}

div.first div.onqueues{
    align-content: baseline;
    height: 20rem;
    overflow: auto;
    border-radius: 10px;
    box-shadow: 0 0 2px 2px rgb(0,0,0,0.10) inset;
}

div.first div.onqueues::-webkit-scrollbar{
    background-color: transparent;
    width: 0px;
}

div.first div.onqueues table{
    border-spacing: 0;
    width: 100%;
    height: fit-content;
    overflow: auto;
    border-radius: 10px;
    font-size: .9rem;
    text-align: center;
}

div.first div.onqueues table th{
    color: #fdfdfd;
    background-color: #1f1f1f;
    padding: .4rem 1rem;
    font-weight: 500;
    position: sticky;
    top: 0;
}

div.first div.onqueues table tr:nth-child(odd):not(tr:first-child){
    background-color: rgb(0,0,0,0.05);
}

/* end count */


/* start announce */

div.second{
    position: relative;
    display: flex;
    flex-direction: column;
}

div.second img#maximize{
    position: absolute;
    right: 1rem;
    display: block;
}

div.second div.title{
    width: 100%;
    padding: 1rem;
    /* background-color: #1f1f1f; */
    /* top: 20px; */
    display: flex;
}

div.second div.title span{
    display: block;
    width: 100%;
    font-size: .9rem;
}

div.second div.title span:last-child{
    text-align: right;
}

div.second div.title span img{
    vertical-align: middle;
}

div.second div.announce{
    position: relative;
    width: 100%;
    flex-grow: 1;
    overflow: auto;
    /* background-color: #1f1f1f; */
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 0 3px 3px rgb(0,0,0,0.05) inset;
    border-radius: 10px;
    /* padding-right: 0; */
}

div.second div.announce::-webkit-scrollbar{
    background-color: transparent;
    width: 10px;
    margin: 1rem;
}

div.second div.announce::-webkit-scrollbar-thumb{
    background-color: rgb(31, 31, 31, .10);
    border-radius: 100px;
}

div.second div.announce::-webkit-scrollbar-track{
    margin: .4rem;
}


/* end announce */


/* start rules */

div.third{
    position: relative;
    padding: 2rem 4rem;
    border: 3px #1f1f1f solid;
}

/* end rules */




/* start images */

div.fourth{
    position: relative;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

div.fourth div.content{
    position: relative;
    overflow: auto;
    width: 100%;
    flex-grow: 1;
    /* background-color: #1f1f1f; */
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 0 3px 3px rgb(0,0,0,0.05) inset;
    border-radius: 10px;
    text-align: center;
    padding-right: 0;
}

div.fourth div.content div.photos img{
    vertical-align: middle;
    margin: .3rem;
    width: 80%;
    object-fit: contain;
}

div.fourth div.content::-webkit-scrollbar{
    background-color: transparent;
    width: 10px;
    margin: 1rem;
}

div.fourth div.content::-webkit-scrollbar-thumb{
    background-color: rgb(31, 31, 31, .10);
    border-radius: 100px;
}

div.fourth div.content::-webkit-scrollbar-track{
    margin: .4rem;
}

div.display{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: none;
    flex-direction: column;
}

div.display span{
    position: absolute;
    color: #1f1f1f;
    /* font-weight: bold; */
    font-size: 2rem;
    /* background-color: #1f1f1f; */
    display: block;
    width: fit-content;
    float: right;
    right: 0;
    margin: 1rem 2rem;
    cursor: pointer;
}

div.display div.img {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 1rem;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

div.display img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: 80%;
}

/* end images */


div.loading-screen{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-color: #fdfdfd;
    z-index: 999999;
    position: absolute;
    margin: 0;
    padding: 0;
    display: block;
}

div.screen{
    height: 100%;
    padding: 5rem;
    animation: fade-in-out 2s infinite;
}

@keyframes fade-in-out {
    100% {
        opacity: 0; /* Fully transparent again */
    }

    50% {
        opacity: 1; /* Fully visible */
    }

    0% {
        opacity: 0; /* Fully transparent */
    }
}

div.screen img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}



@media screen and (max-width: 800px) {

    .separator1{
        flex-direction: column;
        padding: 0 .5rem;
    }

    div.conts{
        margin: 1rem 0;
        min-width: 22rem;
    }

    /* Navigation */
    .container{
        position: fixed;
        background: #CC3A40;
        height: 100%;
        width: min-content;
        box-shadow: 0 0px 0px 0px rgb(0,0,0,0.25);
        top: 0;
        margin: 0;
        left: -251px;
        /* left: 0px; */
        transition: all .2s ease-in-out;
    }
    
    .container .content{
        height: 100%;
        width: 250px;
        min-width: 0px;
        margin: 0;
    }
    
    .container .content #navs{
        position: relative;
        display: inline-block;
        width: 100%;
        min-width: 0px;
        /* vertical-align: middle; */
        line-height: 2.9em;
        list-style-type: none;
        transition: 0.1s ease-in-out;
    }

    #navs li{
        position: relative;
        text-align: center;
        padding: 0;
        width: 100%;
        min-width: 0px;
        margin: 10px auto;
        height: fit-content;
    }
    
    #navs li a{
        position: relative;
        display: block;
        height: 100%;
        width: 100%;
        text-decoration: none;
        color: #fdfdfd;
        /* color: #1f1f1f; */
        letter-spacing: .5px;
        font-size: 15px;
        font-weight: normal;
    }
    
    #navs li a:hover{
        font-weight: bold;
    }
    
    #navs li a.active{
        position: relative;
        font-weight: bold;
        /* display: inline; */
        top: -3px;
    }
    
    #navs li a.active:after {
        content: "";
        position: absolute;
        z-index: -1;
        right: 0;
        width: 100%;
        bottom: -5px;
        background: #fdfdfd;
        height: 3px;
        border-radius: 100px;
        transition-duration: 0.2s;
        transition-timing-function: ease-out;
    }

    /* Navigation end*/

    #logo{
        position: relative;
        max-width: 4rem;
        /* scale: .5; */
        left: 0;
        top: 0;
        filter: drop-shadow(1px 1px 5px rgb(31,31,31,.25)) drop-shadow(-1px -1px 5px rgb(31,31,31,.25));
        /* filter: drop-shadow(0px 0px 0px #fdfdfd) drop-shadow(0px 0px 0px #fdfdfd); */
        transition: 0.1s ease-in-out;
    }

    #navs #logonav a, #navs #logonav{
        position: relative;
        padding: 0;
        margin: 0;
        height: 4rem;
    }

    #navs #logonav{
        position: relative;
        height: 6rem;
        padding: 0;
        margin: 8rem 0 0 0;
    }

    /* hamburger */

    #navs #menu{
        display: block;
        position: absolute;
        right: -38px;
        top: 10%;
        width: 40px;
        height: 40px;
        background: url(/assets/menu.png) #CC3A40;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 20px;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
        margin: 0;
        /* padding: 30px 30px; */
    }

    .underline {
        display: block;
    }

    .underline:after {
        display: none;
        content: "";
        position: absolute;
        z-index: -1;
        right: 0;
        width: 0;
        bottom: -5px;
        background: #fdfdfd;
        height: 3px;
        border-radius: 100px;
        transition-duration: 0.2s;
        transition-timing-function: ease-out;
    }
    
    .underline:hover:after,
    .underline:focus:after,
    .underline:active:after {
        display: none;
        left: 0;
        right: auto;
        width: 100%;
    }

    #navs li a.active:after {
        display: none;
        content: "";
        position: absolute;
        z-index: -1;
        right: 0;
        width: 100%;
        bottom: -5px;
        background: #fdfdfd;
        height: 3px;
        border-radius: 100px;
        transition-duration: 0.2s;
        transition-timing-function: ease-out;
    }

    /* hamburger end */

    /* acc button */

#navs .acc{
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0;
    width: 30%;
}

#navs .acc img{
    position: relative;
    max-width: 45px;
    vertical-align: middle;
    border-radius: 30px;
    box-shadow:  0 0 3px 0px rgb(255, 255, 255, 1);
    filter: invert(100%);
    background-color: rgb(3, 3, 3);
    border: none;
}

#navs .acc #carret{
    position: relative;
    filter: invert(0%);
    background-color:white;
    max-width: 13px;
    top: 1rem;
    right: .8rem;
    margin: 0rem auto;
    box-shadow:  0 0 0px 1px black;
    rotate: 0deg;
    transition: all .05s ease-in-out;
}

#navs .acc #carret:hover{
    cursor: pointer;
    box-shadow:  0 0 3px 1px black;
}

.content #accopt{
    position: absolute;
    opacity: 0;
    display: none;
    background-color: #FCFCFB;
    text-align: center;
    z-index: 1;
    width: 5rem;
    height: min-content;
    right: 5%;
    top: 4rem;
    box-shadow: 0 0 3px 0 #1f1f1ff9;
    border-radius: 5px;
    line-height: 2rem;
}

.content #accopt a{
    position: relative;
    font-size: .8rem;
    color: #1f1f1f;
    text-decoration: none;
}

.content #accopt a:hover{
    font-weight: bold;
}
/* 
div.display div.img{
    padding: 0;
}

div.display img{
    position: relative;
    vertical-align: middle;
    width: auto;
    height: auto;
    margin: auto auto !important;
    flex-shrink: 0;
} */

/* end */

}