header {
    background-color: white;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0.7rem 2rem;
    gap: 2rem;
    font-size: 0.8rem;
    color: black;
}

.pll-switcher-select {
    border-radius: 0.3rem;
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
}

header #hamburger-menu {
    display: none;
}

header #hamburger-menu svg {
    width: 1rem;
    height: auto;
}

.header-logo-container {
    flex-shrink: 0;
    display: none;
}

.header-logo {
    width: 8rem;
    height: auto;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header .link-as-button {
    font-size: 0.8rem;
    font-weight: 500;
}

header #profile-container {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    letter-spacing: normal;
}

header .avatar {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 0.5rem;
}

header #profile-container svg {
    width: 0.6rem;
    height: auto;
}

header #profile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    top: 90px;
    right: 40px;
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px #0000001A;
    z-index: 99;
}

header .profile-menu-item a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

header .profile-menu-item svg {
    width: 1rem;
    height: 1rem;
}

header .link {
    color: black;
    font-weight: 300;
    height: fit-content;
}

header .link:hover {
    color: black;
    text-decoration: underline;
}

header #login-button {
    background-color: var(--theme-color-primary);
    color: white;
}

header #login-button:hover {
    background-color: var(--course-blue-dark);
}

@media only screen and (max-width: 55rem) {

    header {
        display: grid;
        grid-template-columns: 1fr 4fr 1fr;
        justify-items: center;
        padding: 0rem 2rem;
        gap: 1rem;
    }

    header #hamburger-menu,
    header .header-logo-container,
    nav #nav-close {
        display: flex;
    }

    #header-ecomm-link {
        display: none;
    }
}

@media only screen and (max-width: 25rem) {

    header #profile-container svg {
        display: none;
    }
}

@media only screen and (max-height: 53rem) {

    header {
        font-size: 0.7rem;
    }

    header .link-as-button {
        font-size: 0.7rem;
    }
}
