*{
	font-family: 'Pontano Sans', sans-serif;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

h2{
	color: #274580;
	font-weight: bold;
	margin: 30px;
}

canvas{
	position: absolute;
	top: 0;
	width: 95% !important;
	z-index: 1
}


/*navbar*/
.navbar-inverse {
    padding: 10px;
    border-color: transparent;
}

.navbar-inverse .navbar-collapse{
	border: none;
}

.navbar-inverse .navbar-nav>li>a {
    color: white;
    font-size: 18px
}

.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
    background-color: transparent;
}


.navbar-inverse .navbar-toggle {
    border: none;
}

.navbar-brand img{
	width: 80px;
	margin-top: -10px;
}


/*section 1*/

#section-1 .carousel-caption{
   padding: 0;
   margin-top: 30px;
}


/*section 2*/
#section-2{
	background-color: #EEF1F3;
	padding-bottom: 30px;
}

#section-2 p{
    text-align: justify;
}

#section-2 img{
	width: 100px;
}


/*section 3*/

#section-3 .carousel-caption{
	width: 100%;
	left: 0;
	top: 0;
	padding: 0px 10px;
}

#section-3 .item > img{
    min-height: 200px;
}

#section-3 .carousel-caption #logo-academia{
	width: 50px; 
	margin: 10px;
}

#section-3 .carousel-caption #logo-hablame{
	width: 200px; 
	margin: 10px;
}
#section-3 .carousel-caption p{
	line-height: 1.2;
}

#section-3 .carousel-caption button{
	background-color: rgba(255,255,255,.4);
	padding: 5px 20px;
	border-radius: 3px;
	border: 1px solid #aaa;
	outline: none;
	margin: auto;
	margin-top: 5px;
}

#section-3 .carousel-caption a{
	text-decoration: none;
	color: white;
}

/*section 4*/

#section-4 #container-info{
    /*background-color: #253f6b;*/
    padding: 80px 15px;

	background-image: url(../imgs/section-4.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;

}

#section-4 #container-info .info{
	padding: 10px;
	border-bottom: 1px solid white;
}

#section-4 #container-info img{
    width: 130px;
    z-index: 20;
}

#section-4 #container-info h3{
    color: white;
    font-weight: bold;
}

#section-4 #container-info .linea{
    width: 50px;
    height: 5px;
    background-color: #f6f87b;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 5px
}

#section-4 #container-info p{
    color: white;
}

#section-4 #container-info button{
	padding: 5px 20px;
    border: 2px solid  #f6f87b;
    background-color: transparent;
    border-radius: 5px;
    color: white;
    font-size: 12px;
    margin-top: 25px
}

/*section 5*/

#section-5{
	padding: 0;
	box-shadow: 0px 5px 10px rgba(0,0,0,.3)
}

#section-5 .content-aliados{
	padding: 30px
}

#section-5 .content-aliados img{
	width: 200px;
}

/*section 6*/

#section-6 #container-map{
	padding: 0;
}

#section-6 #container-map #map{
	width: 100%;
	height: 400px;
}

#section-6 #contact{
	background-color: rgba(40, 69, 129, 0.6);
	box-sizing: border-box;
	padding: 30px;
}

#section-6#contact textarea{
	resize: none;
	height: 100px;
	padding: 10px
}

#section-6	#contact button{
    width: 100%;
	background-color: rgba(40, 69, 129, 0.9);
	outline: none;
	color: white;
	border:none;
}


/*footer*/

#footer{
	background-image: url(../imgs/footer.png);
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 0px;
}

#footer p,  #footer span{
	color: white;
}

#footer p{
	font-size: 16px;
}

#footer span{
	font-size: 25px;
}

#footer #footer-bottom{
	background-color: #1a3449;
	padding: 20px
}

#footer a{
	text-decoration: none;
	color: white
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100000000; /* Sit on top */
    padding-top: 80px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content */
