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


body{background-color:white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    max-width: 100vw;
    
}
img {

    max-width: 100%;
    height: auto;
    }
i{
    color: white;
    margin: .5em;
    }
.subtitulos i{
    color:rgba(0,100,0)
}

/* menu superior */
header{
    background-color: darkgreen;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: .8em;

}
.iconomenu, #llamamenu {
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    height: 3em;
    width: 3em;
    position: relative;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
}

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

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

.escprincipal{max-width: 5em;
max-height: 3em;}
    

h1{
    text-align: center;
    color:white;
    font-size: .8em;
    padding: .3em;
}


/* menu desplegable*/

header nav{
    background-color: rgba(0,100,0,.8);
    position:fixed;
    top:0;
    left: -50vw;
    height: 100vh;
    width: 50vw;
    max-width: 20em;
    transition: all .3s ease;
    z-index: 9998;
    padding: 1em;
    padding-top: 5em;

 }

header nav.menuvisible {
    left: 0;
    transition: all .6s ease;
}



.menudesp a {
    font-size: .8em;
    color: white;
    text-decoration: none;
    padding: .5em
}

.menudesp li{
    list-style: none;
    padding: .3em;
    margin: .1em 0 .2em 1em;
}

.menudesp a:hover{
    background-color: rgb(236,249, 242);
     color: darkgreen;
}
.menudesp{
    margin-top: .5em
}



/* html home */

.proximopartido{
    background-color: rgb(236, 249, 242);
    padding: .3em;
    margin: 1em;
    box-shadow: 0 .2em .2em 0 rgba(0, 0, 0, .35);
}

.tprox {
    text-align: center;
    font-size: 0.8em;    
}

.clublocal {
    display: flex;
    justify-content: flex-start;
    align-items: center;

}
.clublocal img{
    max-height: 3em;
    margin: .5em;
}
.clubvisit {
    display: flex;
    justify-content: flex-end;
    align-items: center;

}
.clubvisit img{
    max-height: 3em;
    margin: .5em;

}

