@import url('https://fonts.googleapis.com/css?family=Lato:400,400i,700&display=swap');
@charset "utf-8";

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

body {
    font-family: lato;
    background-color: darkblue;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#logoclub { 

    display: flex;
    justify-content: center;
    align-content: center;
    margin-top: 50%;
}

#ingresa {
    display: flex;
    justify-content: center;
    align-content:center;
    margin: auto;
    font-size: 0.7em;
    margin-top: 10%;
    background-color: darkslateblue;
    color: white;
    width: 6em;
    border-radius: 1em;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .25) inset, 0 .35em .5em rgba(0, 0, 0, .25);
    
}
.inscripciones{
    box-sizing: border-box;
    background-color: aqua;
    width: 15em;
    border-radius: 1em;
    text-decoration: none;
    color: darkcyan;
    font-weight: bold;
    margin: auto;
    padding: 1em;
}

.inscripciones:hover {
    text-decoration: underline;
}
    
}

section h1 a {
    
    text-decoration: none;
    text-decoration-line: none;
    text-underline-position: none;
    color:white;
}

.cabeza {
    
    display: inline;
    align-content: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

main a {
    
    text-decoration: none;
    color: white;
}

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

ul { list-style: none; }

header, footer {
    background-color:darkslateblue;
}


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

header {
    
    padding: .25em;
    
    /*height: 3em;*/
    display: flex;
    
    justify-content: space-between;
    
    align-items: center;
}

header a {
    
    text-decoration: none;
    color: orange;
}

#escudo {
    display: block;
    width: 2em;
}

header > ul {
    /* caja flexible */
    display: flex;
}

header > ul > li {
    width: 2em;
    height: 2em;
    margin-left: .25em;
    
    /* caja flexible */
    display: flex;

}

header > ul > li > a {
    width: 100%;
    height: 100%;
    background-color: deeppink;
    color: white;
    text-decoration: none;
    font-weight: bold;

    display: flex;
    
    justify-content: center;

    align-items: center;
    

}


/* menu desplegable */

header nav {
    background-color: blueviolet;
    color: white;
    

    position: fixed;
    right: -50vw;
    top: 0;
    height: 100vh;
    min-width: 50vw;
    transition: all .6s ease;
    z-index: 999;  
    
    transition: all .6s ease;
}



header nav:target {
    right: 0;

}

header p {
    
    display: flex;
    font-size: 1em;
    color: orange;
    text-align: left;
}

p{
    display: flex;
    align-content: center;
    justify-content: center;
}

.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(255,255,255,.75);
    display: block;
    padding: .5em 1em;
    text-align: center;
    text-decoration: none;
}

header nav a:hover {
    color: white;
}

#x {
    
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    color: aliceblue;
}

/*
----------------
contenidos
----------------
*/

