/* =========================================
   HEADER
========================================= */

.headerMain {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 6rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1110;
    font-family: "Montserrat", sans-serif;
}

/* =========================================
   DESKTOP NAVBAR
========================================= */

.headerMain .navbar {
    height: 4rem;
    border-radius: 2.5rem;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border: 0.125rem solid rgba(38, 38, 38, 0.5);
    display: flex;
    padding: 0.75rem 1.25rem;
    width: max-content;
    gap: 0.625rem;
}

/* =========================================
   NAV TABS
========================================= */

.headerMain .navbar .tab {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 3rem;
    padding: 0 0.625rem;
    margin-top: -6px;
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.headerMain .navbar .tab:hover {
    color: gold;
}

.headerMain .navbar .tab.active {
    background: #1a1a1a;
    outline: 0.125rem solid #262626;
}

.headerMain .navbar .tab.contactUsLink {
    background: #ffffff;
    color: #111111;
    font-size: 12px;
    font-weight: 600;
}

/* =========================================
   NEW BADGE
========================================= */

.headerMain .navbar .tab .newTabHighlight {
    position: absolute;
    top: 0px;
    right: -6px;
    background: red;
    color: white;
    font-size: 8px;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 20px;
}

/* =========================================
   MOBILE TOP LOGO
========================================= */

.topContainer {
    display: none;
}

/* =========================================
   MOBILE MENU
========================================= */

.hamburger {
    display: none;
}

.menubar {
    display: none;
}

/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 1250px) {

    /* Hide desktop navbar */

    .headerMain .navbar {
        display: none;
    }

    /* Header */

    .headerMain {
        width: 100%;
        left: 0;
        transform: none;
        justify-content: flex-start;
        align-items: flex-start;
        height: auto;
    }

    /* Logo */

    .topContainer {
        display: block;
        position: relative;
        width: 100%;
        height: 5.5rem;
    }

    .topContainer.dark {
        background: #000;
    }

    .topContainer .logo {
        position: absolute;
        left: 50%;
        top: 0.5rem;
        transform: translateX(-50%);
        height: 4.5rem;
        width: auto;
        z-index: 100;
    }

    /* Hamburger */

    .hamburger {
        background: transparent;
        border: none;
        outline: none;
        display: block;
        position: absolute;
        top: 1.5rem;
        left: 1rem;
        z-index: 101;
        cursor: pointer;
    }

    .hamburger .icon {
        width: 3rem;
        height: auto;
    }

    /* Menu */

    .menubar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 15, 15, 1);
        padding: 2rem;
        z-index: 100;
        transform: translateX(150%);
        transition: transform 0.5s ease-in-out;
        display: block;
    }

    .menubar.openMenubar {
        transform: translateX(0%);
    }

    /* Menu List */

    .menubar .menuList {
        list-style: none;
        margin-top: 7rem;
        display: grid;
        gap: 1rem;
    }

    .menubar .menuList .tab {
        color: #96979c;
        text-decoration: none;
        font-size: 0.8rem;
    }

    .menubar .menuList .tab.active {
        color: gold;
        font-weight: 600;
    }

    /* The desktop badge is absolutely positioned against its tab. Menu rows are
       full-width blocks, so pin it beside the label instead. */

    .menubar .menuList .tab .newTabHighlight {
        position: static;
        display: inline-block;
        margin-left: 6px;
        vertical-align: middle;
        background: red;
        color: white;
        font-size: 8px;
        font-weight: 600;
        padding: 2px 4px;
        border-radius: 20px;
    }
}

/* =========================================
   GLOBAL
========================================= */

.unstyled-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}