.partido{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.buscador i {
    color:rgba(0,100,0)
}


h2{
    font-size: 1em;
    background-color: darkgreen;
    padding: .5em .5em .5em .7em;
    margin: .5em 0 .5em ;
    width: 50vw;
    height: auto;
    box-shadow: 0 .2em .2em 0 rgba(0, 0, 0, .35);
    color:white;
}
h2 a{
    text-decoration: none;
        color:white;

}
h2 i{
    font-size: 1.2em;
    margin:.2em;
    margin-right: .5em;
}

.subtitulos{
    font-size: 1em;
    margin:1em auto .5em 1em;
}
hr{
    margin:0 1em 1em 1em;
}
.noticias{
    display: inline;
    width: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
    margin-bottom: 1em;}

.fotonoticia{
    max-width: 100%;
    height: auto;
    display: block;
}

.noticias figcaption{
    background-color: rgba(0,100,0,.5);
    border: solid 2px rgba(0,0,0,0);
    border-radius: 0 0 0 0;
    color: white;
    padding: .5em;
    line-height: 1.25em;
    position: absolute;
    height: 10em;
    top: calc(100% - 2em);
    left: 0;
    right: 0;
    transition: all .5s ease;
        text-align: center;

}
figure:hover .titular {
    background-color: rgba(0,100,0,.6);
    padding: 1em;
    text-align: center;
    top: .5em;
    left: .5em;
    right: .5em;
    transition: all .3s ease-out;
    margin-top:2em;
}

.vermas a, .noticias a{
    text-decoration: none;
    color:white;  
}
.vermas i{
    margin: .3em;
}
.vermas{
    background-color: rgba(0,100,0);
    padding: .3em;
    width:10em;
    text-align: center;
    margin:auto;
    margin-top: 1em;
    border-radius: .5em;

}

.vermas:hover{
    background-color: rgba(0,100,0,.6);
}

.elclubhome p, .videohome p, .sechistoria p{
    font-size: .8em;
    padding: 0 1em 0 1em;
}

.elclubhome .vermas, .videohome .vermas, .futbol .vermas{
    text-align: center;
    margin: auto;
    margin-right: .2em;
    padding: .5em;
    border-radius: .5em;
    margin-bottom: .8em;
    margin-top: .8em;
}

.videohome iframe{
    width: 70vw;
    height: auto;
    display: block;
    align-content: center;
    margin: auto;
}
.videohome h6{
    color: rgba(0,100,0);
    background-color:rgb(230, 230, 230);
    padding: 1em;
    position: relative;
    bottom: 0;
    width: 70vw;
    height: 3em; 
    margin: auto;
}

/*noticias*/
.secnoticias {
    width: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
    margin-bottom: 1em;
}
.secnoticias figcaption {
    background-color: rgba(0,100,0,.5);
    color: white;
    padding: .5em;
    position: absolute;
    height: 100%;
    top: calc(100% - 2em);
    transition: all .5s ease;
    
}

.secnoticias figure:hover figcaption {
    top: 50%;
    transition: all .5s ease;
}

/* menu inferior */

.menuinf{
    background-color: rgb(236, 249, 242);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .8em;
    position: fixed;
    bottom: 0;
    left:0;
    width: 100%;
    height: 5em;
}


.iteminf img{
    max-height:1.5em ;
    max-width: auto;
    margin: .5em
}

.iteminf p{
    text-align: center;
    font-size: .8em;
    color: darkgreen;
    
}

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

.menuinf a {
    text-decoration: none;
    padding: .5em;
}

.menuinf a:hover{
    background:rgba(0,100,0,.5);    
}

/* titulos */
.copas{
    margin: 0;
    padding: 1em;
    max-width: 40em;

    
}
.titulos{
    font-size: .8em;
    list-style: none;
    margin-left: .9em;
    margin-bottom: .5em;
    color:rgb(0,100,0);
    
}
.copas .subtitulos{
    margin-top: 0;
}


/* video */

.copy{
    font-size: .9em;
    margin: 1em;
}
.videos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    margin: .5em;
    padding: .5em;
    background: rgb(250, 250, 250);
        
        
}
.videoprincipal{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    width: 87vw;
    height: auto;
}
.videoprincipal h6{
    color: rgba(0,100,0);
    background-color:rgb(230, 230, 230);
    padding: 1em;
    position: relative;
    bottom: 0;
    width: 87vw;
    height: 3em; 
    text-align: center;
    font-size: .9em;

}
.video{
    margin: .5em;

}
.videoprincipal iframe{
    width: 87vw;
    display: block;
    align-content: center;
    
}

.video iframe{
    width: 40vw;
    height: auto;
    display: block;
    align-content: center;
}
.video h6{
    color: rgba(0,100,0);
    background-color:rgb(230, 230, 230);
    padding: 1em;
    position: relative;
    bottom: 0;
    width: 40vw;
    height: 5em;    

}
/* disciplinas */

.disciplinas img{
    width: 100vw;
    
}

.disciplinas p{
    font-size: .8em;
    color: rgba(0,100,0);
    margin: .5em;
    padding: .5em
}

.contenedor{
    margin: 1em;

}

.contenedor h3{
    font-size: 1.2em;
    background-color: rgb(0, 128, 43);
    color: white;
    font-weight: 200;
    max-width: 100vw;
}

.image{
    padding: .5em;
    background-color: white; 
    display: flex;
    justify-content: center;

    
}

.discipgrilla{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}

.secdisc{
    width: 40vw;
    margin: .5em;
        background-color: rgba(0,0,0,.05);
    padding: .5em;
}
.secdisc hr{
    margin: .3em;
    
}

.secdisc h3{
    margin:.3em;

}
.secdisc a{
    text-decoration: none;
    color: black;
        }

.secdisc:hover{
    background-color: rgba(0,100,0,.5);
}

