* {
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

img {
    max-width: 100%;
}

h1 {
    color: darkorange;
    padding: 0 1em;
}

h2 {
    border-bottom: .06em solid #ccc;
    padding-bottom: .5em;
    padding-left: 1em;
}

h3 {
    padding-left: 1em;
}

ul {
    list-style: none;
}

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

a:hover {
    color: #002656
}

body {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    left: -2.6em;
}

header, footer {
    background-color: #002656;
    
}

header img {
    height: 2em;
    width: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 100vw;
    padding: .5em 1em;
}

header ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: .5em .2em;
    padding: 0;
    
}

header ul a {
    font-weight: bold;
    margin: 0 .2em
}

main {
    width: 100vw;
}


footer {
    color: white;
    margin: 0;
    padding: 0 1em;
    font-size: .8em;
}


/*   MENU HEADER   */

#menu{
    display: none;
}

header label{
    display: none;
}

header label:hover{
    background: #002656;
    width: 2em;
}

.menuheader ul{
    list-style: none;
    display: flex;
}

.menuheader li{
    flex-grow: 1;
    /border-right: .2em solid #fff;/
}

.menuheader li:hover{
    background-color: #002656;
}

.menuheader li a{
    display: block;
    align-self: center;
    padding: 0.5em;
}


@media(max-width:32em){
    
    header label{
        display: block;
    }
    
    .menuheader{
        position: absolute;
        width: 70%;
        top: 3em;
        margin-left: -90%;
        z-index: 9999;
        background-color: #002656;
    }
    
    .menuheader ul{
        flex-direction: column;
                
    }
    
    #menu:checked ~ .menuheader{
        margin: 0;
    }
    
}

header label img{
    width: 2em;
}


header div nav {
    text-align: center;
    
}
*/

header div nav ul li {
    margin: 0 .5em 0 .5em
}

/*   Fin Menu Header   */




/*   Página Inicio     */

.inicio {
    background-image: url(/webapp/imagenes/inicio-chico.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.inicio main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.inicio main img {
    margin: none;
    padding: 1em;
    height: 20em;
    width: auto;
}

.inicio #registrarse {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2em;
}

button {
    margin: 0 1em;
    padding: .5em;
    background-color: darkorange;
    border-radius: .5em;
    border-style: none;
    width: 10em;
}

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

.inicio p {
    color: #dfd8d8;
}

/*   media-queries   */


@media (min-width: 90em) {
    .inicio {
        background-image: url(/webapp/imagenes/inicio-grande.jpg);
        background-size: cover;
    }
}

@media (min-width: 70em) and (max-width: 90em) {
    .inicio {
        background-image: url(/webapp/imagenes/inicio-chico2.jpg);
        background-size: cover;
    }
}


/*   Fin Página Inicio   */


/*   Página Ayudar   */


.ayudar {
    background-image: url(/webapp/imagenes/ayudar.jpg);
    background-size: cover;
}


.ayudar h1 {
    color: #002656;
    font-size: 1.7em;
    font-weight: bold;
    text-shadow: 0em .01em .5em white;
    text-align: center;
}

.ayudar h2 {
    color: #002656;
    margin-top: 0;
    font-size: 1.3em;
    text-shadow: 0em .01em .5em white;
    /*text-align: center;*/
}


.enviado main section p {
    text-align: center;
    text-shadow: 0em .01em .1em black;
}


/*    Página Reservar   */


.reservar {
    margin: 0;
    padding: 0;
    background-image: url(/webapp/imagenes/fiesta.jpg);
    background-size:cover;
}

.reservar main h2 {
    font-weight: 100;
}

.reservar main p {
    align-self: flex-start;
    font-weight: 500;
    margin-bottom: 0;
}

.reservar main input {
    background-color: rgba(0, 0, 0, 0.11);
    margin: 1em 0 0;
    padding: 0 0 .5em;
    border-radius: 0em;
    border-bottom: .1em solid white;
}


/*    Pagina Principal   */


.principal main {
    margin: 0em;
}

#fechas, #noticias {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#fechas > div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

#info figure {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

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

#equipos figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#equipos figure figcaption {
    text-align: center;
    margin-top: .5em;
}

#equipos figure img {
    width: 10em;
}

@media (max-width: 30em) {
    #equipos figure img {
    width: 5em;
    }
}

#noticias div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#noticias > div {
    width: 80%;
}

#noticias figure {
    margin: 1em 0em;
}

#noticias h3 {
    text-align: center;
}

#noticias img {
    width: 100%;
}

@media (min-width: 65em) {
    #noticias > div {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: flex-start;
    }
    
    #noticias > div > div {
        width: 45%;
    }
}

#ayuda {
    background-image: url(/webapp/imagenes/ayuda.jpg);
    background-size: cover;
    width: 100%;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9998;
}

#reserva {
    background-image: url(/webapp/imagenes/evento.jpg);
    background-size: cover;
    width: 100%;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

