/* 
* Ce fichier permet de gérer le CSS du header. Il est normalement
* appelé sur toutes les pages.
*/

.mobile-menu-btn {
    background-color: transparent;
    border: none;
    display: none;
}

.mobile-menu-btn:hover {
    cursor: pointer;
}

.mobile-menu-btn img {
    width: 2rem;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
} 

.header-title {
    display: inline;
}

.header-links-container {
    width: 50%;
}

.header-links-container--pages {
    text-align: right;
}

.header-link {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-family: poppins, sans-serif;
    font-weight: 200;
    color: inherit;
    text-decoration: none;
}

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

.header-link--legals {
    margin-right: 2rem;
}

.header-link--pages {
    margin-left: 2rem;
}

@media screen and (orientation: portrait) {

    .mobile-menu-btn {
        display: inline;
    }

    .mobile-menu-btn img {
        width: 3rem;
    }

    header {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        background-color: white;
        z-index: 9999;
        width: 100vw;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .header-links-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .header-link {
        font-size: 1.5rem;
        margin: 2.5rem 0 0 0;
    }
}

