/*ESTILOS GENERALES*/

@charset "utf-8";

*{
    margin: 0;
    padding: 0;
    box-sizing: none;
    max-width:100%;

}

a{
  text-decoration:none;
   }


/*ESTILOS MENÚ INICIO*/

.primera{
    width: 100%;
    position: absolute;
    
}
body{
    font-family: 'Roboto', sans-serif;
    background-color:gainsboro;
    display: flex;
    flex-direction: column;

}

.barra{
    background-color: whitesmoke; 
    background: linear-gradient( to bottom, white, gray);
    display:inline;
    box-shadow: 1em 1em 5em black;
}


.logo{
    float: left;
    display: flex;

}

.buscar{
    float: right;
    padding: 2em;
}


.hamburguesa{
    float: right;
    padding: 2em;
     
}

.frase{
    margin-top:  9rem;


    
}

footer{
    display:flex;
    justify-content:space-between
}

nav{
    display: flex;
    justify-content: space-between;
    margin: 2em 2em 0 2em;
    overflow: hidden;
    flex-wrap: wrap;
    flex-direction: row;
    
}


nav .contenedor{
    background-color: #fff;
    padding: 1.5em;
    margin: 0em 0 4em 0;
    box-shadow: 1em 1em 5em #eaeaea;
    flex-direction: column;
    border-radius: 1rem;
    border:7px solid #fff;
    align-content: center;
    font-size: 12px;
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    color: #888888;
    transition: all .5s ease;
    
}

nav .contenedor:hover{
color:crimson;
border:7px solid crimson;
transition: all .5s ease;      
}


div#contenedor2{
    width:100%;
    margin:auto;
    }

    *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width:1800%;
}
nav .contenedor img{
    display: block;
    margin-bottom: 0.2em;
    }



footer{
    background-color: #fff;
    border-top-color: #c3c1c1;
    width: 100%;
    bottom: 0;
    position: absolute;



    
}

footer img{
    padding: 1em;
    margin-left: 2em;
    margin-right:2em;



}





/* ------------ menu --------------*/

#menu {
    background-color:snow;
    color: gainsboro;
    position: fixed;
    top: 0;
    right:-50vw;
    height: 100vh;
    width: 50vw;
    border-radius: 1rem;
    transition: all .6s ease;
    z-index: 999;
    font-size:1rem;
    font-family:'roboto', sans-serif;
    max-width: 300px;
}

#menu:target {
    right: 0px;
    transition: all .6s ease;
}

.usuario {
    margin: auto;
    text-align: center;
    font-size: 0.8rem;
   }

.usuario img {
    margin-top: 5rem;
    border-radius: 100%;
    width: 5rem;
    }

#menu a{
    color: red;
    display: block;
    text-align: center;
    text-decoration: none;
    font-size:1rem;
    border-bottom: 1px solid #72dfda;
   }

#menu a:hover{
    color:darkgray;
font-weight:600;
   }

#menu h1{
    font-size:2rem;
    margin:0 auto;
    padding:0.5rem;
    color: darkred;
    }

#menu p{
    font-size:1rem;
    margin:0 auto;
    padding:0;
    margin-bottom:3rem;
}

#menu ul{
    margin: 0;
    padding: 0;
    overflow: hidden;
    width:100%; 
    
}

#menu li{
float:none;
    width:100%;
  }

#menu li a{
    padding:1rem;
    line-height: 80%;
    
    }

#x {
    position: absolute;
    right: 2rem;
    top: 1rem;
    z-index: 999;
    }

#x a{
    text-decoration: none;
}




/* ------------ INICIAR SESIÓN --------------*/


.fondosesion{
    background-image:url("fondo.png");
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-content: center;
    margin: 0 auto;
    
}

.formulario{
    text-align: center;
    flex-direction: column;
    margin-top: 3em;
}

.icono{
    text-align: center;
    margin: 5em 0 2em 0;

}

input {
    font-family: 'roboto', sans-serif;
    width: 25em;
    background-color:whitesmoke;
    box-sizing: border-box;
    border: 0px solid #ccc;
    color: darkred;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    padding: 1rem;
    margin: 8px 0;
    border-radius: 1rem;
    

}
.iniciarboton{
    font-family: 'roboto', sans-serif;
    width: 20em;
    background: linear-gradient(to right, grey, white);
    box-sizing: border-box;
    border: 0px solid #ccc;
    color: darkred;
    margin-bottom: 1rem;
    margin: auto;
    padding: 1rem;
    border-radius: 1rem;
    text-decoration: none;
    text-align: center;
    color: black;
    font-size:1rem;

      
}
ingresar{
     font-family: 'roboto', sans-serif;
    width: 20em;
    background: linear-gradient(to right, grey, white);
    box-sizing: border-box;
    border: 0px solid #ccc;
    color: darkred;
    margin-bottom: 1rem;
    margin: auto;
    padding: 1rem;
    border-radius: 1rem;
    text-decoration: none;
    text-align: center;
    color: black;
    font-size:1rem;
    
}
.registro {
    margin: auto;
    align-content: center;
    margin-top: 3rem;
    text-align: center;
}
.ingresar{
    text-align: center;
    text-decoration: none;
    align-content: center;
    color: black;
    margin: auto;

    
}

