/* Header Styling */

.top--section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    
}

.nav {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--side--nav-bg-color);
    top: 0;
    right: 0;
    height: 100vh;
    left: 0%;
    z-index: 100;
    transform: translateX(100%);
    transition: all ease-out 0.5s;
    text-align: center;
}

.nav.show {
    transform: translateX(0);
}

.nav--items {
    list-style-type: none;

}

.nav--items__item {
    margin: 32px;
}

.nav--items__item a {
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
    transition: all ease-out 0.4s;
}

.nav--items__item a:hover {
    color: var(--light-san-juan-blue);
}

.humberger--menu {
    position: relative;
    cursor: pointer;
    z-index: 120;
}

@media only screen and (min-width: 768px) {
    .top--section__header {
        height: 10vh;
        padding: 42px;
    }

    .nav {
        position: static;
        flex-direction: row;
        justify-content: space-between;
        transform: translateX(0);
        transition: none;
        background-color: transparent;
    }

    .nav--items {
        display: flex;
        align-items: center;
    }

    .nav--items__item {
        margin: 18px;
    }

    .nav--items__item a {
        color: var(--light-san-juan-blue);
        font-weight: bold;
        cursor: pointer;
        font-size: 1rem;
    }

    .nav--items__item a:hover {
        color: var(--san-juan-blue);

    }

    .humberger--menu {
        display: none;
    }
}

@media only screen and (min-width: 992px) {
    .top--section__header {
        padding: 48px 100px;
    }

    .nav {
        flex: 1;
        margin-left: 48px;
    }
}