@font-face{
    src: url(fonts/Offside-Regular.ttf);
    font-family: offside;
}


/* General ---------- */

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



    
body{
font-family:sans-serif;
box-sizing: border-box;
background-color:#ffffff;
    
}
    



/* -------------------------HEADER----------------------------- */

header{
    
    display: flex;
    align-items: center;
    justify-content:space-between;
    background-color: #1e7bbf;
    padding: 0.7em 0.7em 0.4em 0.66em;
    min-width: 20em;
    
    
}

#escudo {
width: 2.1em;
height: 2em;
margin-right: 1em;
margin-top: -0.1em;     
  
}

#titulo {
width: 7em;
height: 1em;
margin-right: 1em;
margin-bottom: 0.1em;

}


#menu {
width: 1.7em;
height: 1.3em;
margin-top: -0.1em;    
   
}





/*MENU*/

#llamamenu {
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    height: 2em;
    width: 2em;
    position: relative;
    z-index: 9999;

    /* caja flexible */
    display: flex;
    /* centrado en la horizontal */
    justify-content: center;
    /* centrado en la vertical */
    align-items: center;
}


/* menu desplegable */

header nav {
    background-color: rgba(0,0,0,0.85);
    color: white;
    
    position: fixed;
    right: -50vw;
    top: 0;
    height: 100vh;
    min-width: 50vw;
    transition: all .3s ease;
    z-index: 9998;
}

/*header nav:target,*/
header nav.menuvisible {
    right: 0;
    transition: all .6s ease;
    transform: translateZ(20%);
}
#menu ul {
    background-color: rgba(66,183,147,0.9);
    display: flex;
    flex-direction: column;
}
#menu{
    background-color: rgba(66,183,147,0.9);
}

.usuario {
    margin: auto;
    text-align: center;
    font-size: 75%;
    padding: 3em 1em 1em 1em;
    border-bottom: solid 1px rgba(255,255,255,.25);
    background-color: rgba(66,183,147,0.9);
}
.usuario img {
    border-radius: 50%;
    width: 20vmin;
    height: 20vmin;
    margin-top: -1.5em;
    max-width: 15em;
    max-height: 15em;
    border: 4px solid white;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .25) inset, 0 .35em .5em rgba(0, 0, 0, .25);
}

i {
    margin-right: 10px;
    margin-left: 10px;
}

header nav a {
    color: rgba(255,255,255,.75);
    display: block;
    padding: .5em 1em;
    text-align: center;
    text-decoration: none;
}

header nav a:hover {
    color: white;
}
/* ------------------------- fin de HEADER------------------- */






/* -------------------------MAIN----------------------------- */


main {

     display: flex;
     flex-direction:column;
   
    
    
}

nav ul  { 
    display: flex;
    justify-content: center;
    background-color: #1c6fac;
    list-style: none;
    min-width: 20em;
    text-decoration: none;
    
    
}

p a {

text-decoration: none;
color: rgb(0, 0, 0);
   
}



nav ul li a { 
    display: flex;
    color: #ffffff;
     text-decoration: none; 
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-top: 0.4em;
    margin-bottom: 0.5em;
    font-size: 14px;
    
    
}



#pliegue  { 
display: flex;  
background-color: #1b5d8e;
text-decoration: none;
color: #ffffff;
width: 100%;    
justify-content: center;
font-size: 14px;
position: fixed;
z-index: 990;
top: 4.6rem;


    
   
}

/*------stickymenu-----*/
.menu-fixed{
  position: fixed;
  z-index: 9990;
  top: 0;
  width: 100%;
}

.menu-fixed2{
  position: fixed;
  z-index: 90;
  top: 3rem;
  width: 100%;
}


/*------fin-stickymenu-----*/




#contenedorcabecera {
margin: auto;
position: relative;
display: inline-block;
margin-bottom: -1em;

}

#imagencabecera { 
margin: auto;
max-width: 100%; 
    
}

.textosobreimagen {
 position: absolute;
 bottom: 0;
 right: 1em;
margin-bottom: 1em; 
margin-right: -0.4em;
 color: rgba(230, 230, 230, 0.88);
font-size: 10px;
padding-bottom: 0.2em;
padding-top: 0.2em; 
padding-right: 0.7em;
padding-left: 0.7em;
background-color: #0a2f4b;

   
}


.categoria {
background-color: #42b793;  
font-size: 12px;
width: 27%;
text-align: center;
padding-right: 0.3em;
padding-bottom: 0.1em;
padding-top: 0.2em;
color: #ffffff; 
margin-top: 2em;

    
}

