/* Base styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

.the-primary-menu-wrapper {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    background-color: var(--the-blue);
    color: #fff;
    z-index: 10000;
    overflow-y: auto;
    transition: left 0.4s ease;
    padding: 2rem 1rem;
}

.the-primary-menu-wrapper.active {
    left: 0;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.site-menu {
    list-style: none;
    padding: 60px 0 0 0;
    margin: 0;
}

.site-menu li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile and tablet view (0 - 1200px) */
@media (max-width: 1200px) {
    .menu-toggle {
        display: block;
    }

    .the-primary-menu {
        display: block;
    }

    .menu-primary-menu-container li a {
        color: var(--the-white);
    }

    /* Wrapper width by breakpoint */
    .the-primary-menu-wrapper {
        width: 100%;
    }

    @media (min-width: 600px) {
        .the-primary-menu-wrapper {
            width: 50%;
        }
    }
}

/* Desktop view */
@media (min-width: 1201px) {
    .menu-toggle {
        display: none;
    }

    .the-primary-menu-wrapper {
        position: static;
        width: auto;
        height: auto;
        background: none;
        color: inherit;
        padding: 0;
        overflow: visible;
        left: 0;
        margin-top: -45px;
        margin-bottom: 20px;
    }

    .close-menu {
        display: none;
    }

    .the-primary-menu {
        display: flex;
        justify-content: flex-end;
    }

    .site-menu {
        display: flex;
        gap: 2rem;
    }

    .site-menu li {
        border: none;
        padding: 0;
    }
}

.menu-style {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-top: 1px solid var(--the-gray);
    margin-top: 5px;
}

.second-bar {
    position: sticky;
    top: 0;
    background: var(--the-white);
    z-index: 9;
}

#menu-primary-menu li a {
    transition: 500ms ease-in-out;
}

#menu-primary-menu li a:hover {
    color: var(--the-green);
}

#menu-footer-menu li a {
    transition: 500ms ease-in-out;
}

#menu-footer-menu li a:hover {
    color: var(--the-green)
}