/* historia*/
.sechistoria img {
    padding: .3em 1em 1em 1em;
    
}


/* galeria*/
imageg{
    padding: .5em;
    background-color: white; 
    display: flex;
    justify-content: center;
    
}
/*horarios*/
.horarios p{
    font-size: .8em;
    color: rgba(0,100,0);
    margin: 0 1em 0 1em;
    padding: .5em;
}

.horarios img{
    margin:auto;
    padding: .5em;
}
/* el club */
.elclub{
    background: #fff url(imagenes/fotonoticia.png) no-repeat bottom center;
    background-size: cover;
    padding: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    
}
.escclub{
    height: 50vw;
    max-width: 15em;
    max-height: 15em;
    
}
.titularrotonda{
    font-size: 2em;
}
/*futbol*/

.equipop p, .vermas{ 
    font-size: .8em;
    padding: 0 1em 0 1em; }

.equipop img{
    width: 100vw;
    padding: 0 1em 1em 1em;
}


/* inicio */

.inicio{
    background: #002400;
    background: -moz-linear-gradient(top,  #002400 0%, #0a6400 100%);
    background: -webkit-linear-gradient(top,  #002400 0%,#0a6400 100%);
    background: linear-gradient(to bottom,  #002400 0%,#0a6400 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#002400', endColorstr='#0a6400',GradientType=0 );
    height: 100vh;

}

.inicio .escclub{
    margin: auto;
    width: 8em;
    height: auto;
    margin-top: 3em;
    margin-bottom: 1em;
}
.inicio h1{
    font-size: 1.5em;
    text-align: center;
    
}
.inicio h3{
    color:white;
    font-weight:200;
    text-align: center;
    background-color: rgba(184,184,184,0.3);
    width: 60vw; 
    height: 3em;
    border-radius: .8em;
    margin: auto;
    margin-top: .4em;
    text-indent: -1em;
    font-size: .9em;
     
}

.inicio form{
    margin: .9em auto;
}
.inicio i{
    color: white;
    margin: 1em;
}
.etiqueta {
    display: inline-block;
    text-align: right;
    width: 30%;
    color: white;
    padding-right: .8em;
    
}

.campo { 
    display: inline-block;
    width:50%;
    margin-bottom: 1em;
    padding: .5em;
    border-radius: .8em;
    
}
.inicio a{
    text-decoration: none;
    
}
.boton{
    display: block;
    text-align: center;
    padding: .6em;
    border-radius: .5em;
    margin:.8em auto;
    text-align: center;
    background-color: rgba(184,184,184,0.3);
    color: white;
    font-size: 1em;
}


/* Registro */
.registro{
    background: #002400;
    background: -moz-linear-gradient(top,  #002400 0%, #0a6400 100%);
    background: -webkit-linear-gradient(top,  #002400 0%,#0a6400 100%);
    background: linear-gradient(to bottom,  #002400 0%,#0a6400 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#002400', endColorstr='#0a6400',GradientType=0 );
    height: 100vh;


}
.registro img{
    display: block;
    margin: auto;
    width: 8em;
    height: auto;
    margin-top: 3em;
    margin-bottom: 1em;
    
    }
.registro h1{
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 1em;

}
 .rrss{
    color: white;
    font-size: .7em;
    
}
.registro i{
    color: white;

    
}

form p{
    color:white;
    font-size: .9em;
    text-align: center;
    margin: .8em;
}
/* Contacto */

    
.contacto iframe{
    width: 50vw;
    height: auto;
    margin-left: 25vw;
    margin-top: 1em;
}
.contacto h4{
    font-weight: 200;
    font-size: .9em;
    text-align: center;
    color:rgba(0,100,0);
    margin-top: 1.5em;
    margin-bottom: 1em;
    
}

.contacto label{
     color:rgba(0,100,0);
    font-size: .8em;
    
}
.oblig{
     color:rgba(0,100,0);
    font-size: .8em;
    text-align: center;
}
.dir{
    color:rgba(0,100,0);
    font-size: .8em;
    margin: .5em;
    text-align: center;
    
}
.textarea{
    width: 50%;
    height:10em;

}
.contacto .boton{
    background-color:rgba(0,100,0);

    
}
.redes{
    display: flex;
    justify-content: center;
    
}

.redes li {
    list-style: none;
    background-color: rgba(0,100,0);
    margin: 0 .5em;
    padding: .2em;
    font-size: 1.2em;
    width: 2.5em;
    height: 2.5em;
    text-align: center;
}

/*equipo*/

.equipo li{
    margin: 1em;
    padding: .5em;
    list-style: none;
    font-size: .8em;
    color:rgba(0,100,0);
    
}

/* footer */

footer{
    height: 5em;
 }


/* perfil*/

.fotoperfil{
    border-radius: 50%;
    height: auto;
    width: 10em;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .35) inset, 0 .35em .5em rgba(0, 0, 0, .35);
    display:flex;
    margin: auto;
}
.micuenta a{
    text-decoration: none;
    color: rgb(0,100,0);
    padding: .5em;

}
.micuenta a:hover{
    background-color: rgba(0,100,0,0.5)
}

.micuenta li{
    color: rgb(0,100,0);
    margin-left: 2em;
    list-style: none;
}

.micuenta i{
    color: rgb(0,100,0);
    margin-left: 1.5em;

}
.mail i{
    margin-left: 0;
}






/* Mediaquery */
@media (min-width: 40em) {
    
    /*generales*/

    /*inicio*/ 
    
    .registros{
        display:flex;
    }
    .inicio h3{
        width: 30vw;
        margin: 1em
    }
    

        /*registro*/ 
    .registro{
        display: flex;
        flex-direction: row;
        align-items:center;
        align-content:center;
        width:  80vw;
        margin: auto;
        
    }

    .tituloregistro{
        font-size: 1.3em;


    }
    .formregistro{
        margin: 1em;
        width: 50vw;}
    
    /* titulos*/
    .titylog{
        display: flex;
        justify-content: space-around;  
        margin: 1em;
        align-content: center;
    }
    .copas{
        margin:.4em;
        width: 30vw;
}
    /*partidos*/
    
    .partresp{
        display: flex;
        justify-content: space-around;  
        margin: 1em;
        align-content: center
    }
    .secpartidos{
        max-width: 70vw;
    }
    
    /* video */
    
    .video h6{
        width: 25vw;   

}
    
    .video iframe{
        width: 25vw;
    }
    
    /* home*/
    .homesec3{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    }
    
    h2{max-width: 20em;}
    
    .elclubhome, .videohome{
        max-width: 48vw;
    }
    
    .elclubhome h2, .videohome h2{
        max-width: 45vw;
    }
    
    .videohome iframe{
        width: 30vw;
     }
    
    .videohome h6{
        width: 30vw;
}
    .ultimasnoticias{
        max-width: 50vw;
        margin: auto;
    }
    
    .proximopartido{
        max-width: 60vw;
        margin-left: auto;
    margin-right: auto;}
    
    .buscador{
        max-width: 60vw;
    }
    
    /*disciplinas*/
    .discresp{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    
    }
    .disciplinas {
        width: 60vw;
        margin-left: 1em;
    }
    .disciplinas p{
        background-color:rgba(0,0,0,.1);
        padding: 1em;
        margin: 0;
        position: relative;
        top: 0;
 
    }
    .discresp .contenedor{
        width: 30vw;

    }
    /*horarios*/
    
    .horarios{
        display: flex;
        justify-content: space-around;  
        margin: 1em;
        align-content: center;;
    }
    .sechistoria img{
        max-width: 50vw;
        margin: auto;
    }
    
    .clubresp{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center; 
    }
    
    
    /*perfil*/
    
    .perfilresp{
        display: flex;
        justify-content: center;
    }
    .micuenta{
        width: 45vw;
    }