@charset "utf-8";

* {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
}
div {
    box-sizing: border-box;
}
main{
    height: auto;
    margin: 0.5em;
    text-align: center;
}
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em;
}
.membrete{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5em;
}
/*textos*/
h1 {
    color:midnightblue;
    font-size: 1.5em;
    text-align: left;
}
h2 {
    color:midnightblue;
    font-size: 1em;
    text-align: left;
}
h3{
    font-size: 0.8em;
    text-align: left;
}
h4 {
    font-size: 0.8em;
    text-align: center;
}
h5 {
    font-size: 0.8em;
    color: midnightblue;
    font-weight: 100;
    text-align: left;
    text-decoration: underline red;
}
p {
    font-weight: 300;
	font-size: 0.8em;
	line-height: 1.1rem;
	color: black;
    text-align: left;   
}
.leyenda {
    
    color: darkgray;
    font-size: 0.8em;
}
.centrado {
    text-align: center;
}
.encabezado { display: flex;
    height: auto;
    }
label {
    font-size: 0.8em;
}
.home {
    padding: 1em;
    height: 15em;
    display: flex;
    flex-direction:column;
    align-items: center;
    margin-top: -1.2em
    }
header {
    background-color:midnightblue;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position:relative;
    height: 5em;
    color: white;
    height: 0.5rem;
    align-items: center;
    padding: 2rem;
    font-weight: 200;
    z-index: 1000;
}
footer{
    background-color: midnightblue;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.5em;
    height: 4em;
    color: white;
    text-align: left;
    position: relative;
    bottom: 0%;
    width: 100%;
}
.legales {
    background-color: midnightblue;
    height: 6em;
    padding: 0.5em;
}
footer p{
    font-size: 0.6em;
    font-family: monospace;
    color: white;
}
footer0{
    background-color: midnightblue;
    display: flex;
    padding: 0.5em;
    color: white;
    text-align: left;
    }
