@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#bienvenidos .contenedor{
	max-width: 100%;
	width: 98%;
	text-align:center;
	margin-bottom:30px;	

}

hr{ 
	height: 2px;
	margin-left: 40%;
	margin-right: 40%;
	background-color: #693D3D;
	border: 0;
	margin-bottom: 45px;
	margin-top: 35px;

}


.banner img {
  display: block;
  max-width: 100%;
}

.main img {
  display: block;
  max-width: 100%;
}


body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Yanone Kaffeesatz', sans-serif;
  letter-spacing: 1.5px;
}
.section__titulo {
	text-align: center;
	font-size: 40px;
	color: #9A1212;
}
.contenedor {
  margin: auto;
  width: 99%;
}


/*-------------------Estilos del header-------------------*/
.header {
  height: 50px;
  	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #2B83BB;
}

	.header img{
	max-width: 300px;
	max-height: 45px;
    margin-top: -2px;
	}

#l1{
    display: none;}

.header .contenedor {
	display: flex;
	justify-content: space-between;

}
.logo, .icon2-menu {
  margin: 5px;
  color: #fff;
}


.icon2-menu {
  display: block;
  width: 40px;
  height: 40px;
  background:  #2AE5C7;
  text-align: center;
  line-height: 40px;
  border-radius: 5px;
  margin-left: auto;
  cursor: pointer;
}

.sombra{
	display:block;
	margin:auto;
	vertical-align: top;
	max-width: 100%;
	height: 100%;
}

/*--------------Estilos de banner--------------*/

.banner {
  position: relative;
  z-index: -1000;
  margin-bottom: 20px;
}

.banner .contenedor {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  color: #fff;
  text-align: center;
}

.banner img {
	margin-left:auto;
	margin-right:auto;
	}

.banner__txt {
  display: none;
}

/*-----------------Estilos de info-----------------*/
.info__columna {
  background: #2B83BB;
  color: #fff;
  padding: 15px;
  margin-bottom: 30px;
}


/*-----------------Estilos de cursos-----------------*/
.cursos__columna {
  position: relative;
  margin-bottom: 30px;
}
.cursos__descripcion {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  background: rgba(0,0,0,0.5);
  width: 60%;
  height: 100%;
  padding: 5px;
}
.cursos__titulo {
  font-size: 25px;
  margin: 5px 0;
}
.cursos__img {
  width: 100%;
}
/*-----------------Estilos de footer-----------------*/

.footer {
  background: #333;
  color: #fff;
	padding-top: 20px;
	padding-bottom: 50px;
  text-align: center;
}

.footer .social [class^="icon-"] {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-size: 30px;
  padding: 10px;
  background: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 40px;
}

/*------------------Estilos responsive------------------*/
@media(max-width:480px) {
	  	.banner {
            display: none;
		}
    .info__titulo {
    color: #fff;
  }
}

@media(min-width:480px) {
	
	#boton {
		display:none;
		
		}
		
  .logo {
    font-size: 40px;
  }
  .header {
  height: 50px;
  	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #2B83BB;
}

	.header img{
	max-width: 300px;
	max-height: 45px;
    margin-top: -2px;
	}

  
  
  .banner__titulo {
    font-size: 30px;
    margin: 5px 0;
    color: #fff;
  }
  .banner__txt {
    display: block;
    font-size: 18px;
    margin: 7px 0;
  }
  .info, .cursos {
    display: flex;
    justify-content: space-between;
    margin-top: -90px;
  }
  .info__columna {
    width: 32%;
  }
  .info__titulo {
    font-size: 30px;
    color: #fff;
    margin: 5px 0;
  }
  .section__titulo {
    width: 100%;
  }
  .cursos {
    flex-wrap: wrap;
    margin-top: 0;
  }
  .cursos__columna {
    width: 49%;
  }
  .footer .social [class^="icon-"] {
    margin: 0 10px;
  }
  

}
@media(min-width:768px) {  
  .banner__titulo {
    font-size: 50px;
  }
  .cursos__titulo {
    font-size: 40px;
  }
  
  .header {
  height: 50px;
  	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #2B83BB;
}

	
}

@media(min-width:1024px) {  
  .header {
    height: 223px;
    display: flex; 
    flex-direction: column; 
    align-items: center;
  	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #2B83BB;
}

    .header .contenedor {
        display: flex; 
        flex-direction: column; 
        align-items: center;
        width: 100%;
    }

	.header img{
	max-width: 379px;
	max-height: 140px;
    margin-top: 6px;
	}
#l2{
    display: none;
    }
#l1{
    display:inline;
    }

  .contenedor {
    width: 1000px;
  }
  .section__titulo {
    font-size: 50px;
    margin: 30px 0;
  }
  .nav {
    position: static;
    width: auto;
  }
  .menu {
    display: flex; 
    justify-content: space-around;
    width: 100%;
    border-bottom: solid 1px #000000;
    font-weight: 600;
  }
   .icon2-menu {
    display: none;
  }

  .select {
    color: #fff;
    background: #FBA919;
  }
  .banner__titulo {
    font-size: 60px;
  }
  .banner__txt {
    font-size: 25px;
  }
  .info {
    margin-top: -120px;
  }
  .info__columna {
    padding: 30px;
  }
  .info__titulo {
    font-size: 40px;
    text-align: center;
  }
  .cursos__descripcion {
    padding: 20px;
  }
  .cursos__titulo {
    font-size: 50px;
  }
  .cursos__txt {
    font-size: 20px;
  }

