:root{
    --red:#DC1F26;
    --yellow:#F1A71F;
    --blue:#243B6C;
    --White:#FFFFFF;
    --black: #000000;
    --rose:#D8515B;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: #fff;
    overflow-x: hidden;
    font-family: 'Fira Sans', 'Open Sans', 'Helvetica Neue', sans-serif;
}



/**go top**/
.go-top{
    position: fixed;
    bottom: 100px;
    right: -100%;
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    background: #DC1F26;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 400ms;
    z-index: 999;
}

.go-top:hover{
    border: 2px solid var(--white);
    background: var(--rose);
}

.go-top > span{
    font-size: 30px;
    color: var(--White);
}

.go-top:hover span{
    color: var(--White);
}

/**Skew**/
.skew-abajo{
    position: absolute;
    bottom: 0;
    left: 0;
    border-width: 0 0 10vh 100vw;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

.skew-arriba{
    position: absolute;
    top: 0;
    left: 0;
    border-width:10vh 100vw 0 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    z-index: 10;
}

/**Menu de navegacion**/
#header{
    position: relative;
    position: 100%;
}



.menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #fff;

    /**display: flex;**/
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

.menu .logo-box{
    margin-left: 20px;
}

.menu .logo-box img{
    margin:15px;
}

#abajo23{
    background: var(--yellow);
    box-shadow: 0 0 5px var(--White), 0 0 20px var(--White), 0 0 40px var(--White);
}

batman
.facebookp .fb-page{
    width: 90%;
    margin: 80px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    max-width: 800px;
   /** border-radius: 6px;**/
    overflow: hidden;
   /** border: 3px solid var(--red);**/
}

.container-fb{
    width: 90%;
    margin: 80px auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    max-width: 800px;
    /**border-radius: 6px;**/
    overflow: hidden;
    justify-content: center;
    /**border: 3px solid var(--red);**/
}



/**
.menu .list-container{
    margin-right: 20px;
}


.menu .list-container .lists{
    display: flex;
}

.menu .list-container .lists li{
    list-style: none;
}

.menu .list-container .lists li a{
    text-decoration: none;
    margin: 0px 10px;
    padding: 8px;
    color: var(--blue);
    border-radius: 24px;
    font-size: 16px;
    transition: 0.3s;
}

.menu .list-container .lists li a.active{
    background: var(--blue);
    color: #fff;
}

.menu .list-container .lists li a:hover{
    background: var(--blue);
    color: #fff;
}
**/
/**
.btn-menu > .fa-bars{
    display: none;
}
**/
/**submenu**/
/**
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
 
  }
  
  li {
    float: left;
  }
  **/
/**


  li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  li a:hover, .active:hover .dropbtn {
    background-color: var(--blue);
  }
  **/

    /**
  li.active {
    display: inline-block;
  }

  .active-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    border-radius: 24px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .active-content a {
    
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .active-content a:hover {background-color: #fff;}
  
  .active:hover .active-content {
    display: block;
  }
  **/
/**submenu**/


.captcha-container {
  transform: scale(0.9);
  transform-origin: 0 0;
}

@media (max-width: 480px) {
  .captcha-container {
    transform: scale(0.75);
  }
}








/** Menu de navegacion**/