#categoria2 a {
background-color: #ff0000;  
width: 35%; 
font-size: 15px;   
padding-left: 0.5em;  
padding-right: 0.5em;
padding-bottom: 0.2em;
padding-top: 0.2em;
text-align: center; 
font-size: 14px;
color: #ffffff; 
text-decoration: none;
border-radius: 0.9em;
  
}


.imageninstitucion{
width: 100%;
border-radius: 0%
}

#contenedorfotos {
  margin: auto;
  margin-top: 0.5em;   
  margin-bottom: 1em;
   
}


 #imagen2 { 
    
    max-width: 20em;
    max-height: 20em;
    margin-top: 0.5em; 
    margin-bottom: -0.6em;
    
}

 #imagen3 { 
    
    max-width: 20em;
    max-height: 20em; 
    margin-top: 0.5em;
    margin-bottom: -0.6em;
}


/*------ Info adicional home  -----*/

 #imagen4 { 
padding-right: 0.3em;
width: 60px;
height: 53px;
   
}


.contenedorlateral {  
display: inline-block;
margin-top: 1em;
background-color: #cafadc;
height: 3.em;


    
}

.textolateral{
font-size: 11.5px;
padding-bottom: 0.1rem;

}

/*------ fin Info adicional home  -----*/



hr {
    height: 1.2px;
 
    border: 0;
    background-color: #cecece;
    margin-top: 2em;
    margin-bottom: -1em;
}

header h1  {

    margin-left: 0.2em;
    color: #ffffff;
    font-size: 20px;
    font-weight: 1;
     margin: auto;  
}


h1 a {

    margin-left: 0.2em;
    color: #ffffff;
    font-size: 20px;
    font-weight: 1;
     margin: auto; 
    text-decoration: none; 
    
}


h4 {
    
font-size: 13px;

}




section{
  max-width: 20em;
    margin: auto; 
    min-height:100vh;
    min-width:20em;
    margin-top: 0.5em;  
}


h6 a  {
margin-top: 1em;
margin-bottom:0.5em;
color: #7e7e7e;
text-decoration: none; 
}

 a:hover{ 
color:#000000;

}


section h6 {
color:#7e7e7e;
margin-bottom: 1.5em;
margin-top: 0.2em; 

}



section p {  
font-size:15px;    
}


section h3 {
font-size:20px;
color: #000000;
}



.active {
  background: red;
}



#separador  {
text-decoration: none; 
color: #575757; 
font-size: 15px;
padding-top: 0.2em;   
padding-bottom: 0.2em;
margin-top: 1.5em;      
padding-left: 0.2em;



}



/* --------- section ultimo y prox partido ------- */

.contenedorescudos {
display:flex;
max-width: 100%;
max-height: 20em;
height: 5em;
border-radius: 0.5em;
background-color: rgba(206, 206, 206, 0.29)
}


#resultado {
display: flex;
justify-content: center;
margin: auto;
background-color: #edff18;
width: 50%;
color: #000000;
font-size: 1em;
margin-top: 0.5em;
}

.anteriorpartido{ 

text-align: center;
color: #000000;
    
}


.ultimopartido2 {
   
color: #000000;
padding-top: 0.2em;
padding-bottom: 0.2em; 
padding-left: 0.3em; 
text-align: center;
width: 50%;
}

.proximopartido2 {
   
color: #000000;
padding-top: 0.2em;
padding-bottom: 0.2em; 
padding-left: 0.3em;
text-align: center;
font-size: 13px;
}


#escudo2021 {
width: 4em; 
height: 4em;
margin-right: 6em;
margin-left: 2em; 
margin-top: 0.4em

}


#escudorival {
width: 4em; 
margin-top: 0.4em;
height: 4em; 
margin-left: 1em;   
}

#contenedorultimo{
 background-color: rgba(226, 226, 226, 0.46);
 text-align: center;

 height: 4.3em;
}


.ultimopartido {
background-color: #ef3e3e;     
color: #f4f4f4;
padding-top: 0.1em;
padding-bottom: 0.1em;      
font-size: 12px; 
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;

}

#contenedorproximo {
border-radius: 0.5em;    
text-align: center;
height: 4.3em; 
background-color:rgba(226, 226, 226, 0.46);
margin-bottom: 1em;
                 
}


.proximopartido  {
background-color: #44c200;  
color: #f4f4f4;
padding-top: 0.1em;
padding-bottom: 0.1em;      
font-size: 12px; 



}

#versus {
color: #363636;    
padding-top: 3em;
padding-bottom: 0.5em; 
text-align: center;
font-size: 15px;   
}


section h5 a  {

padding-bottom: 0.5em; 
text-decoration: none;
color: #603636; 
font-size: 15px;
text-decoration: none; 

}