/* ------------ SPLASH --------------*/

.splash{
    text-align: center;
    margin: 15em 6em 2em 6em;
}

/* ------------ GALERIA --------------*/

.nota{
    background-color: #fff;
    border-radius: 1rem;
    margin: 0 1em 1em 1em;
    box-shadow: 1em 1em 5em #eaeaea;
}

.nota p{
    font-size: 0.8em;
    color: #a8a8a8;
    padding: 2em;

}


/* ------------ CONTACTO --------------*/

.fondogris{
    background-image:url("img/backgris.jpg");
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-content: center;
    margin: 0 auto;
}

.contactotitulo{
    text-align: center;
    margin: 2em 0 0 0;

}


.escribir input{
    padding-bottom: 5em; 
}

.descripcioncontacto {
    margin: auto;
    align-content: center;
    margin-top: 1rem;
    text-align: center;
    font-size: 1em;
    color: #a3a3a3;
    
}

.flechita{
    text-align: center;
    margin-top: 3em;
    border-radius: 100%;

}


/* ------------ NOTICIAS --------------*/
main{
    width: 70em;
    align-content: center;
    margin: 0 auto;
}

.titulonoticias img{
    margin-top: 2em;
    margin-left: 1em;

}
article{
    background-color: #fff;
    margin: 1.5em 1.5em 0 1.5em;
    border-radius: 1em;
    padding: 1.5em;
    box-shadow: 1em 1em 5em #eaeaea;

}

.datosnoticia{
    font-size: 0.7em;
    color: #a3a3a3;
}

.fuente{
    font-size: 0.7em;
    color: #a3a3a3;
    text-align:right;
    
}

.titulonoticia{
    font-size: 1.5em;
    color: #72dfda;
}

.bajada{
    font-size: 1em;
    color: #a3a3a3;
}

.noticia{
    font-size: 1em;
    color: #a3a3a3;
}

.leermas{
    width: 7em;
    background: #fff;
    box-sizing: border-box;
    border: 3px solid #ccc;
    color: #fff;
    margin-bottom: 1rem;
    margin: auto;
    padding: 0.5rem;
    border-radius: 1rem;
    align-content: center;
    
}

a .leermas {
    text-decoration: none;
    color: #a3a3a3;
    font-size:0.8rem;
    text-align: center;
    align-content: center;
}

a .leermas:hover{
    border: 3px solid crimson;
}


/* ------------ DATOUSUARIO --------------*/

.marturista{
    margin: auto;
    align-content: center;
    margin-top: 4rem;
    text-align: center;
    margin-left: 2em;
    margin-right: 2em;

}


.marturista img{
    border-radius: 100%;
}



.nick{
    font-size: 1em;
    color: #a3a3a3;
}


.nombreusuario{

    font-size: 1.5em;
    color: #72dfda;
}


.profesion{
    font-size: 1em;
    color: #a3a3a3;
}



.edad  {
    font-size: 1em;
    color: #a3a3a3;   
}

.localidad {
    font-size: 0.9em;
    color: #a3a3a3;
}

.proxima{
    font-size: 0.9em;
    color: #a3a3a3;
}
           



.lista{
    align-content: center;
    text-align: center;
    margin-right: 4em;

 
    
}

.listadeportes img{
    border-radius: 1em;
    margin: 2em 2em 2em 2em;

}




/* ------------ VIDEOS --------------*/

.contenedorvideos{
    width: 70em;
    text-align: center;
    box-sizing: border-box;
    margin: 0 auto;
}

.videocomun{
    background-color: #fff;
    border-radius: 1em;
    box-shadow: 1em 1em 5em #eaeaea;
    margin: 1em 1em 1em 1em;
    padding: 1em;

}
.videocomun video{

    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
   

    
}



.videotitulo{
    font-size: 1.5em;
    color: #72dfda;
}

.descripcionvideo{
    font-size: 0.7em;
    color: #a3a3a3;

}

video {
    max-width: 100%;
    height: auto;
    }




.bloques{
    display: flex;
flex-wrap:wrap;
}

.descripción{
    min-width: 20em;
}


.aside{
    width:100%;
text-align:center!important;}


.aside p{
    width:100%;
text-align:center!important;}




.slider {
    width:100%;
    margin:auto;
    overflow: hidden;

  
}


.slider ul {
    display: flex;
    flex-direction: row;
    padding: 0;
    width: 400%;
    animation: cambio 20s infinite;
}

.slider il {
    width: 1200;

}

.slider img {
    width: 100%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

@keyframes cambio {
    0%{margin-left: 0;}
    20%{margin-left: 0;}
    
    25%{margin-left: -100%;}
    45%{margin-left: -100%}
    
    50%{margin-left: -200%;}
    75%{margin-left: -200%}
    
    80%{margin-left: -300%;}
    100%{margin-left: -300%}
}
