/*menu de la cabecera >768*/

@media (min-width:768px) {
    .barra {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}


/* CSS - Cascading Style Sheet */


/* Palette color codes */


/* Palette URL: http://paletton.com/#uid=13+0u0kNBUjuCYdBuWBR4H2MQu9 */


/* Feel free to copy&paste color codes to your application */


/* As hex codes */

.color-primary-0 {
    color: #0F0FEF
}


/* Main Primary color */

.color-primary-1 {
    color: #2E2EF8
}

.color-primary-2 {
    color: #1D1DF4
}

.color-primary-3 {
    color: #0A0ACF
}

.color-primary-4 {
    color: #0B0BA8
}


/* As RGBa codes */

.rgba-primary-0 {
    color: rgba( 15, 15, 239, 1)
}


/* Main Primary color */

.rgba-primary-1 {
    color: rgba( 46, 46, 248, 1)
}

.rgba-primary-2 {
    color: rgba( 29, 29, 244, 1)
}

.rgba-primary-3 {
    color: rgba( 10, 10, 207, 1)
}

.rgba-primary-4 {
    color: rgba( 11, 11, 168, 1)
}


/* Generated by Paletton.com © 2002-2014 */


/* http://paletton.com */


/*inicio cabacera dentro del body */

.site-header {
    background-image: url(../img/banda_header.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 35rem;
}

.site-header a {
    color: #ffffff;
    text-decoration: none;
}

.site-header h1 {
    text-align: end;
    font-weight: 400;
}

.site-header h1 span {
    font-weight: 700;
}


/*inicio menu de navegacion dentro de la cabecera */

.navegacion a {
    text-align: center;
    display: block;
    font-size: 1.6rem;
    color: #ffffff;
    text-decoration: none;
}


/*Cuadricula de imagenes */

.galeria {
    font-family: 'Open Sans', sans-serif;
}

.galeria h1 {
    text-align: center;
    margin: 20px 0 15px 0;
    font-weight: 300;
}

.linea {
    border-top: 5px solid #0b0ba8;
    margin-bottom: 40px;
}

.contenedor-imagenes {
    display: flex;
    width: 85%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius: 5%;
}

.contenedor-imagenes .imagen {
    /*ancho de imagen */
    width: 32%;
    position: relative;
    /*alto de imagen */
    height: 150px;
    margin-bottom: 5px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0)
}

.imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*cover */
    border-radius: 50%;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #0b0ba8;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: .5s ease;
    border-radius: 50%;
}

.overlay h4 {
    color: #fff;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1px;
    position: relative;
    /*absolute */
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
}


/*alto del overlay */

.imagen:hover .overlay {
    height: 100%;
    cursor: pointer;
}


/*fin de cuadricula  */


/*inicio Slider */

.slide-contenedor {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1%;
    margin-bottom: 1%;
    max-width: 100%;
    max-height: 100vh;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    /* margin: auto; */
}


/* .miSlider{
    display: none;
    transition: 2s;
    max-height: 100vh;
} */

.miSlider img {
    width: 100%;
    max-height: 100vh;
    height: inherit;
    object-fit: cover;
    vertical-align: top;
    transition: 2s;
}


/*
.direccion {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
}

.direccion a {
    color: #fff;
  display: inline-block; 

padding: 20px;
text-decoration: none;

}
.direccion a:hover {
    background: rgba(0, 0, 0, .5);
    transition: .5s;
}
.barras {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}
.barra {
    cursor: pointer;
    height: 2px;
    width: 25px;
    margin: 0 2px;
    background: #dcdde1;
    display: inline-block;
    margin-left: 3px;
}
.active {
    background-color: #e74c3c;
}
*/

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4;
    }
    to {
        opacity: 1;
    }
}


/*fin slider */

.imagen-original {
    width: 50%;
    height: 50%;
    object-fit: contain;
    border-radius: 0%;
}

.imagen-covid {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*cover */
    border-radius: 0%;
}

.info-covid h3,
p,
li {
    text-align: justify;
    margin-right: 3rem;
}


/*Inicio menu de navegacion >768 */

@media (min-width:768px) {
    .navegacion a {
        display: inline;
        margin-right: 2rem;
    }
    .navegacion a:last-of-type {
        margin: 0;
    }
}


/* Texto de la cabecera */

.texto-header {
    color: #ffffff;
    text-align: center;
    margin-top: 5rem;
}


/* Texto de la cabecera >768 */

@media (min-width:768px) {
    .texto-header {
        margin-top: 15rem;
    }
}


/* Texto de la cabecera*/

.texto-header p {
    font-size: 2.2rem;
}


/* Contenido dentro del main */