#ayuda a, #reserva a {
    text-decoration: none;
    font-size: 3em;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.31);
    width: 100vw;
    height: 20vh
}

.principal main figcaption {
    color: black;
}

.principal main h2 {
    color: black;
}

.principal main p {
    color: black;
}

.principal main h3 {
    color: #618fc8;
}


/*    Fin Página Principal   */


/*    Página Club    */

.club main section {
    margin: 1em;
}

.club main section img {
    width: 20em;
}

@media (min-width: 44em) {
    .club main section {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .club main section div {
        padding: 1em;
    }
}


/*    Fin Página Club    */

/*    Página Novedades   */

#posiciones > div > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#posiciones figure {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#posiciones figure img {
    width: 1.25em;
    margin-right: .6em;
}

#posiciones table {
    text-align: center;
    width: 20em;
    height: 18em;
    margin-top: 1.7em;
}



/*   Videos   */

video {
    max-width: 100%;
    width: 30em;
}

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

/*  mediaqueries  */

@media (min-width: 75em) {
    .videos {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    #posiciones > div > div {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
}


/*    Página Galería   */


#fotos {
    margin: 1em;
}

#fotos ul li a {
    color: darkorange;
}

#fotos ul li a:hover {
    color: darkgoldenrod;
}

.galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.galeria img {
    width: 20em;
    margin: .5em
}


/*   Página Contacto   */


.contacto main iframe {
    width: 100%;
    height: 40vh;
}

.contacto main figure {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.contacto main figcaption {
    margin-left: 1em;
}

#atencion {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
}

#atencion a {
    margin: 0 1em;
}


/*   Página Mensaje   */

.mensaje main section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 75vh;
}

#area-mensaje {
    align-self: flex-end;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-width: 100vw;
}

#area-mensaje textarea {
    width: 90%;
    height: 4em;
    margin-left: .5em
}

#area-texto {
    align-self: flex-start;
    margin: .5em;
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;   
}

.burbuja {
    margin: .6em 1.2em;
    background: #062659;
    border-radius: 1.25em;
    padding: .06em .6em;
    color: white;
}


/*    Página Perfil   */


.aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 38, 86, 0.75);
    padding: 1em;
}

.aside ul li {
    color: white;
    font-weight: bold;
    padding-bottom: .5em;
}

.aside ul li:last-child {
    padding-top: .5em;
    font-weight: normal;
}

.aside img {
    width: 50%;
    border-radius: 100%;
    box-shadow: .2em .5em 1em #001b3d;
}

.perfil main section > div {
    margin: 1em;
}


/*   mediaqueries   */

@media (min-width: 56em) {
    .perfil main {
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    
    .aside {
        width: 30%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        flex-grow: 1;
        min-height: 100vh;
    }
}


/*    Página Contactos    */

.amigos a {
    display: block;
}

.amigos ul li {
    font-size: 2em;
    color: white
}

.amigos {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 38, 86, 0.75);
}

.amigos img {
    width: 100%;
    border-radius: 100%;
    box-shadow: .2em .5em 1em #001b3d;
}

.amigos div {
    margin: 0;
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 25em;
}

/*   mediaqueries   */

@media (min-width: 56em) {
    .amigos {
        display:flex;
        justify-content: center;
        align-items: center;
    }
}


/*   Página Chat   */


.chat main section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.chat main section figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chat main section figcaption {
    color: white;
    font-weight: bold;
    background-color: darkorange;
    padding: .5em;
    border-radius: .5em;
}

.chat main section figure img {
    width: auto;
    max-height: 20vh;
    
}

/*   Formularios   */


.formulario {
    background-color: rgba(0, 38, 86, 0.66);
    flex-grow: 1;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white
}

.formulario section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 1em;
}

main form {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

main form input {
    display: block;
    margin: 1em 0em;
    padding: 1em;
    background-color: rgba(104, 159, 210, 0.73);
    border-radius: .5em;
    border-style: none;
    font-size: 1em;
    width: 25em;
    max-width: 80vw;
    color: white;
}

main form button {
    margin: 2em;
    padding: .5em;
    background-color: darkorange;
    border-radius: .5em;
    border-style: none;
    width: 10em;
    color: white;
}

.lista form div {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.lista form input {
    width: inherit;
    display: block;
}

.lista form label {
    margin: .5em;
    padding: .5em;
    background-color: rgba(0, 38, 86, 0.61);
    border-radius: .2em;
    text-align: center;
    width: 8em;
}


/*    SLIDER    */

.slider {
    left: -2.5em;
}

.slider img {
    width: 100vw;
    height: auto;
}

.slider figure {
    position: relative;
}

.slider figcaption {
    position: absolute;
    bottom: 1em;
    background: rgba(0, 38, 86, 0.57);
    padding: .5em;
    color: white;
}

.torneos .slider {
    margin: 0 1em;
}

.torneos .slider img {
    width: inherit;
}

.torneos .slider figure {
    position: inherit;
}

.torneos .slider figcaption {
    position: inherit;
}

.info-torneo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1em;
}