/** Desarrollado por el Profesor Marcos Gonzalez 
* {
    margin: 0px;
    padding: 0px;
}

body{
    font-family: Montserrat, sans-serif;
}

p {
    font-size: 16px;
    line-height: 140%;
} **/
.contenedor {
    width: 90%;
    margin: 0 auto;
    max-width: 1024px;
}
.centrado {
    text-align: center;
}
.header1 {
    background-image: url(../img/portada_cs.jpg); 
    /* los ../ hace que se regrese un directorio anterior, para recien acceder a la carpeta img */
    height: 480px;
    background-repeat: no-repeat;
    background-position: center;
    /* overflow: auto; */
    color: white;
}
.header2 {
    background-image: url(../img/portada2.jpg);
    background-repeat: no-repeat;
    background-position: center;    
    height: 260px;
    color: white;
    padding-top: 12px;
    padding-bottom: 12px; 
}
.logo {
    text-align: center;
    padding-top: 6px;
}

.logo200 {
    width: 170px;
}


header nav {
    padding: 15px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

header nav a {
    font-weight: 500;
    display: inline-block;
    padding: 5px;
    text-decoration: none;
    color: white;
}

header nav a:hover {
    text-decoration: underline;
}

header .contenido_header {
    margin: 30px 0px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.contenido_header img {
    width: 200px;
}
header h1 {
    font-size: 30px;
    text-align: center; 
    line-height: 56px;
    font-weight: 600;
}


header h2 {
    font-size: 38px;
    text-align: center; 
    line-height: 56px;
    font-weight: 600;
    color: #00BFF0;
}


.div-center {
    text-align: center;
}

.tam_18 {
    font-size: 18px;
    color: #00BFF0;
}

.tam_18_nav {
    font-size: 18px;
    color: #1bb4b9;
    margin-top: 0px;
}

.tam_22 {
    font-size: 22px;
    color: #00BFF0;
}
.tam_26 {
    font-size: 28px;
    color: #00BFF0;
}
.tam_90 {
    font-size: 90px;
    color: #00BFF0;
}
.float-left {
    float: left;
}
.float-clear {
    clear: both;
}
.tarjeta {
    padding: 10px 5px;
}
.tarjeta h3 {
    text-align: left;
    padding-top: 15px;
    padding-bottom: 7px;
}
.tarjeta p {
    font-size: 15px;
}

article {
    margin-bottom: 30px;
}
.post {
    padding: 10px 30px;
    background-color: white;
}
.post-nav {
    padding: 15px 30px;
    background-color: white;
     margin-bottom: 30px;
}

.post-nav h3 {
    text-align: left;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 20px;
}
.post h3 {
    text-align: left;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 26px;
    line-height: 27px;
}
.post p {
    font-size: 15px;
    line-height: 23px;
    padding-top: 10px;
    color: #576769;
}
.post .fecha {
    background: url("../img/a3.png") no-repeat scroll left center rgba(0, 0, 0, 0);
    padding: 8px 0 8px 20px;
    font-style: italic;
    color: #576769;
    font-size: 14px;
}
.post img {
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}
.post-boton {
    margin-top: 15px;
    margin-bottom: 10px;
    text-decoration: none;
    display: inline-block;
    padding: 9px 20px;
    background-color: #00BFF0;
    color: white;
}

/* Bloques */
.block-blanco {
    margin-top: 60px;
    margin-bottom: 70px;
    color: #576769;
}
.block-blanco img {
    margin-top: 20px;
    width: 100%;
    border-radius: 10px;
}
.block-blanco p {
    line-height: 22px;
}
.block-blanco h2 {
    font-size: 28px;
    font-weight: 400;
    padding-top: 50px;
    padding-bottom: 16px;
}
.block-gris {
    background-color: #f3f3f3; 
    padding: 40px 0px;
}
.cont-blanco {
    background-color: white;
    padding: 50px 25px;
    border-radius: 3px;
}
.bloc-celeste1 {
    background-color: #1bb4b9;
    color: white;
    padding: 40px 10px;
    text-align: center;
}
.bloc-celeste1 img {
    margin-top: 20px;
    width: 80%;
    border-radius: 10px;
}

.block-celeste1 p {
    line-height: 22px;
}

.bloc-celeste1 h2 {
    font-size: 30px;
    font-weight: 400;
    padding-top: 10px;
}
.block-celeste2 {
    padding-top: 60px;
    padding-bottom: 70px;
    background-color: #329BB7;
    color: white;
}
.block-celeste2 img {
    margin-top: 16px;
    width: 100%;
}
.block-celeste2 h3 {
    text-align: left;
    padding-top: 7px;
    padding-bottom: 7px;
    border-bottom: solid 2px aqua;
    margin-bottom: 20px;
}

.block-celeste2 p {
    line-height: 22px;
    text-decoration: none;
    color: white;
}

.block-celeste2 a {
    color: white;
    text-decoration: none;
}

/* Bloques */


.boton1 {
    margin-top: 30px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 30px;
    background-color: #00BFF0;
    color: white;
}

.boton2 {
    text-decoration: none;
    display: inline-block;
    padding: 15px 30px;
    background-color: #668DE1;
    color: white;
    border: 2px solid;
    border-radius: 5px;
    border-color: #668DE1;
}

.boton2:hover {
    color: aqua;
    border: 2px solid;
}
footer {
    background-color: #2c3e50;
    color: white;
    padding-top: 20px;
    padding-bottom: 12px;
}
footer .contenedor h3 {
    font-family: Montserrat, sans-serif;
    color: white;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    padding: 16px 0px;
}

footer p {
    font-size: 15px;
    line-height: 20px;
}
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color: aqua;
}
.footer-items {
    padding-top: 10px;
}
.footer-items p {
    margin: 0px;
    padding-left: 10px;
    line-height: 140%;
}

.div_form {
    width: 90%;
    margin: 0 auto;
    max-width: 1180px;          
    margin-top: 70px;
    margin-bottom: 70px;
    clear: both;
    box-sizing: border-box;
    overflow: auto;

}
.div_form h3 {
    margin-left: 15px;
    font-size: 22px;
    color: #353b48;
}
.div_form p {
    line-height: 22px;
    margin-top: 15px;
    margin-left: 15px;
}
.div_form .div_form_left {
    width: 48%;
    float: left;
    overflow: auto;
}
.div_form .div_form_right {
    width: 48%;
    float: right;
    overflow: auto;
}



.boton {
    padding: 10px;
    margin-top: 15px;
    background-color: #3498db;
    border: solid 2px #3498db;
    border-radius: 3px;    
    color: white;
    font-size: 15px;
}
.boton:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}


/* para videos de youtube */
.video-container {
	position: relative;
	padding-bottom: 56.25%; /* proporción 16:9 */
	padding-top: 25px;
	height: 0;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* html para el video
<div class="video-container">
<iframe src="https://www.youtube.com/tuvideo" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</div>
*/


/* sm - mediano ≥ 768px */
@media only screen and (min-width: 48em){
header h1 {
    font-size: 38px;
}
    .header2 {
        height: 200px;
        padding-top: 20px;
    }    
    header nav {
        padding: 30px 0;
        justify-content: flex-end;
        padding-right: 20px;
    }
    header nav a {
        padding: 10px;
    }
    .logo {
        text-align: left;
        padding-top: 16px;
    }    
}
    
    
    

/* para pantallas extra grandes */
@media only screen and (min-width: 1370px) {
    .header1 {
        background-image: url(../img/portada_cs.jpg) no-repeat center center; 
        min-width: 100%;
        background-size: cover;
    }
    .header2 {
        background-image: url(../img/portada2.jpg) no-repeat center center; 
        min-width: 100%;
        background-size: cover;
    }    
}