/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --black-color: #000080;
    --black-color-light: #000080;
    --black-color-lighten: #000080;
    --white-color: #fff;
    --body-color: hsl(220, 100%, 97%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --normal-font-size: .938rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
    :root {
        --normal-font-size: 1rem;
    }
}

.imgage-logo {
    width : 50px;
    height: 50px;
}


.credits {
    position: relative;
    margin-top: 70px;
    width: 99%;
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Times New Roman', Times, serif;
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
}

ul {
    list-style: none;
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
}

a {
    text-decoration: none !important;
}

.alert-container {
    position: fixed;
    top: 10px;
    z-index: 999;
    width: auto;
    font-size: 20px;
    left: 2%;
}

.alert {
    margin-bottom: 10px;
    display: none;
}
/*=============== REUSABLE CSS CLASSES ===============*/
.nav-admin-container {
    margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--black-color);
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    z-index: var(--z-fixed);
    font-size: 20px;
}

/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
}

.nav__logo,
.nav__burger,
.nav__close {
    color: var(--white-color);
}

.nav__data {
    height: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
}

.nav {
    flex-wrap: nowrap !important;
}

@media (width < 1150px){
    .nav {
        display: inherit !important;
    }
}
.nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    font-weight: var(--font-semi-bold);
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
    font-size: 32px;
}

@media (width < 230px) {
    body {
    display: none;
    }
}

@media (width < 1150px) {
    .nav__logo {
        font-size: 24px;
    }
}

.nav__logo i {
    font-weight: initial;
    font-size: 1.25rem;
}

.nav__toggle {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav__burger,
.nav__close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav__close {
    opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
    .nav__menu {
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }

    .nav__menu::-webkit-scrollbar {
        width: 0;
    }

    .nav__list {
        background-color: var(--black-color);
    }
}

*::-webkit-scrollbar {
    width: 5px;
    color: #000080;
    background-color: #000080;
}

*::-webkit-scrollbar-thumb {
    background-color: #000080;
    border-radius: 5px;
}

*::-webkit-scrollbar-track {
    background-color: #ffffff;
}

*::selection {
    background-color: red;
    color: var(--white);
}

.nav__link {
    color: var(--white-color);
    background-color: var(--black-color);
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color .3s;
    font-size: 24px;
}

.nav__link:hover {
    background-color: var(--black-color-light);
}

/* Show menu */
.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__close {
    opacity: 1;
    transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
    cursor: pointer;
}

.dropdown__arrow {
    font-size: 1.25rem;
    font-weight: initial;
    transition: transform .4s;
}

#cap1 {
    font-size: 24px;
}

.dropdown__link,
.dropdown__sublink {
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    color: var(--white-color);
    background-color: var(--black-color-light);
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: var(--font-semi-bold);
    transition: background-color .3s;
}

.dropdown__link i,
.dropdown__sublink i {
    font-size: 1.25rem;
    font-weight: initial;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
    background-color: var(--black-color);
}

.dropdown__menu,
.dropdown__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover>.dropdown__submenu {
    max-height: 1000px;
    transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
    margin-left: auto;
}

.dropdown__sublink {
    background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
    .nav-admin-container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }

    .nav__link {
        width: 130px;
    }
}

/* For large devices */
@media screen and (min-width: 1118px) {

    .nav {
        height: calc(var(--header-height) + 0.5rem);
        display: flex;
        justify-content: space-between;
    }

    .nav__toggle {
        display: none;
    }

        .nav__link {
            font-size: 24px;
        }
    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 1rem;
    }

    .nav__link {
        height: 100%;
        padding: 0;
        /* justify-content: initial; */
        column-gap: .25rem;
    }

    .nav__link:hover {
        background-color: transparent;
    }

    .dropdown__item,
    .dropdown__subitem {
        position: relative;
    }

    .dropdown__menu,
    .dropdown__submenu {
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: 0;
        top: 62px;
        opacity: 0;
        width: 200px;
        pointer-events: none;
        transition: opacity .3s, top .3s;
    }

    .dropdown__link,
    .dropdown__sublink {
        padding-inline: 1rem 3.5rem;
    }

    .dropdown__subitem .dropdown__link {
        padding-inline: 1rem;
    }

    .dropdown__submenu {
        position: absolute;
        left: 100%;
        top: .5rem;
    }

    /* Show dropdown menu */
    .dropdown__item:hover .dropdown__menu {
        opacity: 1;
        top: 5.5rem;
        pointer-events: initial;
        transition: top .3s;
    }

    /* Show dropdown submenu */
    .dropdown__subitem:hover>.dropdown__submenu {
        opacity: 1;
        top: 0;
        pointer-events: initial;
        transition: top .3s;
    }
}

.dropdown__link:hover {
    background-color: floralwhite;
    color: #242423;
}

.dropdown__sublink:hover {
    background-color: floralwhite;
    color: #242423;
}

.nav__link:hover {
    background-color: floralwhite;
    color: #242423;
}

.nav__link {
    width: 130px;
}

@media (width < 765px) {
    .nav__link{
        width: 100% !important;
        justify-content: space-between;
    }

}

@keyframes waviy {

    0%,
    40%,
    100% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-20px);
    }
}

.nav__link {
    width: 180px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.wave {
    position: relative;
    max-width: 400px;
    width: -webkit-calc(100%-220px);
    background-color: #242423;
    -webkit-box-reflect: below -20px linear-gradient(transparent, rgba(255, 251, 251, 0.363));
    padding: 20px;
}

@media (width < 500px) {
    .wave {
        left: 150px;
        max-width: calc(100%-80px)
    }

    .wave span {
        font-size: 20px !important;
    }
}

thead {
    position: sticky;
    top: 65px;
    background-color: #fff;
    z-index: 1;
}

.wave span {
    color: white;
    position: relative;
    display: inline-block;
    font-size: 28px;
    animation: waviy 1s infinite;
    text-transform: uppercase;
    animation-delay: calc(.1s * var(--i))
}

.lodingout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Adjust the alpha value for the desired darkness */
    backdrop-filter: blur(8px);
    /* Adjust the blur value as needed */
    z-index: 1000;
    /* Make sure it's above other elements */
    display: none;
    /* Initially hide the overlay */
}

#loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    z-index: 1000;
}

@media (width < 500px) {
    .wave {
        padding: 10px;
        left: 50%;
    }

    #loading-spinner {
        left: 51%;
    }
}

* {
    font-family: 'Times New Roman', Times, serif;
}