header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    transition: .3s;
    padding: 10px;
    z-index: 10;
}

.headerMain{
    transition: .6s;
}

header.abajo{
    background: white;
    padding: 10px;
    -webkit-box-shadow: 0px 4px 13px -3px #000000; 
    box-shadow: 0px 4px 13px -3px #afafaf;
}

.sombra{
    background: white;
    padding: 10px;
    -webkit-box-shadow: 0px 4px 13px -3px #000000; 
    box-shadow: 0px 4px 13px -3px #afafaf;
}

header .logo{
    position: relative;
    color: #fff;
    transition: 1.5s;
    text-decoration: none;
    width: 250px;
    height:60px;
    max-width: 300px;
    background-image: url(../img/logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    animation: redes .5s ease;
}

header .logoNegro{
    background-image: url(../img/logo_negro.png);
}

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{
    position: relative;
    font-family: helvetica;
    font-size: .8rem;
    margin: 0 15px;
    text-decoration: none;
    color: rgb(90, 90, 90);
    letter-spacing: 2px;
    font-weight: 600;
    transition: 0.7s;
}

header.abajo .logo,
header.abajo ul li a{
    color: #000;
}
header.abajo a:hover{
    color: #5c1111;
}

header a:hover{
    color: rgb(255, 255, 255);
}


.idioma img{
width: 20px;
height: 20px;
margin: 5px 0 0 5px;
}

/*MOVIL*/

.btnMovil{
    position: absolute;
    top: 20px;
    right: 20px;
    width:40px;
    height:40px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
}

.btnMovil img{
    width: 100%;
}

.menuMovil{
    position: absolute;
    top: -100%;
    width:100%;
    background:rgb(32, 32, 32);
    text-align: center;
    line-height: 50px;
    padding: 30px 0;
    transition: all 0.5s;
    z-index: 3;
}

.menuMovil li{
    list-style: none;
}

.menuBaja{
    top: 0;
}

.menuSube{
    top: -70%;
}

.menuMovil a{
text-decoration: none;
color: white;
}


/*RESPONSIVE*/

@media (min-width: 850px){
	.menuMovil{
		display:none;
	}
	.btnMovil{
        display:none;
    }	
    .logoMovil{
        display: none;
    }
	}


@media (max-width: 850px){
	header{
		display:none;
	}
		
	}

   