/** IMG Header **/
.img-header{
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(../imagenes/header.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.img-header .welcome{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    /**  background es background: rgba(0,0,0,0.6)**/
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.img-header .welcome h1{
    font-size: 50px;
    color: var(--White);
    /**  color es color: var(--White)**/
    font-weight: 200px;
}

.img-header .welcome hr{
    width: 850px;
    height: 2px;
    background: var(--White);
    border: none;
    margin-top: 5px;
}

.img-header .welcome .hr1{
    width: 450px;
    height: 2px;
    background: #fff;
    border: none;
    margin-top: 5px;
}

.img-header .welcome p{
    font-size: 20px;
    color: var(--White);
    /**  color es color: var(--White)**/
    margin-top: 20px;
}

.img-header .welcome a{
    width: 170px;
    height: 40px;
    background: var(--red);
    border-radius: 24px;
    border: none;
    outline: none;
    font-size: 22px;
    color: #fff;
    text-align: center;
    margin-top: 20px;
    padding-top: 7px;
    cursor: pointer;
    transition: 0.5s;
    text-decoration: none;
}

/*
.img-header .welcome a{
    width: 170px;
    height: 40px;
    background: var(--red);
    border-radius: 24px;
    border: none;
    outline: none;
    font-size: 22px;
    color: #fff;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.5s;
}
*/

.img-header .welcome > a:hover{
    background: var(--rose);
}

.img-header .welcome .barra > button{
    width: 225px;
    height: 40px;
    background: var(--blue);
    border-radius: 5px;
    border: none;
    outline: none;
    font-size: 20px;
    color: #fff;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.5s;
}

.img-header .welcome .barra > button:hover{
    background: #7888A3;
}

/** IMG Header **/

/** Acerca de nosotros **/
.acerca-de{
    width: 100%;
    margin-top: 120px;
}

.acerca-de .info-container{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    batman2
}

.acerca-de .info-container h1{
    font-size: 45px;
    font-weight: 400px;
    color: var(--blue);
    text-align: center;
    margin-bottom: 20px;
}

.acerca-de .info-container hr{
    background: var(--red);
    width: 45%;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 0px;
    height: 2px;
    border: none;
}

.acerca-de .info-container p{
    text-align: center;
    font-size: 17px;
    color: var(--blue);
    line-height: 35px;
    margin: 10px 0px;

  border-radius: 10px;
  border: 2px solid var(--blue);
}


/*galeria*/

.gallery .galeria{
    width: 90%;
    margin: auto;
    list-style: none;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery .galeria li {
    margin: 5px;
    border: 7px solid #243B6C;
}

.gallery .galeria img {
    width: 150px;
    height: 100px;
}

/*fin de galeria*/

/*modal2*/

.gallery .modal2 {
    display: none;

}

.gallery .modal2:target{
    display: block;
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    /*   */
    margin-top: 95px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    width: 100%;
    /*height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    z-index: 909;
    animation: modal 1s forwards;
    visibility: hidden;
    opacity: 0;*/
}

.gallery .modal2 h3{
    color: #fff;
    font-size: 30px;
    text-align: center;
    margin: 15px 0;
}

.gallery .imagen {
    width: 100%;
    height: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
}


.gallery .imagen a{
    color: #fff;
    font-size: 40px;
    text-decoration: none;
    margin: 0 10px;
}

.gallery .imagen a:nth-child(2){
    margin: 0;
    height: 100%;
    flex-shrink: 2;
}

.gallery .imagen img{
    width: 500px;
    height: 100%;
    max-width: 100%;
    border: 7px solid #243B6C;
    box-sizing: border-box;
}

.gallery .cerrar2 {
    display: block;
    /*background: #243B6C;*/
    width: 25px;
    height: 25px;
    margin: 10px auto;
    text-align: center;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    padding: 5px;
    border-radius: 50%;
    line-height: 25px;
}

/*fin de modal2*/


.acerca-de .info-container .about-more{
    width: 100%;
    display: flex;
    justify-content: center;
}

.acerca-de .info-container .about-more a{
    width: 120px;
    height: 40px;
    background: var(--red);
    border-radius: 24px;
    border: none;
    outline: none;
    font-size: 22px;
    color: #fff;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.5s;
    text-decoration: none;
    padding-top: 7px
}

.acerca-de .info-container .about-more a:hover{
    background: var(--rose);
}





/** INICIO -------- GALERIA galeria_light FOTO MAPA UEBI**/



.acerca-de .info-container .gallery .galeria_light{
 /**   margin: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;

    align-content: center;
    margin: 10px 110px;
    **/
    width: 80%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    
}


.acerca-de .info-container .gallery .galeria_light img{
    /**
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 75%;
    border-radius: 10px;
    border: 5px solid var(--blue);
    **/
    width: 35vh;
    height: 35vh;

    /**width: 230px;
    padding: 5px;**/
    /**filter: grayscale(80%);**/
    transition: 1s;
    
}


.galeria_light img:hover{
    /**filter: grayscale(0);**/
    transform: scale(1.25);

    /**align-items: center;
    align-content: center;**/
    
}


/** FIN -------- GALERIA galeria_light FOTO MAPA UEBI**/






/** Acerca de nosotros **/

/**Video**/
.our-projects{
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../imagenes/img-2.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    margin-top: 100px;
}

.our-projects .deg-background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.our-projects .ejeZproject{
    position: relative;
    width: 100%;
    height: 100%;
}

.our-projects .container-project{
    width: 90%;
    margin: auto;
    padding-top: 100px;
}

.our-projects .container-project .project-title{
    padding: 10px;
    text-align: center;
    width: 50%;
    margin: auto;
}

.our-projects .container-project .project-title h2{
    font-size: 40px;
    color: var(--White);
    font-weight: normal;
}

.our-projects .container-project .project-title hr{
    background: var(--red);
    width: 55%;
    margin: auto;
    margin-top: 5px;
    height: 2px;
    border: none;
}

.our-projects .container-project .video{
    width: 100%;
    max-width: 800px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 80px;
    margin-bottom: 100px;
    border-radius: 10px;
    border: 2px solid var(--blue);
}
/**Video**/



/**
.youtube-container {
  width: 100%;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.youtube-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}
**/


.youtube-responsive {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  aspect-ratio: 16 / 9;
}

.youtube-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 3px solid var(--blue);
}













/**Galeria**/
.testimonios{
    width: 100%;
    margin-top: 120px;
}

.testimonios .testimonios-title{
    width: 50%;
    margin: auto;
    text-align: center;
}

.testimonios .testimonios-title h2{
    font-size: 45px;
    color: var(--blue);
    font-weight: normal;
    margin-bottom: 10px;
    text-align: center;
}

.testimonios .testimonios-title hr{
    width: 55%;
    margin: auto;
    height: 2px;
    background: var(--red);
    border: none;
    margin-top: 5px;
    height: 2px;
}






/* aliados*/ batman


.aliados {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.aliados h2 {
    font-size: 45px;
    font-weight: 400px;
    color: var(--blue);
    text-align: center;
    margin-bottom: 20px;
}

.aliados p {
    text-align: center;
    font-size: 17px;
    color: var(--blue);
    line-height: 35px;
    margin: 10px 0px;
}

.aliados hr {
    background: var(--red);
    width: 45%;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 0px;
    height: 2px;
    border: none;
}


.logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    align-items: center;
}

.logos img {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive ajustes */
@media (max-width: 600px) {
    .aliados {
        padding: 40px 15px;
    }

    .aliados h2 {
        font-size: 24px;
    }

    .aliados p {
        font-size: 14px;
    }

    .logos {
        gap: 20px;
    }

    .logos img {
        height: 60px;
    }
}






/* ===== VERSÍCULO ===== */
/* CONTENEDOR */
.versiculo-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* CÍRCULO GRANDE */
.circulo-versiculo {
    width: 320px;
    height: 320px;
    background: #1e3a8a; /* Azul institucional */
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* CITA */
.circulo-versiculo .cita {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

/* TEXTO */
.circulo-versiculo .texto {
    font-size: 16px;
    line-height: 1.4;
    font-style: italic;
}



















































/**slide**/
img{
    max-width: 100%;
}

.container-all{
    width: 90%;
    margin: 80px auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    max-width: 800px;
    border-radius: 6px;
    overflow: hidden;
    justify-content: center;
    border: 3px solid var(--red);
}

.slide{
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: all 600ms;
    animation-name: autoplay;
    animation-duration: 6.5s;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

.item-slide{
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    flex-grow: 0;
    max-width: 100%;
}

.pagination{
    position: absolute;
    bottom: 20px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pagination-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid white;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
    text-align: center;
    transition: all 300ms;
}

.pagination-item:hover{
    transform: scale(2);
}

.pagination-item img{
    display: inline-block;
    max-width: none;
    height: 100%;
    transform: scale(1);
    opacity: 0;
    transition: all 300ms;
}

.pagination-item:hover img{
    opacity: 1;
    transform: scale(1);
}


input[id="1"]:checked ~ .slide{
    animation: none;
    transform: translate3d(0, 0, 0);
}

input[id="1"]:checked ~ .pagination .pagination-item[for="1"]{
    background: #fff;
}

input[id="2"]:checked ~ .slide{
    animation: none;
    transform: translate3d(calc(-100% * 1), 0, 0);
}

input[id="2"]:checked ~ .pagination .pagination-item[for="2"]{
    background: #fff;
}


input[id="3"]:checked ~ .slide{
    animation: none;
    transform: translate3d(calc(-100% * 2), 0, 0);
}

input[id="3"]:checked ~ .pagination .pagination-item[for="3"]{
    background: #fff;
}




@keyframes autoplay{
    33%{
        transform: translate3d(calc(-100% * 0), 0, 0);
    }
    
    66%{
        transform: translate3d(calc(-100% * 1), 0, 0);
    }
    
    100%{
        transform: translate3d(calc(-100% * 2), 0, 0);
    }
}
/**slide**/

/**Galeria**/

/**footer**/
.footer{
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../imagenes/img-9.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.footer .deg-footer{
position: absolute;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
}

.footer .ejeZfooter{
    position: relative;
    width: 100%;
    height: 100%;
}

.footer .footer-content{
    width: 90%;
    padding-top: 100px;
    margin: auto;
}

.footer .footer-content .footer-title{
    width: 50%;
    margin: auto;
    padding: 15px;
}

.footer .footer-content .footer-title h2{
    text-align: center;
    color: #fff;
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 10px;
}

.footer .footer-content .footer-title hr{
    width: 50%;
    margin: auto;
    height: 2px;
    background: var(--red);
    border: none;
    margin-top: 5px;

}


.footer .footer-content .formulario-content .captcaht{

    text-align: center;
    margin: 20px 0px 8px 0px;
}

.footer .footer-content .formulario-content .g-recaptcha{

    display: inline-block;
}


.footer .footer-content .formulario-content{
    width: 50%;
    background:var(--White);
    border-radius: 20px;
    border: 3px solid var(--red);
    margin: 40px auto;
    padding: 20px;
    margin-bottom: 80px;
}

.footer .footer-content .formulario-content #formulario{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer .footer-content .formulario-content #formulario label{
    text-align: center;
    color: var(--red);
    font-size: 18px;
    margin: 20px 0px 8px 0px;
}

.footer .footer-content .formulario-content #formulario input{
    width: 80%;
    margin: auto;
    border: 2px solid var(--blue);
    border-radius: 24px;
    outline: none;
    height: 30px;
    text-align: center;
    font-size: 16px;
    color: var(--blue);
}

.footer .footer-content .formulario-content #formulario textarea{
    width: 80%;
    margin: auto;
    border: 2px solid var(--blue);
    border-radius: 24px;
    outline: none;
    height: 25px;
    font-size: 13px;
    color: var(--blue);
    padding: 5px;
    height: 80px;
    text-align: center;
}

.footer .footer-content .formulario-content #formulario .send{
    width: 90%;
    display: flex;
    justify-content: center;
    margin: 5px 0px;
    margin-left: 15px;
}

.footer .footer-content .formulario-content #formulario .send button{
width: 100px;
height: 30px;
background: var(--red);
border-radius: 24px;
border: none;
outline: none;
font-size: 22px;
color: #fff;
text-align: center;
margin-top: 5px;
cursor: pointer;
transition: 0.5s;
}

.footer .footer-content .formulario-content #formulario .mensaje-form{
    font-size: 12px;
    color: var(--blue);
    margin-left: 10px;
    height: 15px;
    text-align: center;
}

.footer .footer-content .formulario-content #formulario .send button:hover{
    background: var(--rose);
}

.footer .footer-text{
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid #fff;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .footer-text p{
    color: #fff;
    font-size: 25px;
    text-align: center; 
}




.footerr {

    background: var(--blue);
    height: auto;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding-top: 4px;
    color: #fff;
}



.footer-contentt{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    
}

.footer-contentt h3{
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 5px;
}

.footer-contentt p{
    max-width: 500spx;
    margin: 5px auto;
    line-height: 20px;
    font-size: 15px;
}

.footer-contentt span{
    text-transform: uppercase;
    font-weight: 200;
    color: var(--yellow);
}

.footer-contentt a{
    text-decoration: none;
    max-width: 500spx;
    margin: 5px auto;
    line-height: 20px;
    font-size: 15px;
    height: auto;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding-top: 4px;
    color: #fff;
}


.socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 3px 0;
}