.menu .activa{
    color: #6ea3b1;
}

    .acti{
        border-bottom: 4px solid #6ea3b1;
        margin-left: 10px;
        margin-right: 10px;
    }
    
  
}

@media(min-width:1280px) {
  .contenedor {
    width: 1200px;
  }
  
  .header {
    height: 272px;
    display: flex; 
    flex-direction: column; 
    align-items: center;
  	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #74c3b0;
}

    .header .contenedor {
        display: flex; 
        flex-direction: column; 
        align-items: center;
    }
  
  .banner .contenedor {
    top: 40%;
  }
  .info {
    margin-top: -220px;
  }
	
	.header img{
	max-width: 710px;
	max-height: 170px;
    margin-top: 6px;
	}
	

}







#header-hero {
	width: 100%;
	display: block;
	position: relative;
}

#header-hero .header-bg {
	width: 100%;
	height: auto;
}

#header-hero .header-bg img {
	width: 100%;
	height: auto;
}

#header-hero .header-content {
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.1);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
	position: absolute;
	top: 0%;
	text-align: center;
	color: #f2f2f2;
	padding: 0rem 0.4rem;
}

#header-hero .header-content p.heading-1 {
	text-transform: uppercase;
	margin: 0 auto;
	font-family: "Lato", sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 2vw;
	padding-top: 9vw;
}

#header-hero .header-content h1 {
	margin: 0 auto;
	font-family: "Lato", sans-serif;
	font-size: 3rem;
	font-style: italic;
	text-transform: uppercase;
	margin-bottom: 2.4vw;
}

#header-hero .header-content h1 .logo-style {
	color: #e53a2a;
}

#header-hero .header-content p.description {
	margin: 0 auto;
	width: 30%;
	font-family: Cambria;
	font-size: 1.4rem;
	font-style: italic;
	margin-bottom: 5vw;
}

#header-hero .header-content .button {
	margin: 0 auto;
	background-color: #e53a2a;
	-webkit-box-shadow: 0px 1px 3.84px 0.16px rgba(0, 0, 0, 0.35);
	box-shadow: 0px 1px 3.84px 0.16px rgba(0, 0, 0, 0.35);
	width: 10rem;
	padding: 0.8rem;
}


#header-hero .header-content a.button {
	margin: 0 auto;
	background-color: #e53a2a;
	-webkit-box-shadow: 0px 1px 3.84px 0.16px rgba(0, 0, 0, 0.35);
	box-shadow: 0px 1px 3.84px 0.16px rgba(0, 0, 0, 0.35);
	width: 10rem;
	padding: 0.8rem;
	display: block; /* Asegura que el enlace ocupe todo el ancho */
	text-align: center; /* Centra el texto del enlace */
	color: white; /* Color del texto */
	text-decoration: none; /* Elimina el subrayado del enlace */
	transition: background-color 0.3s ease; /* Agrega una transición suave */
}

#header-hero .header-content a.button:hover {
	background-color: #c11b0c; /* Cambia el color de fondo cuando se pasa el cursor */
}


#header-hero .header-content .button p {
	font-family: Cambria;
	font-size: 1rem;
	font-weight: 400;
	text-align: justify;
	margin: 0 auto;
	text-align: center;
	text-transform: uppercase;
}

@media only screen and (max-width: 1440px) {
	#header-hero .header-content p.description {
		width: 40%;
		margin-bottom: 3rem;
		font-size: 1.2rem;
	}
	#header-hero .header-content p.heading-1 {
		padding-top: 8vw;
	}
}

@media only screen and (max-width: 1024px) {
	#header-hero .header-bg {
		width: 100%;
		height: auto;
		overflow: hidden;
	}
	#header-hero .header-bg img {
		width: 100rem;
		height: 40rem;
		margin-left: -50%;
	}
	#header-hero .header-content p.heading-1 {
		padding-top: 20vw;
	}
	#header-hero .header-content p.description {
		width: 60%;
		margin-bottom: 4rem;
	}
}

@media only screen and (max-width: 480px) {
	#header-hero .header-content h1 {
		font-size: 2rem;
		padding: 1rem 0rem;
	}
	#header-hero .header-bg img {
		width: 100rem;
		height: 40rem;
		margin-left: -250%;
	}
	#header-hero .header-content p.description {
		width: 50%;
		margin-bottom: 3rem;
		text-align: left;
	}
	#header-hero .header-content .button {
		width: 8rem;
		padding: 0.6rem;
	}
	#header-hero .header-content .button p {
		font-size: 0.8rem;
	}
}


        .modern-link {
            font-weight: bold;
            color: #3498db;
            text-decoration: none; /* Opcional: Para remover el subrayado del enlace */
        }
        .modern-link:hover {
            color: #2980b9; /* Color al pasar el cursor */
        }