.modal-conten {
    background-color: transparent !important;
    /*background-color: #f5b63e !important;*/
    margin: auto;
    padding: 20px 10px 25px 10px;
    width: 100%;
    max-width: 850px;
}

/* The Close Button */
.close2 {
    color: white;
    float: right;
    font-size: 30px;
    font-weight: bold;
    opacity: 1;
}

.close2:hover{
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-conten a{
	text-decoration: none;
	color: white;
	/*display: inline-block;*/
	margin: auto;
}

.b-wrap-left, .b-wrap-right{
   width: 350px !important;
   padding: 0 !important;
   
}

.b-wrap-left{
	border-right: 1px solid #ccc;
	
}

.b-page{
	box-shadow: inset -10px 0 5px -5px hsla(0,0%,0%,.25);
}

#mybook img{
	width: 100%;
	height: 100%;
}

#mybook{
	box-shadow: 0 0 20px 5px rgba(0,0,0,.2)
}


@media (min-width: 768px) {
	p{
		font-size: 18px;
	}

	.navbar-brand img{
		width: 120px;
		margin-top: -20px;
	}

    /*section 1*/
	#section-1 .carousel-caption{
	   left: 100px;
	   top: 35%;
	}

	#section-1 .carousel-caption h3{
		font-size: 60px;
		text-align: left;
		font-weight: bold;
	}

	#section-1 .carousel-caption p{
		font-size: 40px;
		text-align: left;
	}

    /*section 2*/

    #section-2 p{
        text-align: center;
    }

    #section-2 img{
    	margin-top: 20px;
    	width: 120px;
    }

    /*section 3*/

    #section-3 .carousel-caption #logo-academia{
		width: 120px; 
	}

	#section-3 .carousel-caption #logo-hablame{
		width: 600px; 
		margin: 20px;
		margin-top: 40px;
	}

	/*section 4*/
	#section-4 #container-info .info{
		border-bottom: none;
	}

	/*section 6*/
	#section-6 #contact{
		position: absolute;
		width: 350px;
		height: auto;
		top: 50px;
		right: 100px;
        -moz-border-radius: 5px;
		-o-border-radius: 5px;
		-ms-border-radius: 5px;
		-webkit-border-radius: 5px;
    }


    #footer .colum{
		height: 200px;
	}


	#footer #col-1{
		padding-top: 60px
	}

	#footer #col-2{
		padding-top: 30px
	}

	#footer #col-2 p{
		position: relative;
	}

	#footer #col-2 #icon-market{
		position: absolute;
		left: -26px;
		top: 43px;
	}

	#footer #col-4, #col-5{
        padding-top: 50px;
	}


	#footer p, #footer span{
		text-align: justify;
		display: inline-block;
	}

	#footer #text-phone-number, #footer #text-tel-number{
		position: relative;
	}

	#footer #icon-mobile, #footer #icon-mobile{
		position: absolute;
		left: -19px;
	}

	#footer #icon-tel{
		top: -20px
	}
}

@media (min-width: 992px) {
    #section-3 .carousel-caption #logo-academia{
		width: 200px; 
	}

	#section-3 .carousel-caption p{
		width: 50%;
		text-align: center;
		margin: auto;
		padding-bottom: 10px; 
	}
}

@media (min-width: 1200px){
	#section-3 .carousel-caption{
		padding-top: 100px
	}
}
@media (min-width: 2000px){
	
	.navbar-inverse, #section-1, #section-2, #section-3, #section-4, #section-5, #section-6, #footer{
        max-width: 1500px;
        margin: auto;
	}
}
.popup {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    position: relative;
    width: 80%;
    max-width: 600px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.popup-content img {
    width: 100%;
    height: auto; /* Ajusta el alto automáticamente según el ancho */
    display: block;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    padding: 5px 10px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Espacio entre los botones */
    margin: 20px 0;
}

.popup-button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.popup-button:hover {
    background-color: #0056b3;
}