.socials li{
    margin: 0 10px;
}

.socials a{
    text-decoration: none;
    color: #fff;
}

.socials a i{
    font-size: 1.1rem;
    transition: color .4s ease;
}

.socials a:hover i{
    color: var(--yellow);
}

.footer-bottom{
    background: var(--red);
    width: 100%;
    padding: 10px 0;
    text-align: center;
}

.footer .footer-contentt hr{
    width: 15%;
    height: 2px;
    background: var(--red);
    border: none;
    margin-bottom: 5px;
}

.footer-bottom p{
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
}

.footer-bottom span{
    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
    color: var(--yellow);
}
/**footer**/


/**popup**/
#cerrar {
      display: none;
    }

    .modal {
        position: fixed;
        top: 10px;
        left: 0;
        width: 100%;
        height: 100%;
        /**background: rgba(0, 0, 0, 0.5);**/
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }

    #cerrar:checked ~ .modal {
      display: flex;
    }

    /* Contenido del popup */
    .contenido {
        background: #fff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        width: 90%; /* Ancho relativo */
        max-width: 600px; /* Ancho máximo */
        /*max-height: 100vh;  Altura máxima relativa */
        overflow-y: auto; /* Scroll si el contenido excede la altura */
    }

    .contenido img {
        max-width: 100%; /* Imagen ajustada al contenedor */
        height: auto;
       /* max-height: 100vh; /* La imagen no excederá el alto del navegador */
        display: block;
        margin: auto;
    }

    /* Botón de cierre */
    #btn-cerrar {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        color: #fff;
        background: rgba(0, 0, 0, 0.5);
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #btn-cerrar:hover {
      background: #000;
    }

    /* Ajustes para pantallas grandes */
    @media (min-width: 960px) {
        .contenido {
            width: 50%; /* Ancho mayor en computadoras */
            max-width: 600px; /* Ancho máximo */
            height: auto;
            padding: 3px;
            /*max-height: 70%; /* Se asegura de ajustarse al alto */
        }
        .contenido img {
            max-width: 100%;
            max-height: 100%;
            height: auto; /* Mantiene proporciones */
            display: block;
            margin: auto;
        }

        .modal {
            position: fixed;
            top: 45px;
            left: 0;
            width: 100%;
            height: 100%;
            /**background: rgba(0, 0, 0, 0.5);**/
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 999;
        }
    }