/* ---------  nuevo ------- */

.proximo1 {
    
background-color: #efefef; 
 border-radius: 0.5em; 
text-align: center;
padding-bottom: 0.1em;

}

.proximo2 {
background-color: #efefef;
border-radius: 0.5em;     
text-align: center;
padding-bottom: 0.1em;
   
}

#rival1 {
background-color: #cecece;    
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
padding-bottom: 0.2em;
padding-top: 0.2em;
}

#rival2 {
background-color: #cecece;    
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em; 
padding-bottom: 0.2em;
padding-top: 0.2em;    
}









/* ---------  fin de section ultimo y prox partido ------- */



/* ---------  contenedor logos 1 redes ------- */

#contenedorlogos {
display: flex;
max-width: 100%; 
margin-top: 2.5em;
justify-content: center;
margin-bottom: -5em;
}


.corona {
 width: 5em; 
 height: 3.5em;
margin-right: 2em;
}

.coca {
 width: 5em;
 height: 3.5em;
margin-right: 1em;
}
.fox {
 width: 5em; 
 height: 3.5em;    
}

/* ---------  fin contenedor logos 1 redes ------- */



/* ---------  contenedor logos 2 redes ------- */


.contenedorlogos2 {
display: flex;
max-width: 100%; 
justify-content: center;
margin-bottom: 0.5em;
}


.youtube{
 width: 1.5em; 
 height: 1.5em;
 margin-right: 0.5em;
 

}

.Fb {
 width: 1.5em;
 height: 1.5em;
  margin-right: 0.5em;
}
.mail {
 width: 1.5em; 
 height: 1.5em;
 margin-right: 0.5em;
  
}

/* ---------  fin contenedor logos 2 redes  ------- */



/*-------GALERIA2------*/

.galeria {
    
    width: 90%;
    margin:auto;
    list-style: none;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 2em;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.galeria li {
     margin: 5px;
}

.galeria img {
    width: 150px;
    height: 100px;
}
/*Estilos del modal*/

.modal {
    display: none;
}

.modal:target {
    
    display: block;
    position: fixed;
    background: rgba(0,0,0,0.8);
    margin-top: 100px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
}

.modal h3 {
    color: #fff;
    font-size: 12px;
    text-align: center;
    margin: 30px ;
    margin-top: 50px ; 
    fontajsdjjju-weight: 400;
}

.imagen {
    width: 100%;
    height: 50%;
    margin-top: -4em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen a {
    color: #fff;
    font-size: 40px;
    text-decoration: none;
    margin: 0 10px;
}



.imagen img {
    width: 500px;
    height: 100%;
    max-width: 100%;
    border: 7px solid #fff;
    box-sizing: border-box;
}

.cerrar {
    display: block;
    background: #fff;
    width: 25px;
    height: 25px;
    margin: 15px auto;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    color: #000;
    padding: 5px;
    border-radius: 50%;
    line-height: 18px;
 margin-top: -3em;
}


/* -------------------------FOOTER----------------------------- */

footer {
    background-color: #1c6fac;
    padding: 0.7em 0.7em 0.7em 0.7em;
    min-width: 20em;
    margin-bottom: 0rem;
    margin-top: 5rem; 
    
}

footer h5 {
color: #ffffff; 
text-align: center;     
}

footer h6 {
color: aliceblue;    
   
}

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

#dgpc {
   
color: #ffffff; 
text-decoration: none; 
}



/* -------------------------FOOTER----------------------------- */

/*-------intento de GALERIA con jquery

#c-slider {
    margin: auto;
    margin: top:1px;
    width: 90%;
    max-width: 900px;
    max-height: 250px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 10px #fff, 0 5px 15px;
}

#slider{
    
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    width: 400%;
}

#slider section {
    width: 100%;
}

#slider img {
    display: block;
    width: 100%;
    height: 100%;
}

#btn-prev, #btn-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    position:relative;
    top: 50%;
    transform: translateY(-1350%);
    line-height: 40px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}
#btn-prev:hover, #btn-next:hover {
  background: white;
}

#btn-prev {
  left: 10px;
  
}

#btn-next {
  right: -275px;
 top:  -39px;
}

-------*/

@media (min-width: 700px) { 
 
 #llamamenu,.usuario {
        display: none;
    }       
     
} 

@media ( max-width:699px) { 
 
 MAIN NAV UL{
        display: none;
    }       
 #menu ul li ul li a{
   padding: 0.em;
     margin: -0.1em;
     font-size: 0.8em;
     margin-left: 2.5em;
  
} 
   
   
}
