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

@import url('https://fonts.googleapis.com/css?family=Nunito&display=swap');


body {
    background-image: url(imagenes/fondosocios4.jpg);
    background-position: left;
    background-size: contain;
}

header {
    display: flex;
    flex-direction: row;
    background: linear-gradient(to right, black, white);
    background-position: cover;
    background-size:cover;
    width: 100%;
    height: 4em;
    align-items: center;
    align-content: center; 
    justify-content: space-between;
    position: fixed;
}

.logo {
    width: 6em;
}


#btn-menu {
    display: none;
}

.btn-menu:checked ~ .menu {
    right: 0em;
    top: 4em;
}

label img {
    width: 2em;
    margin: .5em 1em;
    cursor: pointer;
    right: 0;
    top: 1em;
}

.menu {
    display: flex;
    width: 50%;
    position: fixed;
    right: -50%;
    top: 4em;
    transition: all 1s ease;
    height: 100%;
}

header ul {
    list-style: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    background-color: rgba(0,0,0,0.8);
}

header li {
    display: flex;
    justify-content: center;
    align-items: baseline;
    width: 100%;
    padding: 1em;
    font-family: "nunito", sans-serif;
}

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

.logo {
    margin-left:1em;
}

.contacto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-family: "Nunito", sans-serif;
}

.titulocontacto {
    width: 100%;
    height: 3em;
    padding: .8em 1.5em;;
    background-image: url(imagenes/titular.png);
    background-position: left;
    background-size: cover;
    color: white;
    margin: 3em 0 0 0;
}

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

.contacto img {
    width: 100%;
    margin-top: 1em;
    margin-bottom: 1em;
}


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

.datosfutsal {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-family: "nunito", sans-serif;
    align-content: center;
    align-items: center;
}

.datosfutsal1 {
    display: flex;
    width: 90%;
    justify-content: center;
    align-content: center;
    align-items: center;
    background-color: #07074e;
    border-radius: 1em;
    padding: 1em;
    color: white;
    margin-bottom: 0;
}

.datoshorarios {
    display: flex;
    flex-direction: column;
    width: 80%;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin: 2em;
    color: white;
}

.datoshorarios h4 {
    padding-top: .25em;
}


.categoriapartido {
    display: flex;
    font-weight: bold;
    text-decoration: underline;
    color: #07074e;
    margin-bottom: .5em;
    padding-left: 1em;
    font-family: "nunito", sans-serif;
}

.fecha {
    display: flex;
    font-size: .75em;
    margin-bottom: .75em;
    
}

section div p {
    font-size: .9em;
}

.tituloimagen {
    display: flex;
    justify-content:flex-start;
    font-family: "nunito", sans-serif;
    align-items: center;
    padding: .30em;
    margin: 1em 0em 0em 0em;
    background-color: white;
    border-bottom-right-radius: 1em;
    border-top-right-radius: 1em;
    color: white;
    padding-left: 1em;
    padding-right: .75em;
    margin-top: 1em;
    margin-bottom: 1em;   
}


.titulopartidos {
    font-family: "nunito", sans-serif;
    align-items: center;
    padding: .30em;
    background-color: #1aa2ad;
    display: inline-block;
    margin: 1em 0em 0em 0em;
    border-bottom-right-radius: 1em;
    border-top-right-radius: 1em;
    color: white;
    padding-left: 1em;
    padding-right: .75em;
    margin-bottom: 1em;
}

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


.recuadropartido {
    background-image: url(imagenes/slider1.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 1em;
    margin: 1em;
    padding: .5em;
}

.recuadropartido1 {
    background-image: url(imagenes/slider5.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 1em;
    margin: 1em;
    padding: .5em;
}


.fechapartido {
    display: flex;
    font-family: "nunito", sans-serif;
    font-size: .75em;
    justify-content: center;
    color: white;
    margin-top: 1em;
    margin-bottom: .75em;
    font-weight: bold;
}

.proximopartido {
    display: flex;
    flex-direction: row;
    font-family: "nunito", sans-serif;
    justify-content: center;
    margin-top: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 1em;
    color: white;
    padding: 1em;
}

.proximopartido img {
    max-width: 4.5em;
    margin-bottom: 0;
}

.club1 {
    justify-content: center;
    align-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
}

.club1 img {
   height: 4em;
}

.tabla p a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "nunito", sans-serif;
    color: #17a6db; 
    text-decoration: none;
    margin-bottom: 1em;
    color: white;
}


.anotarse {
    font-family: "nunito", sans-serif;
    text-align: center;
    font-size: .9em;
    margin-bottom: 2em;
    background-color: #07074e;
    padding: .5em;
    margin-left: 5em;
    margin-right: 5em;
    border-radius: 1em;
    color: white;
}

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

.numero {
    font-family: "nunito", sans-serif;
    text-align: center;
    font-size: .9em;
    margin-bottom: 2em;
    
}

.anotarse1 {
    font-family: "nunito", sans-serif;
    text-align: center;
    font-size: .9em;
    margin-bottom: 2em;
}

.anotarse1 a {
    color: white;
}

footer {
    background-color: #1aa2ad;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "nunito", sans-serif;
    padding: 1em;
}

footer h4 {
    color: #07074e;
}

footer h5 a {
    color: white;
}

footer p a {
    text-decoration: none;
    color: #07074e;
}

footer nav ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: .5em;
}

footer nav img {
    max-width: 2em;
    display: flex;
    justify-content: center;
    margin-left: .25em;
    margin-right: .25em;
}

@media (min-width: 35em) {
    
    label img {
        display: none;
    }
    
    header {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    
     .titulocontacto {
        margin-top: 4.5em;
    }
    

    .menu-items {
        display: flex;
        flex-direction: row;
        width: 100%;
        position: fixed;
        right: 0;
        top: 4em;
        height: 2em;
    }
}
