@import url('https://fonts.googleapis.com/css?family=Encode+Sans:400,800&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "trebuchet ms", sans-serif;
}

img {
    /* para que una imagen nunca sea mayor que la caja que la contiene */
    max-width: 100%;
    height: auto;
}



header,
footer {
    background-color: #336699;
    padding: 0 .25em;
}

body{
    background-color:#333333;
    
}

/*  para limitar el ancho de los contenidos y centrarlos */
.fila {
    max-width: 50em;
    margin: 0 auto;
    padding: .5em;
}

.tamaño{
    height:5em;
}

main{
    

    flex-grow: 1;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}



/*
----------------
encabezado
----------------
*/

header .fila {
    
    /* caja flexible */
    display: flex;
    
    /* elementos colocados en los extremos del eje principal */
    justify-content:space-around;
    
    /* elementos centrados en el eje secundario */
    align-items: center;
}

#logo {
    display: block;
    width: 5em;
}

#llamamenu {
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    height: 2em;
    width: 2em;
    position: relative;
    z-index: 9999;

    /* caja flexible */
    display: flex;
    /* centrado en la horizontal */
    justify-content: center;
    /* centrado en la vertical */
    align-items: center;
}


/* menu desplegable */

header nav {
    background-color: rgba(35, 75, 96, 0.85);
    color: #151414;
    position: fixed;
    right: -50vw;
    top: 0;
    height: 100vh;
    min-width: 50vw;
    transition: all .3s ease;
    z-index: 9998;
}

/*header nav:target,*/
header nav.menuvisible {
    right:0;
    transition: all .6s ease;
}
 
ul{
    list-style: none;
}
.usuario {
    margin: auto;
    text-align: center;
    font-size: 75%;
    padding: 3em 1em 1em 1em;
    border-bottom: solid 1px rgba(255,255,255,.25);
}
.usuario img {
    border-radius: 50%;
    width: 25vmin;
    height: 25vmin;
    max-width: 15em;
    max-height: 15em;
    border: 4px solid gray;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .25) inset, 0 .35em .5em rgba(0, 0, 0, .25);
}

header nav a {
    color: rgba(239, 227, 227, 0.75);
    display: block;
    padding: .5em 1em;
    text-align: center;
    text-decoration: none;
}

header nav a:hover {
    color: white;
}


/* contenidos */

.medio{
    
    display: flex;
    justify-content: center;
    
     

}

.chiqui{
    
    height: 19em;
}



.fondo{
    background-color: #6b9a9a;
}

/* titulos */

.none{ 
    font-family: "encode sans", "sans-serif";
    background-color: none;
    color:white;
    font-size: bold;
    text-transform: uppercase;}

h1,h2,h3 {
    list-style: none;
    color:white;
    box-sizing: inherit;
    margin-top:0.4em;
    margin-bottom: 0.4em;
    padding: 0.5em;
    font-family: "encode sans", "sans-serif";
    color: aliceblue;
    text-transform: uppercase;
    font-style: italic;
    background-color:#339999;
    border-color: black;
    width: 100%;
    
   
    /*border-radius: 50em;
    width: 100%;*/
    
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}







main{
    
    display: flex;
    
    flex-direction: column;
    
    justify-content: space-between;
    
    
    
   
    
   
 
} 

.orden{
     display: flex;
    justify-content: center;
    
   
    
    


    
}

/*imagen proximo rival*/


main div img{
    height: 25em;
    background-color: #fff9f9;
    border: 0.3em solid #336699;
    border-radius: 10%;
    box-shadow: 0 0.35em 0em rgba(0, 0, 0, .35) inset, 0 0.35em 0.5em #336699
    
}

/* imagenazulestadisticas */
.img{
    
    height: 15em;
    margin-bottom: 2em;
    /*background-color: #d8cccc;
    border: .5em solid #336699;
    border-radius: 1em;
    box-shadow: 0 0.35em 0em rgba(0, 0, 0, .35) inset, 0 0.35em 0.5em #336699*/
    
}


main section h1{
    align-items: none;
    
}
main section p{
    font-family: "encode sans", sans-serif;
    background-color:#0089ff;
    margin-left: 5em;
    margin-right: 5em;
    border-radius: 5em;
}

.secion{
    background-color: antiquewhite;
}

/*aside2{
    background-color: #5b88af;}*/


/*parrafoESTADISTICAS Y TECNICO*/

p{ 
    color:white;
    font-family:sans-serif;
    font-weight: lighter;
    text-transform: inherit;
   
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 2em;
    margin-bottom:2em;
    font-family: "encode sans"; "sans serif"
    
}

.alain{
    text-align: center;
    font-weight: bold;
    
}

.margin{
    margin-bottom: 3EM;
    text-align: center;
}

.margine{
    margin-bottom: 5EM
}


.margenes{
    
    margin-left: 1em;
    margin-right: 1em;
}

/*parrafoFOOTER*/

p3{color:white;
    font-family:sans-serif;
    font-weight: lighter;
    text-transform: inherit;
    background-color: none;
   
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 2em;
    margin-bottom:3em;
    font-family: "encode sans"; "sans serif"
}


