:root {
    --color-background-hover-primary: #093ECB;
    --color-background-active-primary: #0A3198;

    --color-background-hover-secondary: #E6ECFF;
    --color-background-active-secondary: #D4DEFF;
    --color-border-hover-secondary: #093ECB;
    --color-border-active-secondary: #0A3198;

    --color-text-hover-link: #0D4CF2;
    --color-text-active-link: #0A3198;
}

.navbar {
    padding: 0;
    margin: 0;
    top: 0px;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    width: 100%;
    height: 84px;
    position: fixed;
    background: rgba(248, 248, 248, 0.5);
    backdrop-filter: blur(10px);
    font: normal normal 600 18px/24px Mulish;
    opacity: 1;
    z-index: 1;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#headernotificationcontainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 42px;
    color: #ffffff;
    font: normal normal 600 16px/22px Mulish, sans-serif;
    text-align: center;
    padding: 10px 16px;
    z-index: 1000;
}

.headernotificationcontainerGreen {
    background-color: #6dad2b;
}

.headernotificationcontainerRed {
    background-color: red;
}


#headernotificationtext {
    max-width: 1280px;
    margin: 0 auto;
    font-weight: 600;
}

.header-visible ~ .navbar {
    top: 42px;
}

@media (max-width: 800px) {
    #headernotificationcontainer {
        font-size: 12px;
        line-height: 14px;
    }
}

@media (max-width: 386px) {
    #headernotificationcontainer {
        font-size: 10px;    
    }
}

.nav-wrapper {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 16px;
}

.nav-btn {
    cursor: pointer;
    text-align: center;
    font: normal normal 600 18px / 24px Mulish;
    letter-spacing: 0px;
    opacity: 1;
    color: #1E1E1E;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.nav-link {
    text-align: center;
    letter-spacing: 0px;
    text-decoration: none;
    font: normal normal 600 16px/24px Mulish;
    color: #222222;
    opacity: 1;
    cursor: pointer;
    padding: 0px 4px;
}

.nav-link:hover {
    color: var(--color-text-hover-link);
}

.nav-link:active {
    color: var(--color-text-active-link);
}

.nav-link.disabled {
    color: #4285F4;
    border-bottom: 3px solid #4285F4;
    cursor: default;
}

.nav-link:focus-visible {
    outline-offset: -1px;
    border-radius: 2px;
}

.text-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

#brand {
    padding: 4px 4px;
}

.brand {
    cursor: pointer;
    float: left;
    height: 40px;
    opacity: 1;
}

.brand-img {
    background: transparent 0% 0% no-repeat padding-box;
    opacity: 1;
}

.btn-signup {
    cursor: pointer;
    text-decoration: none;
    padding: 10px 24px;
    background: #0D4CF2 0% 0% no-repeat padding-box;
    border-radius: 22px;
    opacity: 1;
    color: #FFFFFF;
}

.btn-signin {
    cursor: pointer;
    text-decoration: none;
    padding: 8px 24px;
    background: #FFFFFF;
    background-repeat: no-repeat;
    background-position: 0% 0%;
    border: 2px solid #0D4CF2;
    border-radius: 22px;
    opacity: 1;
    color: #0D4CF2;
}



.ham-icon {
    display: none;
    float: right;
    height: 56px;
    width: 52px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.ham-svg {
    height: 50%;
    width: 100%;
    fill: black;
}

.ham-icon.active {
    background-color: #F2F2F2;
}

.ham-stick {
    width: 20px;
    height: 2px;
    background-color: white;
    margin: 4px 0;
}

#check {
    display: none;
}

.popup-menu {
    display: none;
    position: fixed;
    top: 56px;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    background: #F2F2F2;
    box-shadow: 0px 4px 10px #00000029;
    border-radius: 0px 0px 8px 8px;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.header-visible ~ .popup-menu {
    top: calc(56px + 42px);
}


.popup-link {
    text-decoration: none;
    text-align: center;
    font: normal normal 600 18px/22px Mulish;
    letter-spacing: 0px;
    color: #222222;;
    opacity: 1;
    width: calc(100% - 32px);
    padding-bottom: 11.5px;
    padding-top: 11px;
}

.popup-link:hover {
    background-color: var(--color-background-hover-secondary);
}

.popup-link:active {
    background-color: var(--color-background-active-secondary);
}

.popup-link-seperator {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.user-profile {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #222222;
    gap: 12px;
}

.profile-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
}

.profile-username {
    font-weight: 500;
    font-size: 1rem;
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-signup:hover {
    background-color: var(--color-background-hover-primary);
    box-shadow: 0 4px 8px #1D243552;
}

.btn-signup:active {
    background-color: var(--color-background-active-primary);
    box-shadow: none;
}

.btn-signin:hover {
    background-color: var(--color-background-hover-secondary);
    border-color: var(--color-border-hover-secondary);
    box-shadow: 0 4px 8px #1D243552;
}

.btn-signin:active {
    background-color: var(--color-background-active-secondary);
    border-color: var(--color-border-active-secondary);
    box-shadow: none;
}


@media (max-width: 824px) {
    .user-profile {
        display: none;
    }
}

@media (max-width: 1921px) {
    .navbar {
        height: 84px;
    }

    .banner-content-container {
        padding-top: 90px;
    }

    .wrap {
        margin-top: 84px;
    }

    nav {
        margin-top: 0px;
    }

    .popup-menu {
        display: none;
    }

    .nav-link {
        line-height: 84px;
    }
}

@media (max-width: 1600px) {

    .navbar {
        height: 64px;
    }
    
    .banner-content-container {
        padding-top: 80px;
    }

    .wrap {
        margin-top: 64px;
    }

    .popup-menu {
        display: none;
    }

    .brand {
        height: 36px;
    }

    .nav-link {
        line-height: 64px;
    }
}

@media (max-width: 824px) {
    .ham-icon {
        display: flex;
    }

    .nav-wrapper {
        padding: 0px;
    }

    #check:checked~ul {
        left: 0;
    }

    .navbar {
        top: 0px;
        height: 56px;
    }

    .banner-content-container {
        padding-top: 62px;
    }

    .wrap {
        margin-top: 56px;
    }

    .brand {
        width: 194px;
    }

    #brand {
        margin-left: 16px;
    }

    .nav-link {
        display: none;
    }

    .nav-links {
        gap: 16px;
    }

    .btn-signin,
    .btn-signup {
        padding: 0px;
        text-align: center;
        letter-spacing: 0px;
        opacity: 1;
        background: none;
        box-shadow: none;
        color: #0D4CF2;
        border: none;
        border-radius: 0px;
        font: normal normal 600 18px/24px Mulish;
    }

    .btn-signin:hover,
    .btn-signup:hover {
        background-color: transparent;
        box-shadow: none;
        color: #222222;
    }

    .btn-signin:active,
    .btn-signup:active {
        color: var(--color-background-active-primary);
    }
}

@media (max-width: 436px) {
    .brand {
        width: 164px;
    }

    #brand {
        margin-left: 8px;
    }
}

@media (max-width: 386px) {
    .brand {
        width: 124px;
    }

    #brand {
        margin-left: 8px;
    }

    .btn-signin , .btn-signup, .nav-link, .popup-link {
        font-size: 14px;
    }
}

@media (min-width: 1922px) {
    .navbar {
        height: 97px;
    }

    .banner-content-container {
        padding-top: 103px;
    }

    .wrap {
        margin-top: 97px;
    }

    .banner-heading {
        margin-top: 24px;
    }

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

    .brand {
        width: 243px;
    }

    .nav-link {
        line-height: 97px;
    }
}
