.menu {
    background-color: #eaf7f4;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 210px 1fr;
    padding: 0;
    z-index: 101;
}

.menu-left {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 101;
}

.menu-right {
    margin-left: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 230px;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 101;
}

.menu-center {
    margin: auto;
    position: relative;
    min-height: 40px;
    width: 210px;
    z-index: 101;
}

    .menu-center img {
        left: 0;
        top: -32px;
        width: 100%;
        max-width: 210px;
    }

.menu a {
    font-family: 'Montserrat', sans-serif;
    color: #3a8769;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    width: 100%;
    display: inline-block;
    padding: 0;
    font-weight: bold;
}


.menu .inciar-sesion {
    font-size: 10px !important;
    padding: 10px 0px 10px 0px;
    max-width: 200px;
    margin-left: 20px;
    border: 1px solid #3a8769;
    background: #3a8769;
    color: white;
    font-weight: bold;
}

.user, .bars {
    display: none;
    position: fixed;
    z-index: 103;
    color: #3a8769;
    top: 5px;
    font-size: 25px;
}

.user {
    left: 30px;
    top: 11px;
}

    .user i {
        font-size: 25px;
    }

.bars {
    right: 30px;
}

@media (max-width: 1250px) {
    .menu {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 60px;
    }

    .menu-center img {
        position: inherit;
        max-width: 174px;
    }

    .menu .menu-right, .menu .menu-left {
        display: none;
    }

    .user, .bars {
        display: block;
    }
}


#mobileMenu {
    display: none;
    color: #3a8769;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

#mobileMenuBg {
    position: fixed;
    top: 0px;
    bottom: 0;
    right: 0;
    background: #3a8769;
    opacity: 0;
    transform: translateX(105%);
    z-index: 100;
    transition: all .3s ease;
    width: 70%;
}

@media only screen and (max-width: 1250px) {
    .nav-right {
        display: none;
    }

    #mobileMenu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        right: 5px;
        top: 12px;
        z-index: 104;
    }


    #mobileMenuBg.clicked {
        opacity: 1;
        transform: translateX(0%);
        transition: all .3s ease;
    }
}


#mobileMenuBg ul {
    list-style-type: none;
    font-family: 'Montserrat', sans-serif !important;
    text-align: center;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    row-gap: 6%;
}

#mobileMenuBg a, #mobileMenuBg a:visited {
    text-decoration: none;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif !important;
    color: #eaf7f4;
}

#mobileMenuBg .inciar-sesion {
    padding: 10px;
    background: #eaf7f4;
    color: #3a8769;
    font-size: 13px;
}


    #mobileMenuBg .inciar-sesion:visited {
        padding: 10px;
        background: #eaf7f4;
        color: #3a8769;
    }