/**fin de popup**/





/**media qery**/
@media only screen and (max-width:900px){

 /**
    
    .menu .topnav .icon {
        display: none;
        color: var(--blue);
      }


    .topnav a.icon{
        display: block;
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 28px;
        cursor: pointer;
    }
**/
    /**
    .topnav a.icon:hover{
        color:var(--red);
    }
    .topnav > .fa-times{
        color: var(--red);
    }
**/

/**
    .menu .list-container{
        position: absolute;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #fff;
    }

    .menu .list-container .lists{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        border-top: 5px solid var(--red);
        width: 100%;
        height: 100%;

    }

    .menu .list-container .lists li{
        width: 90%;
        margin: 10px 0px;
        border-bottom: 1px solid var(--red);
        text-align: center;
    }

    .menu .list-container .lists li a{
        font-size: 20px;
        padding-bottom: 10px;

    }
**/


    /**
    .menu .list-container .lists .active .active-content{
        position: static;
        width: 100%;
    } 


    .menu .list-container .lists .active .dropbtn{
        border-radius: 1px;
    } 

    .menu .list-container .lists .active .dropbtn a.active{
        color: var(--White);
    } 

    .menu .list-container .lists .active .active-content a{
        text-align: center;
        border-radius: 0;
        border-bottom: 1px solid var(--red);
    } 

    .menu .list-container .lists .active .active-content a.hover{
        text-align: center;
        border-radius: 0;
        border-bottom: 1px solid var(--red);
        color: var(--White);
    } 
**/
/**
    .menu .list-container .lists li a.activo{
        background: none;
        color: var(--red);
    }

    .menu .list-container .lists li a.hover{
        background: none;
        color: var(--red);
    }
    **/
}