footer0 p{
    font-size: 0.6em;
    font-family: monospace;
    color: white;
}
section a {
    color: midnightblue
}
.galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    transition: all 1s ease;
    margin: 1em;
    margin-top: 3em;
    margin-bottom: 3em;
   
    
}
.galeria > div {
    width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.noticiero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 1s ease;
    margin: 1em;
    margin-top: 3em;
    margin-bottom: 3em;
   
    
}
.noticiero > div {

    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/*GALERIA ENCABEZADO PARA DEPORTES*/
.doc{
  display: flex;
  flex-flow: column wrap;
    margin: -8px;
  justify-content: center;
  align-items: center;
}
.box{
height: auto;
overflow: hidden;
}
.box img{
  width: 100%;
  height: auto;
}
/*caja para contener formulario*/
/*div registrarte*/
.registrarse{
    margin-left: 1.8rem;
    margin-right: 1.8rem;
    margin-top: 3vh;
    color: midnightblue;
}

button{
    color: midnightblue;
    text-decoration: none;
}
/* Boton para "recordar contrasena"*/
input checked {
    width: 1em;
    height: 2em;
}
/*caracteristicas para imput formukario*/
input {
    -webkit-writing-mode: horizontal-tb !important;
    display: inline-block;
    background-color: white;
    cursor: text;
    margin: 0em;
    border-image: initial;
}
.campos {
    font-size: 1rem;
    border: 0;
    text-align: left;
    font color: #dddddd;
}
/*línea fina para separar campos*/
.lineafina {
    width: 100%;
    height: 1px;
    border: 0;
    background-color: #dddddd;
    margin-bottom: 1.5rem;
}
/* ancho para la caja de formulario*/
form {
    padding: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;  
}

nav ul {
    
    display: none;
    list-style: none;
    padding: 10px;
    text-align: right;
    position: absolute;
    right:0px;
    top:48px;
    background-color: crimson;
    width: 30%;
    
}
nav ul li {
    padding-bottom: 10px;
    padding-top: 10px;
    background color: darkred;
    text-align: center;
    
}
nav ul li a {
    color:white;
    
}
/*propiedas VIDEO*/
.video {
    display: flex;
    
}
/*------------------------
caracteristicas p/"CUADRO DE MENSAJE"*/
.cuadro_formulario {
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1.5px solid rgba(0, 0, 84, 0.35);
    border-radius: 5px;
    padding: 0.5em;
    margin: 0em;
    background: rgba(25, 25, 112, 0.13);
}
.enviar_mensaje {
    background: rgba(25, 25, 112, 0.06);
    
}
.msj {
    margin: 0;
    display: flex;
    flex-direction: column;
    
}
.boton {
    display: flex;
    position: relative;
    }
/*--------------------*/
/* GALERIA HOME DEPORTES */
/*  para limitar el ancho de los contenidos y centrarlos */
.fila {
    max-width: 50em;
    margin: 0 auto;
    padding: .5em;}
section {
    display: block;
    border-top: solid 1px rgba(0,0,0,.1);
}
.galeria figure {
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    width: 45%;
    margin: .125em;
    
}
.galeria img { 
    display: block; 
}
.galeria figcaption {
    background-color: rgba(0,0,0,.5);
    border: solid 2px rgba(0,0,0,0);
    color: white;
    padding: .3em;
    line-height: 0.75em;
    position: absolute;
    height: 100%;
    top: calc(100% - 2em);
    left: 0;
    right: 0;
    transition: all .5s ease;
    
}
.galeria figure:hover figcaption {
    background-color: rgba(0, 0, 139, 0.67);
    border: none;
    padding: 1em;
    text-align: center;
    top: 2.5em;
    left: .5em;
    right: .5em;
    transition: all .3s ease-out;
}
.galeria figcaption span {
    display: block;
    font-size: .75em;
    color: #ddd;
}

span {
    text-align: left;
    margin-top: 1em;
}



.noticiero figure {
    position: relative;
    overflow: hidden;
    flex-grow: 1;
  
    margin: .125em;
    
}
.noticiero img { 
    display: block; 
}
.noticiero figcaption {
    background-color: rgba(0,0,0,.5);
    border: solid 2px rgba(0,0,0,0);
    color: white;
    padding: .3em;
    line-height: 0.75em;
    position: absolute;
    height: 100%;
    top: calc(100% - 2em);
    left: 0;
    right: 0;
    transition: all .5s ease;
    
}
.noticiero figure:hover figcaption {
    background-color: rgba(0, 0, 139, 0.67);
    border: none;
    padding: 1em;
    text-align: center;
    top: 3em;
    left: .5em;
    right: .5em;
    transition: all .3s ease-out;
}
.noticiero figcaption span {
    display: block;
    font-size: .75em;
    color: #ddd;
}

/*registrarse con facebook*/
.buttomfb {
    border: 0;
    text-decoration: none;
    background-color: #3b5998;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    border-radius: 6px 6px 6px 6px;
    width: 100%;
    line-height: 3em;
    border: none;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
}
/*-----------------------------*/
/* reglas que se aplicarán cuando la ventana del navegador mida igual o más de 560px */
@media (min-width: 35em) {
     
    .galeria figure {
        width: 45%;
        margin: .125em;
    }
    
    .noticiero figure {
        width: 45%;
        margin: .125em;
    }
    
}

@media screen and (min-width: 62em)
{
    footer {
        width: auto;
        top: 0;
    }
    .galeria figure {
        width: 25%;
    
    }
    
    
}

@media screen and (min-width: 52em)
{
    footer {
        width: auto;
        top: 0;
    }
    
}


@media screen and (min-width: 42em)
{
    footer {
        width: auto;
        top: 0;
    }
    
    
}


@media screen and (min-width: 24em) 
{
    footer {
        width: auto;
        top: 0;
        
    }
    
    
}
