#transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    pointer-events: none;
    opacity: 1;
    transition: opacity .9s ease-in-out;
    z-index: 9999;
}

    #transition-overlay.fade-in {
        opacity: 1;
    }

    #transition-overlay.fade-out {
        opacity: 0;
    }



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}  

body {
    overflow: auto;
    font-family: 'Open Sans', 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', 'Android Emoji', sans-serif;
}

/*[--Header Styles--] [-->Begin<--]*/


header {
    width: 100%;
    height: auto;
    background-color: #ffc100;
    position: sticky;
    z-index: 1;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border: 6px solid #fff;
    border-radius: 0 0 12px 12px;
    z-index:9998;
}
.nav-box {
    display:flex;
    min-height:100%;
    height: auto;
    width:100%;
    flex-direction: column;
}
.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow:1;
    column-gap:40px;
}
.new-nav > .logo {
    color: white;
    font-weight: bolder;
    font-size: 2rem;
    height: 100%;
    width: 280px;
    min-width: 110px;
    align-items: center;
    padding-left: 40px;
    display: flex;
    flex-wrap: nowrap;
}
.new-nav {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    column-gap: 40px;
}
.nav > a {
    font-size: 2rem;
    color: white;
    font-weight: bolder;
    transition-duration: .3s;
}
.nav > a:link {
    text-decoration: none;
}
.nav > a:visited {
    text-decoration: none;
}
    .nav > a:hover {
        text-decoration: none;
        color: #009eff;
        font-size: 2.5rem;
        transition-duration: .3s;
    }
header > .dropDown-Menu {
    display: none;
}
@media (max-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 120px;
    }

    body {
        padding-top: 92px;
    }
}


/*[----Header Styles----] [-->End<--]*/
/*[----Header Styles -> Drop Down Menu----] [-->Begin<--]*/


.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background-color: #ffc100;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 2rem;
    outline: none;
    border: none;
    background: none;
    box-shadow: none;
    transition-duration: .3s;
}
.dropbtn:active, .dropbtn:focus {
    outline: none;
    box-shadow: none;
}
.dropdown:hover .dropbtn {
    color: #009eff;
    font-size: 2.5rem;
    transition-duration: .3s;
}
.dropdown-content {
    display: none;
    padding-top: 32px;
    top: 100%;
    position: absolute;
    background-color: #ffc100;
    min-width: 250px;
    z-index: 1;
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}
    .dropdown-content:hover a:hover {
        text-decoration: none;
        color: #009eff;
        font-size: 1.3rem;
        transition-duration: .3s;
    }
.dropdown:hover .dropdown-content {
    display: block;
}


/*[----Header Styles---->Drop Down Menu----] [-->End<--]*/
/*[--Header Styles -> Account Box--] [-->Begin<--]*/


header > .account-box {
    width: 100%;
    background-color: #e19300;
    display: block;
    min-height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
    padding-left: 20px;
}
header > .account-box > .rank {
    min-width: 40px;
    max-width: 200px;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    color:white;
    font-size:1rem;
    font-weight:bolder;
}
header > .account-box > div {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    column-gap: 20px;
}
#regBtn, #logBtn, #logOut{
    border: none;
    background: none;
    color: white;
    font-size: 1rem;
    font-weight: bolder;
}
.title {
    border: none;
    background: none;
    color: white;
    font-size: clamp(1rem, 2vw, 2.5rem);
    font-weight: bolder;
}
#regBtn:hover, #logBtn:hover, #logOut:hover {
    color: #009eff;
    font-size: 1.3rem;
    font-weight: bolder;
    cursor: pointer;
    transition-duration: .3s;
}


/*[--Header Styles -> Account Box--] [-->End<--]*/
/*[--Header Styles -> Burger Menu Styles--] [-->Begin<--]*/


.nav-box .toggle_btn {
    color: white;
    cursor: pointer;
    font-size: 2rem;
    display: none;
}

.action_btn {
    background-color: #ffc100;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.menu-box-for-smaller-screen {
    display:flex;
    justify-content:flex-end;
    flex-grow:1;
    padding-right:40px;
}
.action_btn:hover {
    scale: 1.05;
    color: #fff;
}
.dropdown_menu {
    width: 100%;
    height: 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .dropdown_menu.open {
        height: auto;
        max-height:600px;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        row-gap:20px;
        overflow-y:scroll;
    }
.toggle_btn {
    color:white;
    font-size:1.5rem;
}
@media(max-width: 992px) {
    .nav-box .nav {
        display: none !important;
    }
    .account-box .title {
        display: none;
    }
    .nav-box .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }
}

@media (max-width: 576px) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
    header, .nav-box {
        height:auto !important;
        overflow:visible !important;
        flex-wrap:wrap;
    }
    .account-box .title {
        display:none;
    }
    .nav-box {
        height: auto !important;
        overflow: visible !important;
    }
    .dropdown_menu.open {
        height: auto !important;
    }
    .dropdown_menu::-webkit-scrollbar-thumb {
        background: gold !important;
        border-radius: 10px;
        border: 6px solid #fff;
        margin-right: 10px;
    }
}

/*[--Header Styles -> Burger Menu Styles--] [-->End<--]*/
/*[--Header Styles -> Burger Menu Styles -> Links--] [-->Begin<--]*/


.dropdown_menu a {
    border: 6px solid #fff;
    color: white;
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    padding: 10px;
    width: 100%;
    border-radius: 12px;
    text-align: center;
    justify-content: center;
}
.dropdown_menu a:link {
    text-decoration:none;
}
.dropdown_menu a:visited {
    text-decoration: none;
}
/* WebKit-based browsers (Chrome, Edge, Safari) */
.dropdown_menu::-webkit-scrollbar {
    width: 25px;
    margin-right:10px;
}
.dropdown_menu::-webkit-scrollbar-track {
    background: none;
    border-radius:10px;
}
.dropdown_menu::-webkit-scrollbar-thumb {
    background: #ffc100;
    border-radius: 10px;
    border: 6px solid #fff;
    margin-right: 10px;
}
.dropdown_menu::-webkit-scrollbar-thumb:hover {
    background: gold;
}

/* Firefox support */
.custom-scroll {
    scrollbar-width: thin;
    scrollbar-color: #fc0000 #f0f0f0;
}

/*[--Header Styles -> Burger Menu Styles -> Links--] [-->End<--]*/


