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

a {
    color: #104308;
    text-decoration: none;
    font-weight: 700;
}

body {
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgb(242, 242, 242);
}

main {
    display: flex;
    flex-direction: column;
}

.infoclub {
    padding: 1em;
}

.infoclub p {
    padding-bottom: 1em;
}

h1 {
    padding-bottom: .5em;
}

.logopadilla {
    width: 50vmin;
}

header {
    background-color: #7ad75e;
}

img {
    max-width: 100%
}


video {
    width: 100vmin;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}


#llamamenu .material-icons,
#ocultamenu .material-icons {
}

.contenedor {
    justify-content: space-between;
    margin: 0 auto;
}

header .contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    display: block;
    width: 3em;
    margin-left: .5em;
}


header ul {
    background-color: #7ad75e;
    color: white;
}

header nav a,
header nav label {
    background-color: #7ad75e;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header nav a:hover,
header nav label:hover {
    background-color: #54a53b;
    color: white;
}


span {
    color: #1e6014;
}

.material-icons{
    font-size: 2em;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    display: none;
}

header nav label{
    cursor: pointer;
    padding: .5em;
    position: relative;
    z-index: 9999;
    }

#menu-toggle:not(:checked) + #llamamenu,
#menu-toggle:checked + #llamamenu + #ocultamenu {
    display: flex;
}

#menu-toggle:checked + #llamamenu,
#menu-toggle:not(:checked) + #llamamenu + #ocultamenu {
    display: none;
}

header nav ul {
    position: fixed;
    left: 100%;
    top: 0;
    height: 100vh;
    width: 50%;
    z-index: 9990;
    padding-top: 4rem;
    transition: all .25s ease;
}

#menu-toggle:checked + #llamamenu + #ocultamenu + ul {
    left: 50%;
    transition: all .25s ease;
}


.deportes {
    padding: 1em; 
}

.deportes ul {
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.deportes ul li {
    margin: 1em;
}

.deportes ul li a {
    color: #696969;
    font-weight: bold;
    font-size: 15pt;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.deportes ul li a img {
    background: #54a53b;
    margin: .5em;
    padding: .8em;
    border-radius: 50%;
}

.deportes img {
    width: 5em;
    height: 5em;
}


.futsal main {
    padding-bottom: 1em;
}

.futsal img {
    width: 100vmin;
    height: auto;
}

.futsal h1 {
    padding: .5em;
}

.futsal h3 {
    padding: .5em;
}

.futsal p {
    padding: .5em;
}

.fotorama__wrap {
    margin: 0 auto;
}

.contacto iframe {
    min-height: 100%;
    max-width: 100%;
}

.contacto {
    padding: 1em;
}

.contacto img {
    max-height: 30px;
    margin: 1em 0 0 0;
    padding: .2em;
    background: white;
    border-radius: 100px;
}

.contacto ul {
    margin: 0;
    padding: 0;
}


.galeria h1 {
    padding: 1em 0 .5em .5em;
}

.galeria h2 {
    padding: 0 0 .5em .7em;
}

/* Formulario [Socios] */

form {
    max-width: 100em;
    margin: auto;
}

.label {
    display: block;
    margin-top: 1em;
}

.formato {
    padding: .2em;
    border-radius: .5em;
}

button {
    margin-left: 2.1em;
    margin-bottom: 2em;
    background-color: #7ad75e;
    padding: 0.9375em 1.5625em;
    font-weight: bold;
    text-align: center;
    font-size: 1em;
    cursor: pointer;
}

button:hover {
    background-color: #54a53b;
    color: white;
}

.exito {
    font-family: 'Oswald', sans-serif;
    text-align: center;
}

.torneos {
    padding: 1em;
    align-items: center;
}

.torneos h1 {
    padding-top: .5em;
}

.torneos h2 {
    padding: .5em 0 .5em 0;
}

.torneos h3 {
    padding-bottom: 1em;
}

.torneos a {
    font-size: 10px;
    padding-top: 1em;
}

.torneos .hora {
    font-size: 11pt;
    padding-top: .5em;
}

.partidos {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #54a53b;
    padding: 1em;
    border-radius: 20px;
}

.partidos img {
    max-width: 80px;
    max-height: 80px;
}

.textonot, .bajada {
    text-align: left;
    
}

.nota {
    padding: 1em 1em 0 1em;
}

.infonot {
    font-size: .8em;
    padding: .5em;
    margin: 0em;
}

novedades2 {
    margin-top: 1em;
    padding: 1em;
}

.novedades2 p{
    padding: 0em;
    
}

.novedades2 a {
    margin-top: 1em;
}

.novedades2 h3 {
    margin-top: 1em;
}

.mas {
    margin-bottom: 3em;
}

.novedadesindex {
    background-image: url(../imagenes/photo-1544914379-806667cd9489.jpeg);
    padding-bottom: 2em;
}
.novedadesindex div {
    margin: .4em;
}
.novedadesindex h2 {
    background-size: cover;
    color: white;
    margin: 1em 0 0 .6em;
}

.novedadesindex figure a {
    margin: .2rem;
    display: flex;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.novedadesindex img {
    width: 100%;
    display: block;
    padding-top: 1em;
}
.novedadesindex figcaption {
    background-color: rgba(67, 188, 30, 0.8);
    font-size: 12pt;
    color: white;
    padding: .5em;
    line-height: 1em;
    position: absolute;
    width: 100%;
    height: 100%;
    top: calc( 100% - 4em );
}
.novedadesindex .fecha {
    font-size: 8pt;
}

.novedadesindex .autor {
    font-size: 7pt;
}

footer {
    background-color: #7ad75e;
    margin: 0 auto;
    padding: 1em;
    font-size: 0.6875em;
    color: white;
}

@media (min-width: 35em) {
    #menu-toggle,
    #menu-toggle:checked + #llamamenu,
    #menu-toggle:not(:checked) + #llamamenu,
    #menu-toggle:checked + #llamamenu + #ocultamenu,
    #menu-toggle:not(checked) + #llamamenu + #ocultamenu {
        display: none;
    }
    
    #menu-toggle:not(:checked) + #llamamenu + #ocultamenu + ul,
    #menu-toggle:checked + #llamamenu + #ocultamenu + ul {
        display: flex;
        flex-wrap: wrap;
        background-color: #7ad75e;
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        width: 100%;
        padding-top: 0;
    }
        header nav ul {
        flex-basis: 25%;
    }         

}

@media (min-width: 45em) {

.principal {
        display: flex;
        flex-direction: row;
        align-content: space-between;
        
    }
    }