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

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

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 {
    list-style-type: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: .5em .2em;
    padding: 0;
    
}

header ul a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    margin: 0 .2em
}

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:510px){
    
    header label{
        display: block;
    }
    
    .menuheader{
        position: absolute;
        width: 70%;
        top: 4.7em;
        margin-left: -90%;
        background-color: #002656;
    }
    
    .menuheader ul{
        flex-direction: column;
                
    }
    
    #menu:checked ~ .menuheader{
        margin: 0;
    }
    
}

header label img{
    width: 2em;
    margin: .5em;
}

a:hover {
    color: #002656
}

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

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

/*   Fin Menu Header   */



/*  Pagina Club  

main {
    background-color: #689fd2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0;
}

main img {
    max-width: 100%;
}

main #club {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url(/webapp/imagenes/club.jpg);
    background-size: cover;
}

main #club h4 {
    text-transform: uppercase;
}

main #estrella {
    padding: 1em .5em;
    max-width: 60%
}

main #himno {
    background-color: rgba(79, 79, 79, 0.25);
    padding: .5em;
    margin: .5em;
    width: 15em;
}

main #futsal {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(1, 36, 81, 0.77);
    margin: 0;
    padding: .5em;
}

main #futsal div {
    max-width: 50%;
    margin: .5em 1em;
}

main #futsal img {
    width: 20em;
}

main #baby-futbol {
    background-image: url(/webapp/imagenes/babyfutbol.jpg);
    background-size: cover;
    background-color: rgba(11, 62, 128, 0.77)
}

main #baby-futbol h2 {
    margin: .5em 1em;
}

main #baby-futbol ul {
    list-style-type: none;
}

main #baby-futbol .container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100vw;
}

main #baby-futbol .min-container {
    padding: .5em;
    margin: .5em;
    background-color: rgba(104, 159, 210, 0.67);
    border-radius: 1em
}


main #baby-futbol h3 {
    text-align: center;
}

main #baby-futbol img {
    width: 20em
}

main .categorias {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

main .categorias ul {
    margin: 1em
}



/*  media-queries  */


@media (max-width: 40em) {
    main #club {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    main #futsal {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    main #estrella {
        max-width: 100%;
    }
}



/*   Fin Pagina Club   */


/*   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;
    margin: 2em;
}

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

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

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

button a {
    text-decoration: none;
}

.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 main section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ayudar h1 {
    color: #002656;
    font-weight: bold;
    text-shadow: 0em .01em 1em white;
}

.ayudar h2 {
    color: #002656;
    margin-top: 0;
    font-size: 1em;
    text-shadow: 0em .01em .5em white;
}

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

.ayudar .areas form input {
    width: inherit;
}

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


.enviado main {
    padding: 1em 0;
    width: 25em;
}


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

/*   Formularios   */


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: 20em;
    max-width: 80vw;
}

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


/*    Pagina Principal   */


.principal main {
    margin: 1em;
}

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

#fechas {
    margin-top: 20vh;
}

#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;
}

#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
}

#ayuda {
    position: fixed;
}

.principal main figcaption {
    color: black;
}

.principal main h2 {
    color: black;
}

.principal main p {
    color: black;
}

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




/*    Fin Página Principal   */