@media only screen and (max-width: 773px){
   
    .modal{
        display: none;
    }

    #cerrar{
        display: none;
    }

    #btn-cerrar{
        display: none;
    }


    
    /**Img header**/
    .img-header .welcome h1{
        font-size: 40px;
    }
    .img-header .welcome > button{
        width: 130px;
        font-size: 20px;
    }



    /**Nuestros proyectos**/
    .our-projects .container-project .project-img img{
        width: 80%;
        margin-bottom: 30px;
    }
}


@media only screen and (max-width: 590px){
  



    /**Img header**/
    .img-header .welcome h1{
        font-size: 30px;
    }

    .img-header .welcome hr{
        width: 100%px;
    }

    .img-header .welcome p{
        font-size: 17px;
    }

    .img-header .welcome > button{
        width: 100px;
        font-size: 17px;
    }
}

@media only screen and (max-width: 890px){

 /**

    .menu .logo-box{
        margin-left: auto;
        margin-right: auto;
        width: 15em;
    
    }
**/

.img-header .welcome .logos{
    visibility: hidden;
}

    .testimonios .box-testimonios .card-testimonio .card-img img{
        width: 200px;
        height: 200px;
    }

    .testimonios .box-testimonios .card-testimonio{
        width: 100%;
    }

    .testimonios .box-testimonios .testimonio-text h4{
        font-size: 25px;
    }

    .testimonios .box-testimonios .card-testimonio .testimonio-text p{
        font-size: 17px;
        line-height: 35px;
    }
}