p4{ color:white;
    font-family:sans-serif;
    font-weight: lighter;
    text-transform: inherit;
   
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 2em;
    margin-bottom:3em;
    font-family: "encode sans"; "sans serif"
    
}


/*parrafoMAIN*/
p1{ color:white;
    font-family:sans-serif;
    font-weight: lighter;
    text-transform: inherit;
   
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 1em;
    margin-bottom:3em;
    font-family: "encode sans"; "sans serif"
    
}

aside p{
    font-family: "encode sans", sans-serif;
}

aside1{
    color:white;
    font-family:sans-serif;
    font-weight: lighter;
    text-transform: inherit;
    text-align: center;
    
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-content: center;
    align-items: center;
}
}

aside2{
    
    
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-content: center;
    align-items: center;
}

aside2 img{
    
    height:3em;

    
}

aside3{ 
    display: flex;
    flex-direction:column;
    justify-content:space-between;
    align-content: center;
    align-items: center;}

aside3 img{
    display: flex;
    
    border-radius: 50%;
    width: 25vmin;
    height: 25vmin;
    max-width: 15em;
    max-height: 15em;
    border: 4px solid gray;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .25) inset, 0 .35em .5em rgba(0, 0, 0, .25);
    
}
aside4{
    
    color:white;
    font-family:sans-serif;
    font-weight: lighter;
    text-transform: inherit;
    text-align: center;
    
    
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-content: center;
    align-items: center;
}


.iconosrivales{
    display: block;
    justify-content:center;
    align-content: center;
    margin-left: auto;
    margin-right: auto;

  
}

/*imagen entrenamiento*/
.ent{
    height: em;
    
    background-color: #fff9f9;
    border: 0.3em solid #336699;
    border-radius: 10%;
    box-shadow: 0 0.35em 0em rgba(0, 0, 0, .35) inset, 0 0.35em 0.5em #336699
    
}

/*perfil*/

.perfil{
    display: flex;
    
    border-radius: 50%;
    width: 50vmin;
    height: 50vmin;
    max-width: 15em;
    max-height: 15em;
    border: 4px solid gray;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .25) inset, 0 .35em .5em rgba(0, 0, 0, .25);
}

.pasion{
    text-transform: uppercase;
    background-color: #565660;
    border-radius: 40em;
    padding: 1em;
    
    
}
/*para links*/

.fondo{
    background-color: #f75d5d;
    border-radius: 35em;
    width: 100%;
    padding: 0.2em;
}

/*Entrenamiento*/

 


.posi{
    
    height: 16em;
    background-color: #fff9f9;
    border: 0.3em solid #336699;
    border-radius: 10%;
    box-shadow: 0 0.35em 0em rgba(0, 0, 0, .35) inset, 0 0.35em 0.5em #336699
}

.fl{
    display: flex;
    justify-content: center;
}
.centro{
    display: flex;
    justify-content: center;
}

.padi{
    margin: 1em;
}

.abajo{
    margin-bottom: 6em;
}

.fles{
    display: flex;
    justify-content: center;
    
}

.pos{
    margin:4em;
}

/*fin imagen Entrenamiento*/

footer{
    background-color:rgba(232, 232, 237, 0.04);
}

.dt{ 
    
    color:white;
    box-sizing: inherit;
    margin-top:1em;
    margin-bottom:;
    padding: 0.5em;
    font-family: "encode sans", "sans-serif";
    color: aliceblue;
    text-transform: uppercase;
    font-style: italic;
    background-color:#339999;
    border-color: black;
    width: 100%;
    
   
    /*border-radius: 50em;
    width: 100%;*/
    
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;}

/* footer */

.pantalla{ 
display: flex;
flex-direction: column;
justify-content: center;
}

.chique{
    height: 1.5em;
}
    
.chiques{height: 2em;
    background-color: #106edb;
    border-radius: 90%;
    
}



/*footer nav ul{
    display: flex;
    justify-content:space-between;
    padding: 1em;
   
}*/
/* forma boton */

.forma{
    border-radius: 5em;
 
}
.explorar{
   
    background-color: #336699;
    border: px solid rgba(0,0,0,.25);
    border-radius: 0%;
    box-shadow: 0 .15em .1em rgba(0,0,0,.215);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-around;
    font-size: 2rem;
    padding: 0.3em;
    
    width: 100%;
    height: 4rem;
    
    /* para salir del "flujo de información" del fondo 
    y colocase en una capa superior fija */
    position: fixed;
    bottom: 0rem;
    right: 0rem;
}
   


.icono{
    display: none;
}

.asaiddos{
    margin: 5em;
    padding: 1em;
}


.fl{
    display: flex;
    justify-content: center;
}

.perfilest{
    background-color: #4477c9;
    border-radius: 3em;
    border-color: black;
}

.botonera{
    border-radius: 5em;
    border: 4em;
    border color: black;
    margin-right: 1em;
}

.pesado{
    font-weight: bold;
    text-align: center;
}



.m{
    width: 90%;
    margin-left: 1em;
    margin-right: 1em;
}

