* {
    margin: 0;
    padding: 0;
}

header {
    position: fixed;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    transition: 0.7s;
    padding: 20px 20px;
    z-index: 10;
}

header.abajo {
    background: #fff;
    padding: 5px 5px;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.75);
    background-color: white;
}

header.logo {
    position: relative;
    color: #fff;
    font-weight: bold;
    font-size: 2em;
    letter-spacing: 2px;
    transition: 1.5s;
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li { list-style: none; }

header ul li a.nav-link {
    position: relative;
    margin: 20px;
    text-decoration: none;
    letter-spacing: 1px;
    color: white;
}

#logo { width: 80px; }

.idioma, .idioma-menu { display: inline-block; }

#idioma-es, #idioma-en { 
    color: #009B4A; 
    text-decoration: none; 
}

#idioma-es:hover, #idioma-en:hover { color: rgb(150, 150, 150); }

#idioma-es { margin-right: 20px; }

#idioma-en { margin-left: 20px; }

.idiomas {
    margin-top: 28px;
    font-size: 15px;
    color: rgb(150, 150, 150);
}

.scrolled { color: #000000; }

.scrolled:hover { color: #009B4A; }

.original { color: white; }

header a.nav-link.scrolled, header button p.tres-rayas.scrolled { color: #000000; }

header a.nav-link.scrolled:hover { color: #009B4A; }

#menu-toggle { display: none; }

.tacha { color: white; }

.tres-rayas { color: white; }

header.scrolled .tres-rayas { color: black; }

.no-scroll { overflow: hidden; } 



/* Responsive */

#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .85); 
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.9);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.close-button {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
}

@media (max-width: 900px) {

    header.abajo {
        background: rgb(255, 255, 255);
        height: 80px;
    }

    header { height: 70px; }

    nav, .idiomas { display: none; }
    
    .menu-button { display: block; }
    
    #links {
        list-style: none;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    #mobile-menu ul li { margin: 15px 0; }

    .nav-link-menu {
        color: #fff; 
        text-decoration: none;
        font-size: 18px;
        display: block;
    }
    
    .nav-link-menu:hover { color: #009B4A; }

    .idiomas-menu {
        display: inline-block;
        color: rgb(150, 150, 150);
        margin-top: 50px;
    }

    #logo { 
        left: 30px; 
        position: absolute;
    }

    #menu-toggle {
        display: block;
        right: 30px;
        position: absolute;
        background: none;
        font-size: 30px;
        border: none;
        margin-top: 10px;
    }
    
}
