*{
    margin: 0;
    padding: 0;
    font-family: "parrafos";
}

@font-face {
    font-family: "titulo";
    src: url(font/HammersmithOne-Regular.ttf)
}
@font-face {
    font-family: "Parrafos";
    src: url(font/Roboto-Bold.ttf);
}
@font-face {
    font-family: "LeagueSpartan";
    src: url(font/LeagueSpartan-VariableFont_wght.ttf);
}
@font-face {
    font-family: "Banner";
    src: url(font/Roboto-Medium.ttf);
}
/* header */
header {
    height: 140px;
    background-color: #62A1D9;
    padding: 0 50px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu a {
    color: white;
    text-decoration: none;
    font-family: "LeagueSpartan";
    padding: 0 10px;
    transition: 0.4s;
    font-size: 18px;
}

.mostrar-menu,
.esconder-menu {
    font-size: 30px;
    cursor: pointer;
    display: none; 
    transition: 0.4s;
}

.mostrar-menu {
    order: 1;
}

.menu a:hover,
.mostrar-menu:hover,
.esconder-menu:hover {
    color: #545454;
}

#check {
    display: none;
}

.menu .tramite-desplegable {
    position: relative;
    display: inline-block;
}

.menu .tramiteA {
    color: white;
    text-decoration: none;
    padding: 0 10px;
    transition: 0.4s;
}

.menu .subtramites {
    display: none;
    position: absolute;
    background-color: #62A1D9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.menu .subtramites a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: 0.4s;
}

.menu .subtramites a:hover {
    background-color: #545454;
}

.menu .tramite-desplegable:hover .subtramites {
    display: block;
}
/*Contactanos */
.tramite-desplegable {
    position: relative;
}

.subtramites label.button-label {
    display: block;
    font-family: "LeagueSpartan";
    padding: 10px;
    cursor: pointer;
    color: #000;
    text-decoration: none;
}
.modal-toggle {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
    font-family: "Parrafos";
    color: #545454;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.modal-toggle:checked + .modal {
    display: block;
}

.menu .tramite-desplegable {
    position: relative;
    display: inline-block;
}

.menu .tramiteA {
    color: white;
    text-decoration: none;
    padding: 0 10px;
    transition: 0.4s;
}
.subtramite{
    font-family: "LeagueSpartan";
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: 0.4s;
    font-size: 18px;
}
.menu .subtramites {
    display: none;
    position: absolute;
    background-color: #62A1D9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.menu .subtramites .subtramite {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: 0.4s;
    cursor: pointer;
}

.menu .subtramites .subtramite:hover {
    background-color: #545454;
}

.menu .tramite-desplegable:hover .subtramites {
    display: block;
}
.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
}
.modal-toggle:checked + .modal {
    display: block;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/*banner*/ 
#banner{
    padding: 0 50px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/humboldt_aereo.jpg");
    height: 55vh;
    background-size: cover;
    background-position: center;
}
#banner::before{
    content: " ";
   /* background: rgba(77, 77, 92, 0.6);*/
    position: absolute;
    width: 100%;
    height: 55vh;
    left: 0;
}
.contenido-banner h3{
    font-size: 30px;
    font-weight: 400;
    padding: 10px 0px;
    font-family: "banner";
}
.contenido-banner h3 span{
    font-weight: 600;

}
.contenido-banner{
    position: relative;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.titulo_destacados{
    padding: 0px 50px;
    font-size: 20px;
    margin: 15px 0px;
    color: #545454;
}
/* balances*/
.accordion {
    margin: 0 50px;
    font-family: "Parrafos";
}

.accordion-item {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    background-color: #62A1D9;
    color: white;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #3b8ac4;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #f8f8f8;
    padding: 0 15px;
}

.accordion-content ul {
    list-style: none;
    margin: 10px 0;
    padding: 0;
}

.accordion-content li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
}

.accordion-content li:last-child {
    border-bottom: none;
}
.view-btn{
    background-color: #2685BF;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}
.view-btn:hover{
    background-color: white;
    border: 2px solid #2685BF;
    color: #2685BF;
}
.download-btn {
    background-color: #2685BF;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.download-btn:hover {
    background-color: white;
    border: 2px solid #2685BF;
    color: #2685BF;
}

.accordion-item.open .accordion-content {
    max-height: 500px; 
}
/* Modal completo */
.modal-balance {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Contenedor del contenido del modal */
.modal-content-balance {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Botón de cerrar modal */
.modal-close-balance {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 1001; /* Asegurarse de que esté por encima de la imagen */
}

/* Contenedor de la imagen */
.modal-image-container {
    overflow: hidden;
    width: 100%;
    height: 70vh;  /* Ajusta la altura deseada */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    margin-bottom: 10px;
}

/* Imagen dentro del modal */
.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    cursor: grab;
    transition: transform 0.2s ease;
    user-select: none;
    /* Transformación inicial */
    transform: translate(0px, 0px) scale(1);
}

/* Controles de zoom */
.zoom-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.zoom-btn {
    background: #2685BF;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.zoom-btn:hover {
    background: #62A1D9;
}

/* Botón de descarga */
.download-btn {
    background-color: #2685BF;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.download-btn:hover {
    background-color: white;
    border: 2px solid #2685BF;
    color: #2685BF;
}


/* telefonos*/
.I-T{
    display: flex;
}
#telefonos{
    padding: 0px 50px;
}
.contenido-telefonos{
    padding: 50px 50px 0px 50px;
    display: flex;
    justify-content: space-between;
    text-align: justify;
}
.contenido-telefonos div{
    flex: 1;
    margin: 0.5px 0px;
    
}
.contenido-telefonos h6{
    color: #545454;
    font-weight: 100px;
    margin-left: 10px;
}
.contenido-telefonos p{
    color: #848181;
    font-weight: 100px;
    margin-left: 10px;
}
.boton-saber-mas-telefonos{
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 10px 30px;
    border: 3px solid #BE3036;
    border-radius: 30px;
    margin-top: 30px;
    background-color: #BE3036;
    transition: all 0.4s;
}
.boton-saber-mas-telefonos:hover{
    border: 3px solid #BE3036;
    background-color: white;
    color: #BE3036;
}
.boton-telefonos{
    text-align: center;
    padding-bottom: 50px;

}
.boton-saber-mas-telefonos-responsive{
    color: #545454;
    text-decoration: none;
    font-family: "LeagueSpartan";
    padding: 0 10px;
    transition: 0.4s;
}
.boton-telefonos-responsive{
    display: none;
    
}
/* Contacto institucional */
#contacto-institucional {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0px 50px;
}