.contenido-principal {
    display: flex;
    flex-wrap: wrap;
}


/* Contenido dentro del main >768 */

@media (min-width:768px) {
    .contenido-principal {
        justify-content: space-between;
    }
}


/* Main y Aside en pantallas pequeñas*/

.blog,
.cursos {
    flex: 0 0 100%;
}


/*orden de precedencia en pantallas pequeñas */

.cursos {
    order: -1;
}


/* orden de precedencia y tamaño de la columna,
 en pantallas grandes para el main y para el aside */

@media (min-width:768px) {
    .blog {
        flex-basis: 66.6%;
        order: -1;
    }
    .cursos {
        flex-basis: calc(33.3% - 4rem);
        order: 2;
    }
}


/* Contenido del articulo dentro del main */

.entrada-blog {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e1e1e1;
}


/* Para que no agregue borde al ultimo articulo*/

.entrada-blog:last-of-type {
    border: none;
}


/* Imagen dentro del articulo*/

.entrada-blog .imagen {
    flex: 0 0 30%;
}


/* Contenedor del texto y contenedor del texto 
en el articulo */

.entrada-blog .contenido-blog {
    flex: 0 0 calc(60% - 2rem);
}


/* estilo de la etiqueta ul*/

.cursos-lista {
    padding: 0;
    list-style: none;
}


/* estilo de la etiqueta il dentro de article */

.curso {
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e1e1e1;
    text-align: justify;
}


/* Que no agregue borde a la ultima etiqueta il */

.curso:last-of-type {
    border: none;
}


/* Estilo dentro de article */

.curso p {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}


/*Estilo dentro de article */

.curso p span,
.curso p.descripcion {
    font-weight: 400;
}


/* Inicio del pie de pagina */

.site-footer {
    background-color: #0b0ba8;
    padding: 3rem;
    margin-top: 4rem;
}

.site-footer p {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 400;
    font-family: 'PT Sans', sans-serif;
    text-align: center;
}

.site-footer p span {
    font-weight: 700;
}

.site-footer ol {
    text-align: center;
}

.site-footer h3 {
    text-align: center;
}

.site-footer .imagen-original {
    width: 15%;
    height: 15%;
    object-fit: contain;
    /*cover */
    border-radius: 0%;
}


/* Estilos para el modulo de contacto */

.formulario-contacto {
    background-color: #2e2ef8;
    padding: 5rem;
    margin: 0 auto;
    /* border: 1px solid #e1e1e1;*/
}


/* Estilos para el modulo de contacto >768 */

@media (min-width:768px) {
    .formulario-contacto {
        margin-top: 0rem;
    }
}


/* Estilos para el mail nombre y mensaje dentro del modulo de contacto*/

.formulario-contacto .campo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}


/* Estilos para los nombres de los campos
del formulario de contacto */

.formulario-contacto .campo label {
    flex: 0 0 8rem;
}


/* Aplica estilo a todos los componentes del 
formulario de contacto menos al submit*/

.formulario-contacto .campo input:not([type="submit"]),
.formulario-contacto textarea {
    flex: 1;
    border: 1px solid #e1e1e1;
    padding: 1rem;
    background-color: #b5c3cf;
}


/* Tamaño del contenedor del texto, ademas
permite que esta caja sea ampliable */

.formulario-contacto textarea {
    height: 10rem;
    resize: vertical;
}


/* Estilo del boton enviar */

.formulario-contacto .enviar {
    display: flex;
    justify-content: flex-end;
}


/* Estilo del contenedor de imagenes para <1000 */

@media screen and (max-width:1000px) {
    .contenedor-imagenes {
        width: 95%;
    }
}


/* Estilo del contenedor externo de imagenes y para 
el contenedor interno de las imagenes para <700 */

@media screen and (max-width:700px) {
    .contenedor-imagenes {
        width: 90%;
    }
    .contenedor-imagenes .imagen {
        width: 48%;
    }
}


/* Estilo para algunas etiquetas y contenedores para <450 */

@media screen and (max-width:450px) {
    h1 {
        font-size: 22px;
    }
    .contenedor-imagenes {
        width: 98%;
    }
    .contenedor-imagenes .imagen {
        width: 80%;
    }
    .imagen-original {
        width: 50%;
        height: 50%;
        object-fit: contain;
        border-radius: 0%;
    }
    .imagen-covid {
        width: 80%;
        height: 80%;
        object-fit: contain;
        /*cover */
        border-radius: 0%;
    }
    .info-covid h3,
    p,
    li {
        text-align: justify;
        margin-right: 3rem;
    }
    .site-footer .imagen-original {
        width: 15%;
        height: 15%;
        object-fit: contain;
        /*cover */
        border-radius: 0%;
    }
}