@charset "utf-8";

/*
<style>
@import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');
</style>
*/


body {
    background-color: gainsboro;
    font-family: "Fira + Sans + Extra + Condensed & display";
    min-height: 100vh;

    /* caja flexible */
    display: flex;

    /* dirección de sus elementos */
    flex-direction: column;
    
    /* organización de los elementos según ele eje principal
        (vertical por la propiedad anterior) */
    justify-content: space-between;
}

main {
    text-align: center;
}

header {

    display:flex;
    flex direction: row;
    background-color: rgba(0, 0, 139, 0.31);
    justify-content: space-between;
    position:relative;
    height: 2em;
    align-items: center;
    padding: 1em;
    font-weight: 200;
    z-index: 1000;
}

header a {
        text-decoration: none;
        color: midnightblue;  
    
}
nav ul {
    display: none;
    list-style: none;
    padding: 0.6em;
    text-align: right;
    position: absolute;
    right:.5em;
    top:3em;
    background-color: midnightblue;
    width: 15%;
    margin-right: -0.5em;
}
nav ul li {
    padding-bottom: 0.3em;
    padding-top: 0.3em;
    text-align: right;
    display: flex;
    flex-direction: column; 
}
nav ul li a {
    color:white;    
}
.contenedor1 {
    font-family: white;
    background-color: white;
    width: 80; 
    height: 1em;
    text-align:center;
    border-radius: 10px;
    padding: 10px;
    margin: 3px
    
    
        
}
h1 {
    font-family: "Poppins", sans-serif ; 
    font-weight: bold;
    color:midnightblue;
    font-size: 2em
}
h2{
    font-family:"poppins", sans-serif;
    color: midnightblue;
    font-size: 1.5em;
    background-color:  rgba(0, 0, 139, 0.1);;
}
h3 {
    font-family: "poppins", sans-serif;
    font-size: 1em;
    color:midnightblue
  
}
h3 a {
    text-decoration: none;
    color: midnightblue;
    
}
.uno {
    font-family: "poppins", sans-serif;
    font-size: 0.6em;
    color:midnightblue;
    font-weight: 600;
    margin-left: 2em;
    margin-right: 2em;
}
p {
    font-family: "poppins", sans-serif;
    font-size: 0.5em;
    color:midnightblue;
    font-weight: 100;
    margin-left: 2em;
    margin-right: 2em;
}
h5 {
    font-family: "poppins", sans-serif;
    font-size: 1.5em;
    color:white;
    font-weight: 100;
    margin-left: 2em;
    margin-right: 2em;
}
.leermas  {
 display: block;
}
footer {
    font-family:"popins",monospace;
    font-weight: 100;
    font-size: 1em;
    background-color: midnightblue;
    padding: 0.5em;
}

footer p{
    font-family: "poppins", sans-serif;
    font-size: 0.5em;
    color: white;
}

/*---------------------------------*/
div {
    box-sizing: border-box;
}
/*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;
}
/*
---------------------------------
 puntos de quiebre (breakpoints)
 para el diseño responsive
---------------------------------
*/

/* reglas que se aplicarán cuando la ventana del navegador mida igual o más de 400px */
@media (min-width: 25em) {
    
    body {
        width: 100%;
        margin: .5em;
    }
    
}