.contacto {
    display: flex;
    align-items: center;
    text-align: center;
    width: 200px;
    margin-bottom: 20px;
    padding-right: 10px; 
    border-right: 2px solid #545454;
}
.contacto img {
    margin-right: 10px; 
}

.contacto div {
    text-align: left; 
    padding-left: 10px; 
}

.contacto h4 {
    margin-bottom: 5px;
    color: #545454;
}

.contacto a {
    text-decoration: none;
    color: #848181;
    transition: color 0.4s;
}

.contacto a:hover {
    color: #BE3036;
}
.contacto-a{
    display: flex;
    align-items: center;
    text-align: center;
    width: 200px;
    margin-bottom: 20px;
    padding-right: 10px; 
}
.contacto-a img {
    margin-right: 10px; 
}

.contacto-a div {
    text-align: left; 
    padding-left: 10px; 
}

.contacto-a h4 {
    margin-bottom: 5px;
    color: #545454;
}

.contacto-a a {
    text-decoration: none;
    color: #848181;
    transition: color 0.4s;
}

.contacto-a a:hover {
    color: #BE3036;
}
/* footer */
footer{
    background: #282928;
    height: 100;
    padding-top: 40px;
    color: white;
}
.footer-contenido{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding-bottom: 40px;
    font-size: 15px;
}
.footer-Lineas {
    display: flex;
    width: 100%;
    height: 8px; 
}
  
.linea {
    flex: 1;
}
  
.roja {
    background-color: #c13035;
}
  
.amarilla {
    background-color: #dcc900; 
}
  
.azul {
    background-color: #2a84c0;
}
.subir-Arriba {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #62A1D9; 
    color: white; 
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    cursor: pointer;
    font-size: 24px; 
    display: none; 
    transition: opacity 0.3s ease;
}

.subir-Arriba:hover {
    background-color: #3b8ac4; 
}
/* responsive */
@media(max-width: 768px ){
   /* header */
   .mostrar-menu,
   .esconder-menu {
       display: block;
   }
   .menu {
       position: fixed;
       width: 100%;
       height: 100vh;
       background: #62A1D9;
       right: -100%;
       top: 0;
       text-align: center;
       padding: 100px 0px;
       z-index: 100;
       transition: 0.8s;
   }
   .menu a,
   .menu .tramiteA {
       display: block;
       padding: 20px;
   }
   .esconder-menu {
       position: absolute;
       top: 40px;
       right: 40px;
   }
   #check:checked ~ .menu {
       right: 0;
   }
   .menu .subtramites {
       position: static;
       background-color: #545454;
       box-shadow: none;
   }
   .menu .subtramites a {
       padding: 10px 0;   
  
   }
   .menu .subtramites a:hover{
       color: #62A1D9;
   }
   .menu .tramite-desplegable {
       display: block;
   }
   .menu .tramite-desplegable:hover .subtramites {
       display: block;
   }
   .menu .subtramites {
       display: none;
   }
   .menu .tramite-desplegable:focus-within .subtramites {
       display: block;
   }
    /* destacados */
    #destacados{
        flex-direction: column;
    }
    #destacados h4{
        display: none;
    }
    #destacados p{
        display: none;
    }
    /* telefonos */
    .I-T{
        display: none;
    }
    .boton-telefonos{
        display: none;
    }
    .boton-telefonos-responsive{
        display: flex;
        
    }
    .titulo_destacados{
        display: flex;
        flex-direction: column;
    }
    .contenido-telefonos{
        padding: 0px 0px;
    }
    /* contactio institucional */
    #contacto-institucional {
        padding: 20px;
    }

    .contacto {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: none;
    }
    .contacto img {
        margin-right: 10px; 
    }
    .contacto div {
        flex: 1;
        text-align: left; 
    }
    .contacto h4 {
        margin: 0; 
        color: #545454;
    }
    .contacto a {
        display: block;
        color: #848181;
        transition: color 0.4s;
    }
    .contacto a:hover {
        color: #BE3036;
    }
    .modal-content-balance {
        max-width: 95%;
        max-height: 95%;
    }

    .modal-close-balance {
        font-size: 20px;
    }
}
