:root {
    --main-color: #2a3647;
    --secondary-color: #29abe2;
    --background-color: white;
    --hover-color: #091931;
    --text-color: white;
}

body {
    margin: 0;
    background-color: #f5f5f5;
    font-family: "Inter";
    font-weight: 400;
}

/* SIDE/NAVBAR */

.sidebar {
    width: 232px;
    height: 100vh;
    background-color: var(--main-color);
    color: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: fixed;
}

.sidebarLogo {
    width: 100px;
    height: auto;
    margin-top: 60px;
    margin-bottom: 60px;

}

.sidebarNav {
    height: 229px;
    display: flex;
    flex-direction: column;
    width: inherit;
    justify-content: center;
    gap: 15px;
}


.sidebar a {
    text-decoration: none;
    color: rgba(205, 205, 205, 1);
    font-size: 16px;
    line-height: 19.2px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 25%;
    box-sizing: border-box;
    gap: 8px;
    width: inherit;
    cursor: pointer;
}

.sidebarNavHover:hover {
    background-color: rgba(56, 72, 95, 1);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.footer {
    width: inherit;
    height: 317px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 4px;
    margin-bottom: 52px;
    color: rgba(168, 168, 168, 1);
}

.footerHover{
    display: block;
}

.footerHover:hover {
    color: var(--secondary-color);
    font-weight: 700;
}

.hover:hover{
    cursor: pointer;
}

.main-content {
    background-color: var(--background-color);
    margin-left: 232px;
    width: calc(100% - 232px);
    font-weight: normal;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.active-link {
    background-color: #091931;
}

.active-link:hover {
    background-color: #091931;
}

/* USER HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 30px;
    height: 96px;
}

.headerTitle {
    padding-left: 96px;
    font-weight: 400;
    font-size: 20px;
}

header .user-info {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.help-icon {
    transition: transform 0.3s ease;
}

header .help-icon:hover {
    transform: scale(1.2);
}

header .user-info .user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #bdc3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: #2c3e50;
    font-weight: bold;
}

header img {
    padding: 10px;
    margin-right: 40px;
}

.cricleHeader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    width: 48px;
    border: 3px solid #2A3647; 
    border-radius: 100%; 
    color: #29ABE2;
    font-weight: 700;
    font-size: 20px;
}

/* USER DROPDOWN MENU */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropimg {
    width: 50px;
    height: auto;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--main-color);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 15px 0px 15px 15px;
    top: 86px;
    right: 0;
    z-index: 1000;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 20px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--hover-color);
    border-radius: 15px 0px 15px 15px;
}

.dropdown:hover .dropimg {
    filter: brightness(0.8);
}

.show {
    display: block;
}

.smallLogo {
    display: none;
}

.hidden {
    display: none !important;
}

/*-------------------
--- Media Queries ---
---------------------*/
@media (max-width: 1025px) {
    .main-content {
        position: fixed;
        top: 0;
        display: flex;
        align-items: center;
        width: 100%;
        height: 80px;
        margin-left: 0;
        z-index: 1000;
    }

    .hidden {
        display: block !important;
    }

    .welcome {
        display: none;
    }

    header {
        justify-content: space-between;
        padding: 0 20px;
        width: 100%;
        height: 80px;
        box-sizing: border-box;
        z-index: 1000;
        margin-right: 0px;
    }

    .help-icon, .headerTitle {
        display: none;
    }

    .dropimg {
        right: 0; 
    }

    .sidebar {
        height: 80px;
        right:0;
        left:0;
        width:100%;
        position: fixed;
        bottom: 0;
        
        z-index: 1000;

    }

    .sidebarLogo {
        display: none;
    }
    .sidebar a {
        padding: 0px;
    }

    .sidebarNav {
        flex-direction: row;
        align-items: center;
    }

    .sidebarNav a {
        flex-direction: column; 
        padding: 10px;
        width: auto;
        justify-content: center;
        text-align: center;
    }

    /* h1 {
        margin: 0;
        padding-left: 50px;
        padding-top: 50px;
    } */

    .smallLogo {
        display: block;
        width: 40px;
    }

    .sidebarNavHover:hover {
        border-radius: 16px;
    }

    .active-link {
        border-radius: 16px;
    }

    .footerHover {
        margin-top: 200px;
        display: none;
    }

    .footer{
        height:unset;
        margin-bottom:unset;
    }
}

@media (max-width: 400px) {
    .sidebarNav img {
        width: 20px;
    }

    .sidebarNav a {
        font-size: 12px;
    }

}

@media (max-height: 670px){
    #dropdown-toggle{
        right: 20px;
        position: fixed;
    }

}