/* reglas que se aplicarán cuando la ventana del navegador mida igual o más de 560px menu desplegable y fondo de perfil*/ 
@media (min-width: 35em) {
    
    header nav {
        
        background-color: rgba(15, 74, 118, 0.53);
        position: relative;
        right: auto;
        top: auto;
        height: auto;
        min-width: auto;
        align-items:center;
    }
    
    
    
    
    header nav ul {
        display: flex;
        
        
       
    }
    
    #llamamenu,
    .usuario {
        display: none;
    }
    .icono{
        display: block;
        height: 5em;
        
        
    }
    
    
    
    
}
/* cambia color fondo perfil */
    @media (min-width: 40em) {
     
        .blanco{
        background-color: #020101;
    }
}

/* cambia color fondo posicion */
    @media (min-width: 82em) {
        
        header nav {
        
        background-color: rgba(15, 74, 118, 0);
        position: relative;
        right: auto;
        top: auto;
        height: auto;
        min-width: auto;
        align-items:center;
    }
    
        .renue{
            display: flex;
            justify-content:space-around;
            flex-direction:column;
            background-color: rgba(156, 248, 248, 0.71);
            
        }
        .uait{
            color: #000000;
            font-family: "encode sans", "sans serif"
        }
        .posi{
    
    height: 45em;
    background-color: #fff9f9;
    border: 0.3em solid #336699;
    border-radius: 10%;
    box-shadow: 0 0.35em 0em rgba(0, 0, 0, .35) inset, 0 0.35em 0.5em #336699
}
        
}





/* barra de notificaciones pasa a la derecha fija*/ 
    @media (min-width:52em) {
    
    .explorar{
   
    background-color: rgba(52, 114, 177, 0.71);
    border: px solid rgba(0,0,0,.25);
    border-radius: 0%;
    box-shadow: 0 .15em .1em rgba(0,0,0,.215);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-around;
        flex-direction: column;
        align-items: center;
    font-size: 2rem;
    padding: 0.3em;
    
    width: 10%;
    height: 22rem;
    
    /* para salir del "flujo de información" del fondo 
    y colocase en una capa superior fija */
    position:fixed;
    bottom: 1rem;
    right: 0rem;
}

        /* cambia colores de titulos y header */ 
@media (min-width:80em) {
    
    
    header{
        background-color: rgba(64, 210, 237, 0.62);
    }
    
     h1,h2,h3 {
    list-style: none;
    color:#1f1d1d;
    box-sizing: inherit;
    margin-top:0.4em;
    margin-bottom: 0.4em;
    padding: 0.5em;
    font-family: "encode sans", "sans-serif";
    color: aliceblue;
    text-transform: uppercase;
    font-style: italic;
    background-color:#5b6476;
    border-color: #f2cece;
    width: 100%;
    border-radius: 50em;
    
   
    /*border-radius: 50em;
    width: 100%;*/
    
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}
    
    .fle{
        display: flex;
        justify-content: center;
    }
}
    
    
/*imagen estado de liga y posicion*/
@media (min-width:80em) {
    
    
    .flesi{
        display: flex;
       
    }
    
    posi{
    
    height: 15em;
    background-color: #fff9f9;
    border: 0.3em solid #336699;
    border-radius: 10%;
    box-shadow: 0 0.35em 0em rgba(0, 0, 0, .35) inset, 0 0.35em 0.5em #336699
}
}
    
    
   /* galeria*/


   
.galeria {
    padding-bottom: 2em;
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}



.galeria figure {
    width: 45vmin;
    margin: .125em;
    position: relative;
    overflow: hidden;
}

.galeria img {
    display: block;
}

.galeria figcaption {
    background-color:#336699;
    color: white;
    padding: .5em;
    line-height: 1em;
    

    position: absolute;
    height: 100%;

    top: calc(100% - 1.5em);
    transition: all .5s ease;
    
}


.galeria figure:hover figcaption {
    background-color: #336699;
    top: 50%;
    transition: all .7s ease;
}

.galeria figcaption span {
    display: block;
    font-size: .75em;
    color: #ddd;
}



/*
cuando la ventana del navegador mida
como mínimo 560px de ancho
*/
@media (min-width: 35em) {
    
    .galeria figure {
        width: 20%;
    }
    
    .galeria figure:hover figcaption {
        background-color: rgba(#336699);
        top: 0;
        transition: all .5s ease-in;
    }
   
}
/*
cuando la ventana del navegador mida
como mínimo 1200px de ancho
*/
@media (min-width: 75em) {
    .galeria {
        background-color: rgba(#336699);
    }
}

        
        /* contenido*/
        
@media ( min-width: 30em ) {
    
    .man {
        text-align:center;
        width: 100%;
        max-width: 70em;
        display: flex;
    
        background-color: #356590;
        
    }
    
    h2{
        background-color: rgba(18, 18, 18, 0.06);
        height: 3em;
    }
    
    .asaiddos{
    margin: 1em;
    padding: 3em;
}
    
    .perfilest{
    background-color: #3380fc;
    border-radius:2em;;
    border-color: black;
}
    
    .perfil{width: 5em;
        height: 5em;
        max-width: 5em;
        max-height: 5em;
        margin-right: 1em;
        
    }
    
    
    }