@media only screen and (max-width: 900px){


   
    .footer .formulario-content{
        width: 85%;
        padding: 20px;
    }
    .footer .formulario-content #formulario input{
        width: 100%;
    }
    .footer .formulario-content #formulario textarea{
        width: 100%;
    }

    .menu #acsi {
        display: none;
    }

}



@media only screen and (max-width: 450px){


   






    .img-header{
        height: 900px;

    }

    .img-header .welcome{
        height: 900px;

    }


.img-header .welcome .barra{
    height: 350px;
    padding-left: 40px;
}

.img-header .welcome p{
    padding-left: 40px;

}


.img-header .welcome .logos{
    visibility: visible;
    height: 15%;
    width: 37%;
}




.footer .footer-content{
    margin: 2px;
    padding: 2px;
    width: 500px;
    height: 1000px;
}

.footer .footer-content .footer-title {
margin-top: 50px;
text-align: center;
margin-left: 50px;
}

.footer .footer-content .formulario-content{
margin: 2px;
padding: 2px;
height: 800px;
}

.footer .footer-content .footerr{
    width: 320px;
    margin-top: 15px;
    margin-left: -4px;
}




}



















/** top nav**/

/* Add a black background color to the top navigation */
.topnav {
    /* background-color: var(--blue);*/
    overflow: hidden;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  /* Add an active class to highlight the current page */
  
  /**
  .active {
    background-color: #4CAF50;
    color: white;
  }
**/
  
  /* Hide the link that should open and close the topnav on small screens */
  .topnav .icon {
    display: none;
    color: var(--blue);
  }
  
  /* Dropdown container - needed to position the dropdown content */
  .dropdown {
    float: left;
    overflow: hidden;
  }
  
  /* Style the dropdown button to fit inside the topnav */
  .dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: var(--blue);
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;




    border-radius: 24px;
  }









  
  /* Style the dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(211, 212, 212);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 800;
    


    border-radius: 24px;
  }
  
  /* Style the links inside the dropdown */
  .dropdown-content a {
    float: none;
    color: var(--blue);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
  }
  

  














  /* Add a dark background on topnav links and the dropdown button on hover */
  .topnav a:hover, .dropdown:hover .dropbtn {
    background-color: var(--blue);
    color: white;
    border-radius: 24px;
  }




  





  
  /* Add a grey background to dropdown links on hover */
  .dropdown-content a:hover {
    background-color: var(--blue);
    color: #fff;
    border-radius: 24px;
  }
  
  /* Show the dropdown menu when the user moves the mouse over the dropdown button */
  .dropdown:hover .dropdown-content {
    display: block;
  }











  
  /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
 
 
  @media screen and (max-width: 1000px) {
 
 
 
    .topnav a:not(:first-child), .dropdown .dropbtn {
      display: none;
      
    }

    
    .topnav a.icon {
      float: right;
      display: block;
      background: none;
      color: var(--red);

   

    }

    .topnav .icon{
        font-size: 35px;
      
       
    }

    .menu .logo-box{

        margin-bottom: -100px;
      
    }

    .topnav a.icon:hover {
        color: var(--blue);
  
      }


    .menu{
        display: block;
       
        
        margin: 0;
        padding: 0;
    }
    .menu .topnav{
        background: white;
    }

  }
  
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  @media screen and (max-width: 1000px) {
 /**
 .menu .logo-box{
     display: none;
 }
 **/

.menu .topnav .dropbtn{
    justify-content: center;
align-items: center;
background-position: center;
    


}





 
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: center;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      width: 100%;
      text-align: center;
    }
  }



