@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Comic Neue', cursive;
    margin: 0;
}

html {
    height: -webkit-fill-available;
    width: 100%;
}

body {
    margin: 0;
    background-color: rgb(255, 255, 255);
    color: #020202;
    height: 100%;
    width: 100%;
}

.container {
    height: 100%;
    width: 100%;
    padding: 0 !important;
    background-color: #ffffff;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-width: none !important;
    overflow: hidden;
}

.nav {
    display: flex;
    min-height: 55px;
    background-color: #131921;
    align-items: center;
    width: 100%;
}

.pageTitle {
    flex: 1;
    margin-left: 0.5%;
}

.pageTitle a {
    text-decoration: none;
    color: rgba(255, 255, 255);
    font-weight: bold;
    font-size: 1vw;
}


.content {
    width: 100%;
    overflow-y: scroll;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.login button {
    background-color: #198754;
    padding: 10px;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.3s;
}

.login button:hover {
    opacity: 1;
}

.fade {
    visibility: hidden;
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #020202;
    opacity: 0.1;
    z-index: 0;
    transition: visibility 0.3s linear, opacity 0.3s linear;
}

.loginForm {
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    min-height: 30%;
    width: 25%;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.836);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 0.3s ease-in-out;
    background-color: #ffffff;
}

.loginFormHeader {
    padding: 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.loginForm form {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.loginForm form h1 {
    display: inline-block;
    flex: 1;
    font-size: 20px;
}

.loginForm form input[type="text"],
.loginForm form input[type="password"],
.loginForm form input[type="email"],
.loginForm form input[type="number"] {
    padding: 5% 12px;
    flex: 1;
    border: none;
    border-radius: 5px;
    border-radius: 0px 5px 5px 0px;
}

.loginForm .input {
    margin-top: 2%;
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem !important;
    border: solid black 0.3px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
}

.loginForm .input:active {
    border: none;
}

.loginForm .input .icon {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 5%;
    border-radius: 5px 0px 0px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submitLoginForm {
    padding: 4% 2%;
    margin-top: 5%;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    background-color: #198754;
    color: #ffffff;
    border-radius: 5px 5px 0px 0px;
    opacity: 0.8;
    border: none;
}

.registerBtn {
    padding: 3% 2%;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    border: solid rgba(0, 144, 231, 1) 1px;
    color: #ffffff;
    border-radius: 0px 0px 5px 5px;
    opacity: 0.8;
    background-color: rgba(0, 144, 231, 1);
}

.registerBtn:hover,
.submitLoginForm:hover {
    opacity: 1;
    cursor: pointer;

}

.closeLoginForm {
    font-size: 20px;
    opacity: 0.6;
    border: none;
    cursor: pointer;
    color: #020202;
    background-color: #ffffff;
}

.closeLoginForm:hover {
    opacity: 1;
}

.forgetPassword {
    border: none;
    cursor: pointer;
    background-color: transparent;
    margin-top: -10px;
    opacity: 0.7;
}

.forgetPassword:hover {
    border: none;
    cursor: pointer;
    background-color: transparent;
    margin-top: -10px;
    opacity: 1;
}

.profile {
    /* background-color: #b4afaf; */
    width: 40px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 15px;
    opacity: 0.9;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    flex-direction: row;
}

.profileAvatar {
    width: 45px;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.profileDetails .profileAvatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgb(0, 0, 0);
    padding: 2px;
}

.profile:hover {
    opacity: 1;
}

.profileDetails {
    visibility: hidden;
    position: absolute;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 5px 2px rgb(0, 0, 0);
    -moz-box-shadow: 0 0 5px 2px rgb(0, 0, 0);
    box-shadow: 0 0 5px 2px rgb(0, 0, 0);
    min-width: 300px;
    min-height: 300px;
    margin-top: 370px;
    margin-right: 270px;
    border-radius: 10px;
    color: #020202;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.profileDetails button {
    width: 100%;
    height: 40px;
    cursor: pointer;
    opacity: 0.9;
    font-weight: bold;
    background-color: transparent;
    border-radius: 10px;
    margin: 1px;
    background-color: #b43030;
    border-color: #b43030;
    color: #ffffff;
}

#manageAccountBtn {
    color: rgba(0, 144, 231, 1);
    background-color: #ffffff;
    border-color: rgba(0, 144, 231, 1);
}

.profileDetails button:hover {
    opacity: 1;
}

.adminPanelBtn {
    padding: 1%;
    font-weight: bold;
    background-color: rgba(0, 144, 231, 1);
    color: #fff;
    border-radius: 5px;
    box-shadow: 2px 2px 2px black;
    cursor: pointer;
}

.sideNav {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sideNav *:hover {
    color: rgba(255, 255, 255, 1);
}

.sideNavMenuBtn {
    font-size: 1.5vw;
    padding: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.sideNav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    padding: 10px;
    display: flex;
    align-items: center;
}

.sideNavIcon {
    font-size: 20px;
}

.sideNavContent {
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #191c24;
    min-width: 15vw;
    box-shadow: 3px 3px 3px black;
    z-index: 1;
}

.sideNavContent a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: rgba(248, 248, 248, 0.5);
    font-size: 1vw;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.sideNavContent a i {
    margin-right: 10px;
}

.sideNavContent a:hover {
    color: rgba(248, 248, 248, 1);
    background-color: #15171b;
}

.sideNavContent a:active {
    color: rgba(248, 248, 248, 1);
    background-color: #15171b;
}

.pcNav {
    background-color: #232f3e;
}

.sideNavClostBtn {
    color: #fff;
    font-size: 3vh;
    float: right;
    padding: 10px;
    cursor: pointer;
}

.profile i {
    font-size: 1.3vw;
}

.profileDetails i {
    font-size: 4vw;
}

@media only screen and (max-width: 1350px) {
    .profile i {
        font-size: 2vw;
    }
}

@media only screen and (max-width: 1000px) {
    .loginForm {
        width: 40%;
    }

    .pageTitle a {
        font-size: 2vw;
    }

    .adminPanelBtn {
        padding: 2%;
    }

    .sideNavMenuBtn {
        font-size: 4vw;
        padding: 5;
    }

    .sideNavContent {
        min-width: 40%;
    }

    .sideNavContent a {
        font-size: 3vw;
    }

    .sideNavClostBtn {
        font-size: 5vw;
    }

    .pcNav a {
        font-size: 2vw;
    }

    .profile i {
        font-size: 3vw;
    }

    .profileDetails i {
        font-size: 6vw;
    }
}

@media only screen and (max-width: 600px) {
    .loginForm {
        width: 80%;
    }

    .pageTitle a {
        font-size: 3.5vw;
    }

    .adminPanelBtn {
        padding: 3.5%;
        font-size: 3.5vw;
    }

    .sideNav i {
        font-size: 8vw;
        padding: 5;
    }

    .sideNavContent {
        min-width: 50%;
    }

    .sideNavContent a {
        font-size: 5vw;
    }

    .sideNavClostBtn {
        font-size: 9vw;
    }

    .pcNav a {
        display: none;
    }

    .profile i {
        font-size: 5vw;
    }

    .profileDetails i {
        font-size: 11vw;
    }
}