html,
body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

body {
    position: relative;
    font: var(--font-size-regular) 'Open Sans', sans-serif;
}

a {
    color: var(--color-blue-main);
    text-decoration: none;
}

a:hover {
    color: var(--color-blue-main-hover);
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: lightgrey;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.headline {
    margin-top: 0;
    font-size: var(--font-size-xxxllarge);
}

.btn {
    background-color: var(--color-blue-main);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 12px;
    border: none;
    border-radius: 10px;
    font-size: var(--font-size-xxlarge);
    color: white;
    cursor: pointer;

}

.btn:hover {
    background-color: var(--color-blue-main-hover);
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
}

.btn a {
    color: white;
}

.btn-light {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 8px;
    border: 1px solid #647188;
    border-radius: 10px;
    font-size: var(--font-size-xxlarge);
    color: #647188;
    cursor: pointer;
}

.btn-light:hover {
    border-color: var(--color-blue-main-hover);
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
}

::-webkit-input-placeholder {
    /* Edge */
    color: #d1d1d1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #d1d1d1;
}

::placeholder {
    color: #d1d1d1;
}

.border-bottom {
    border-bottom: var(--border);
}

.display-none {
    display: none !important;
}

.pointer {
    cursor: pointer;
}

/* Style for the Header   */
.mainheader {
    height: 100px;
    background-color: #4589ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 5px 4px 0px lightgrey;
    padding-left: 40px;
    padding-right: 40px;
}

.header-logo {
    width: 47px;
    height: 58px;
    object-fit: cover;
}

.header-right {
    /* position: relative; */
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: var(--font-size-large);
    line-height: 0.8;
    color: white;
}

.header-user-img {
    width: 50px;
    height: 50px;
    border: 3px solid white;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.Main-Container {
    display: flex;
}

.header-nav-popup {
    width: 130px;
    background-color: white;
    position: absolute;
    top: 75px;
    right: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px 0 20px 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: var(--color-blue-main);
    transform: scale(0);
    transition: all 75ms ease-in-out;
    z-index: 95;
}

.header-nav-popup-hide {
    display: none;
}

.header-nav-popup:hover {
    background-color: var(--color-blue-light);
}

.header-nav-popup span {
    cursor: pointer;
}

.show-menu {
    transform: scale(1);
}

/* Style for the Sidenav-link  */
.sidebar {
    min-height: calc(100vh - 100px);
    min-width: 230px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.16);
    z-index: 95;
}

.sidebar a {
    color: #42526e;
}

.sidebar-navigation {
    padding: 66px 23px 0;
}

.nav-link {
    width: 185px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 16px 32px;
    border-radius: 8px;
}

.nav-link img {
    width: 22px;
    height: 22px;
}

.legal-notice {
    width: 200px;
    margin-bottom: 112px;
}

.active {
    background-color: var(--color-blue-light);
}

.bg-blue {
    background-color: #D2E3FF;
    padding: 8px 30px;
    border-radius: 8px;
}

@media (max-width: 768px) {

    .mainheader {
        height: 80px;
    }

    .header-item-hide {
        display: none;
    }

    .header-nav-popup {
        width: 180px;
        top: 65px;
    }

    .header-nav-popup:hover {
        background-color: white;
    }

    .header-nav-popup-hide,
    .header-nav-popup-logout {
        width: 100%;
        text-align: center;
        display: initial;
        padding: 4px;
        border-radius: 8px;
    }

    .header-nav-popup-hide:hover,
    .header-nav-popup-logout:hover {
        background-color: var(--color-blue-light);
    }

    .Main-Container {
        height: calc(100vh - 80px);
        flex-direction: column-reverse;
    }

    .header-headline {
        display: none;
    }

    .sidebar {
        min-width: 100%;
        max-height: 70px;
        min-height: unset;
        position: sticky;
        bottom: 0;
        left: 0;
        justify-content: center;
        z-index: 99;
    }

    .sidebar-navigation {
        width: 100%;
        display: flex;
        justify-content: space-around;
        padding: 0 32px;
    }

    .nav-link {
        width: unset;
        gap: 10px;
        padding: 16px;
        border-radius: 0;
    }

    .legal-notice {
        display: none;
    }

}

@media (max-width: 576px) {

    .sidebar-navigation {
        padding: 0 8px;
    }

    .nav-link {
        flex-direction: column;
        gap: 5px;
        padding: 5px;
        align-items: center;
    }

    .btn,
    .btn-light {
        height: 50px;
        font-size: var(--font-size-large);
    }
}