main {
    background-color: rgba(1,218,218);

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

main p {
    
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 0.9em;
    padding: 1em;
}

section {
    border-top: solid 1px rgba(0,0,0,.1);
}

h1 {
    
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 1.5em;
    margin: auto;
    padding: 0.2em;
    font-style: italic;
}

p1 {
    
    display: flex;
    justify-content: center;
    align-content: center;
    font-size: 0.8em;
    margin: auto;
    text-align: center;
    padding: 1em;
}

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

.galeria h3 {
    width: 100%;
    padding: 1em;
}

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

.galeria img {
    display: block;
}

.galeria figcaption {
    background-color: rgba(66, 17, 144, 0.78);
    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: rgba(66, 17, 144, 0.78);
    top: 50%;
    transition: all .7s ease;
}

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

/*
----------------
Galería de deportes
----------------
*/

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

.galeria1 h3 {
    width: 100%;
    padding: 1em;
    text-align: center;
}

.galeria1 figure {
    width: 100%;
    margin: .125em;
    position: relative;
    overflow: hidden;
}

.galeria1 img {
    display: block;
    width: 100%;
}

.galeria1 figcaption {
    background-color: rgba(0,0,0,.5);
    color: white;
    padding: .5em;
    line-height: 1em;
    width: 100%;
    

    position: absolute;
    height: 100%;

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

/*
----------------
cambiar tamaño pestaña
----------------
*/


.galeria1 figure:hover figcaption {
    background-color: rgba(66, 17, 144, 0.78);
    top: 10%;
    width: 100%;
    transition: all .7s ease;
}

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


/*
----------------
Galería de actividades
----------------
*/

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

.galeria2 h3 {
    width: 100%;
    padding: 1em;
    text-align: center;
}

.galeria2 figure {
    width: 100%;
    margin: .125em;
    position: relative;
    overflow: hidden;
}

.galeria2 img {
    display: block;
    width: 100%;
}

.galeria2 figcaption {
    background-color: rgba(196, 0, 255, 0.67);
    color: white;
    padding: .5em;
    line-height: 1em;
    width: 100%;
    

    position: absolute;
    height: 100%;

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

/*
----------------
cambiar tamaño pestaña / tamaño que ocupa al subir
----------------
*/


.galeria2 figure:hover figcaption {
    background-color: rgba(66, 17, 144, 0.78);
    top: 10%;
    width: 100%;
    transition: all .7s ease;
}

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



.textos {
    padding: 1em;
    
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
}

.textos > * {
    margin-bottom: 1em;
}

.textos > div h4 {
    background-color: lightskyblue;
    padding: .25em;
    margin-bottom: .5em;
    
 
    position: sticky;
    top: 0;
} 

.subir {
    text-decoration: none;
    color: darkcyan;
    font-weight: bold;
    margin: auto;
    padding: 1em;
}

.subir:hover {
    text-decoration: underline;
}

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

.flecha {
    display: flex;
    position: absolute;
    margin: 0;
}

/*
----------------
nosotros
----------------
*/

h7 {
    
    display: flex;
    color: white;
    font-weight:bold;
}

/*
----------------
pie
----------------
*/

footer {
    font-size: .85em;
    padding: 1em;
}

footer > p {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-size: 0.9em;
    font-style: italic;
}

.flecha {
    
    display: flex;
    justify-content: space-around;
    margin-left: 0.5em;
    margin-top: 0.5em;
}


/*
----------------
explorar
----------------
*/

.explorar {
    background-color: lightcoral;
    border: 4px solid rgba(0,0,0,.25);
    border-radius: 50%;
    box-shadow: 0 .15em .1em rgba(0,0,0,.215);
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
    

    position: fixed;
    bottom: 1rem;
    right: 1rem;
}

.explorar > * { margin: auto; }

header p a {
    
    display: flex;
    text-decoration: none;
    color: yellow;
}

/*
----------------
registro
----------------
*/

main {
    
    display: block;
    
}

.interesado {
    
    display: block;
    align-content: center;
    justify-content: center;
    text-align: center;
    padding: 1em;
}

ul2 {
    
    display: block;
    justify-content: center;
    align-content: center;
    text-align: center;
    
}

ul2 li {
    
    text-decoration: none;
    list-style: none;
}

ul3 {
    
    display: block;
    justify-content: center;
    align-content: center;
    text-align: center;
    padding: 1em;
    
}

ul3 li {
    
    text-decoration: none;
    list-style: none;
}

.etiqueta {
    display: inline-block;
    text-align: right;
    font-size: 0.9em;
    width: 30%;
    padding-right: .5em;
    margin-bottom: 1em;
    padding: .25em;
}

.campo { 
    display: inline-block;
    width: 50%;
    margin-bottom: 1em;
    padding: .5em;
}

:required {
    background-color: hotpink;
    color: white
}

ul5 {
    
    display: block;
    align-content: center;
    text-align: center;
    padding: 1em;
}

section2 {
    
    display: block;
    align-content: center;
    justify-content: center;
    text-align: center;

}

section3 { 
    
    display: block;
    text-align: center;
    align-content: center;
    justify-content: center;

}

.bxslider  li{
    
    display: flex;
    align-content: center;
    justify-content: center;
    background-color: aqua;

}

/*
----------------
Galería de ser o no
----------------
*/

sectionc{ 

    display: flex;
    align-content: center;
    text-align: center;
    justify-content: center;
}

/*
----------------
video
----------------
*/

.video{
    display: flex;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    }


/*
----------------
gif
----------------
*/

#gif {
    
    display: flex;
    padding: 1em;

}

#bene2 {
    
    display: flex;
    margin: auto;
}

@media (min-width: 320px) {
    
    #bene2 {
        
        display: none;
    }
    
    #bene4 {
        
        display: none;
    }
    
        .pregunta {
        font-size: 1em;
    }
      #a3 {
        
    display:none;    
        
}
         }