/** quitar flechas de cada menu**/
  .dropbtn > .fa-caret-down{
    display: none;
}


/** quitar menu de haburgesa
.topnav a.icon{
    display: none;
}**/





















nav{
    background: var(--White);
}

nav::after{
    content: '';
    clear: both;
    display: table;
}

nav .logo{
    float: left;
    color: var(--White);
    font-size: 27px;
    font-weight: 600;
    line-height: 70px;
    padding-left: 60px;
}

nav ul{
    float: right;
    list-style: none;
    margin-right: 40px;
    position: relative;
    padding-top: 10px;
    z-index: 900;
}

nav ul li{
    /**float: left;**/
    display: inline-block;
    background: var(--White);
    margin: 0 5px;
}

nav ul li a{
    color: var(--blue);
    text-decoration: none;
    line-height: 70px;
    font-size: 18px;
    padding: 8px 15px; 
}

nav ul li a:hover{
    color: var(--White);
    background: var(--blue);
    border-radius: 3px;
}

nav ul ul li a:hover{
    color: var(--White);
    box-shadow: none;
}

nav ul ul{
    position: absolute;
    top: 90px;
    border-top: 3px solid var(--red);
    opacity: 0;
    visibility: hidden;
    transition: top .5s;
}

nav ul ul ul{
    border-top: none;
}

nav ul li:hover > ul{
    top: 70px;
    opacity: 1;
    visibility: visible;
}

nav ul ul li{
    position: relative;
    margin: 0;
    width: 250px;
    float: none;
    display: list-item;
    border-bottom: 1px solid rgba(0,0,0,0,.3);
}

nav ul ul li a{
    line-height: 50px;
}

nav ul ul ul li{
    position: relative;
    top: -70px;
    left: 150px;
}

.fa-plus{
    margin-left: 40px;
    font-size: 15px;
    color: var(--blue);
}

.show, .icon,input{
    display: none;
}

#nombre{
    display: block;
}
#email{
    display: block;
}
#asunto{
    display: block;
}






@media all and (max-width: 980px) {
    nav ul{
        margin-right: 0px;
        float: left;
    }

    nav .logo{
        padding-left: 30px;
        width: 100%;
    }

    nav ul li, nav ul ul li{
        display: block;
        width: 100%;
    }

    nav ul ul{
        top: 70px;
        position: static;
        border-top: none;
        float: none;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    nav ul ul ul li{
        position: static;
    }

    nav ul ul li{
        border-bottom: 0px;
    }

    nav ul ul a{
        padding-left: 40px;
    }

    nav ul ul ul a{
        padding-left: 80px;
    }

    .show{
        display: block;
        color: var(--blue);
        font-size: 18px;
        padding: 0 20px;
        line-height: 70px;
        cursor: pointer;
        background: var(--White);
    }

    .show:hover{
        color: var(--White);
        background: var(--blue);
    }

    .icon{
        display: block;
        color: var(--blue);
        position: absolute;
        right: 40px;
        line-height: 70px;
        font-size: 25px;
        cursor: pointer;
    }

    .icon:hover{
        color: var(--red);
    }
    nav ul li a:hover{
         box-shadow: none;
         color: var(--White);
    }

    .show + a, ul{
        display: none;
    }
    [id^=btn]:checked + ul{
        display: block;
    }

    nav ul li{
        /**float: left;**/
        display: inline-block;
        background: var(--rose);
        margin: 0 5px;
    }
    
    nav ul li a{
        color: var(--White);
        text-decoration: none;
        line-height: 70px;
        font-size: 18px;
        padding: 8px 15px; 
    }
    
    nav ul li a:hover{
        color: var(--White);
        background: var(--blue);
        border-radius: 3px;
    }

    .barra{
        display: block;
    }

    #header{
        height: 700px;
    }



    .img-header{
        height: 700px;
    }

}


@media all and (max-width: 980px){
    #header{
        height: 900px;
    }



    .img-header{
        height: 900px;
    }

}