@media (min-width: 35em) {
    
    .galeria figure {
        width: 20%;
    }
    
    .galeria figure:hover figcaption {
        background-color: rgba(60,0,60,.5);
        top: 0;
        transition: all .5s ease-in;
    }
    
    #a2 {
        
    display:none;    
        
}
              #a3 {
        
    display:block;    
        
}
    
   
}


@media (min-width: 50em) {
    .galeria h3 {
        margin-bottom: 2em;
    }
    h3 {
        background-color: rgba(0,60,60,.1);;
    }
    .textos h3 {
        padding: 1em;
    }
  #a2 {
        
    display:none;    
        
}
 #a3 {
        
    display:block;    
        
}


}

@media (min-width: 75em) {
    
    .galeria {
        background-color: rgba(0,60,60,.15);
    }
.galeria2 {
        text-decoration-color: blue;
    background-color: darkviolet;
    font-size: 2em;     }
    
    .galeria1 {
        text-decoration-color: firebrick;
    background-color: orangered;
    font-size: 2em;     }
    
        .galeria1 figure:hover figcaption {
        background-color: rgba(255, 127, 80, 0.48);
        top: 0;
        transition: all .5s ease-in; }
    
            #bene1 {
        
        display: none;
                justify-content: center;
                
            align-content: center;
    }
              #a3 {
        
    display:block;    
        
}
            
    }
    
    @media (min-width: 1000px) {
        
        #bene2 {
            
            display: flex;
        }
        #bene4 {
            
            display: flex;
            margin: auto;
            margin-top: 1em;
        }
        
        #bene3 {
            
            display: none;
        }
    
    
    .pregunta {
        color: blueviolet;
        font-size: 2em;
    }
          #a3 {
        
    display:block;    
        
}
         }
    /*
----------------
galeria 1
----------------
*/

    
    
/*
----------------
usuario
----------------
*/


section img {
    
    display: flex;
    justify-content: center;
    align-content: center;
}
#fotousuario { 
    flex-direction: column;

    margin-left: auto;
    margin-right: auto;
}
.tufoto{
    text-decoration: none;
    text-decoration-line: none;
    border-bottom: none;
    list-style: none;
    display: flex;
    justify-content: center;
    }



@media screen and (min-width: 1000px){
    
    #menu{
        position: static;
        display: flex;
        height: auto;
        margin: 1;
        background-color: darkslateblue;
        
    }
    
    #menu ul{
        display: flex;
        
    }
    
    .usuario{
        display: none;
    }
    
    main{
        width: 70%;
        margin: auto
    }
    
    #x nav{
    display: none;
    }
    
    header ul { 
    
    display: none;
    }
    header nav #x{
        display: none;
    }
    nav #menu
    {
        display:flex;
        align-content: flex-end;
        background-color: darkslateblue;
    }
    
    .360 { 
    
    display: none;
    }
    
    
    header {
        
        width: 70%;
        margin: auto;
    }
    
    
}
/*
----------------
tabla dudas y preguntas
----------------
*/

#table {
    margin: none;
    display: flex;
    margin-top: none;
    
}
#tr {
    margin: none;
    padding: none;
    display: flex;
    margin-top: none;
    
}
#td1 {
    margin: none;
    padding: none;
    padding-right: 1em;
    margin-top: none;
}

#td2 {
    margin: none;
    padding: none;
    padding-left: 1em;
}
