*{
    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);
}
@font-face {
    font-family: "Parrafos-prueba";
    src: url(font/Fredoka-VariableFont_wdth\,wght.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;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.contenido-banner {
    color: white;
    text-align: center;
}

.contenido-banner h3 {
    font-size: 30px;
    font-weight: 400;
    font-family: "banner";
    margin-bottom: 15px;
}

.contenido-banner h3 span {
    font-weight: 600;
}
.evento-banner {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 18px;
    border-radius: 10px;
    display: none;
    font-size: 16px;
    font-weight: bold;
    backdrop-filter: blur(5px);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* destacados */
#destacados {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px 20px;
}

.destacados-card {
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    text-align: center;
}

.destacados-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.destacados-card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #62A1D9;
}

.card-content {
    padding: 20px;
}

.boton-saber-mas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #62A1D9;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.boton-saber-mas:hover {
    background-color: #3b8ac4;
    transform: scale(1.05);
}

.boton-saber-mas::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.boton-saber-mas:hover::after {
    margin-left: 12px;
}
.titulo_destacados{
    font-family: "titulo";
    padding: 0px 50px;
    font-size: 20px;
    margin: 15px 0px;
    color: #545454;
}
/* fiesta opyueblo*/
#fiesta-humboldt {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("img/fiesta_humboldt.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  color: white;
  text-align: center;
  border-top: 3px solid #fcd34d;
}

.fiesta-contenedor {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#fiesta-humboldt h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #fcd34d;
}

.fiesta-contenedor .intro {
  font-size: 18px;
  margin-bottom: 20px;
}

.fiesta-lista {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 0 auto 25px auto;
  display: inline-block;
}

.fiesta-lista li {
  font-size: 17px;
  margin-bottom: 8px;
}

.info {
  font-size: 16px;
  margin-bottom: 10px;
}

.mensaje {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #fff5b1;
}

.boton-fiesta {
  display: inline-block;
  background-color: #fcd34d;
  color: #1e293b;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.boton-fiesta:hover {
  background-color: #fde047;
  transform: scale(1.05);
}

/* evento */
.seccion-eventos {
    background-color: #f4f4f4; 
    padding: 50px 20px;
    text-align: center;
}

.contenido-eventos h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.contenido-eventos p {
    font-size: 18px;
    color: #555; 
    margin-bottom: 30px;
}

.btn-eventos {
    display: inline-block;
    background-color: #2a84c0;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-eventos:hover {
    background-color: #1a5d90; 
}
/* servicios */
#servicios {
    padding: 0px 50px;
    display: flex;
    justify-content: space-around; 
    flex-wrap: wrap; 
}

.servicio {
    width: 300px; 
    margin-bottom: 30px;
    text-align: center; 
    background-color: #ffffff; 
    border-radius: 10px; 
    padding: 20px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease-in-out;
}

.servicio img {
    width: 100%;
    border-radius: 10px; 
    margin-bottom: 15px;
}

.servicio a{
    text-decoration: none;
    font-family: "LeagueSpartan";
    color: #545454;
    transition: 0.4s;
}
.servicio a:hover{
    color: #62A1D9;
}

.servicio:hover {
    transform: translateY(-5px); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
}
/* telefonos*/
#redes-sociales {
    text-align: center;
    padding: 50px 20px;
    background-color: #f4f4f4;
}

#redes-sociales h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

#redes-sociales p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.redes-links a {
    display: inline-block;
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.redes-links img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

/* 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;
}

#licitaciones {
    padding: 40px 20px;
    text-align: center;
}

#licitaciones h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.licitaciones-contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.licitacion-card {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 350px;
    width: 100%;
    text-align: left;
    transition: transform 0.3s ease;
}

.licitacion-card:hover {
    transform: translateY(-5px);
}

.licitacion-card h3 {
    font-size: 20px;
    color: #2c3e50;
}

.licitacion-card p {
    font-size: 16px;
    margin: 8px 0;
    color: #444;
}
.tituloinst{
    font-family: "Titulo";
    color: #545454;
    margin-top: 10px;
    text-align: justify;
    padding: 0px 120px;
    font-size: 20px;
}
.tituloinst p{
    font-family: "Parrafos-prueba";
    color: #333333;
    margin-top: 20px;
    text-align: justify;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    font-weight: 550; 
}
#concurso-precios {
  padding: 40px 20px;
  background-color: #f7f7f7;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
}

#concurso-precios h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 28px;
}

.concurso-contenedor {
  display: flex;
  justify-content: center;
}

.concurso-card {
  background-color: #ffffff;
  padding: 25px;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.concurso-card h3 {
  font-size: 22px;
  color: #1e5b8c;
  margin-bottom: 15px;
}

.concurso-card p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.concurso-card a {
  color: #1e5b8c;
  text-decoration: underline;
}

/* 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; 
}
/* ======== SECCIÓN VOTACIONES ======== */
.votaciones-section {
    text-align: center;
    background-color: #f8f9fb;
    border-radius: 16px;
    overflow: hidden;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Imagen más compacta */
.banner-container img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

/* Contenido debajo */
.votaciones-content {
    background: white;
    padding: 20px 20px 30px;
}

.votaciones-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
}

.votar-btn {
    display: inline-block;
    background-color: #002855;
    color: white;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.votar-btn:hover {
    background-color: #004aad;
    transform: scale(1.05);
}


/* 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;
        align-items: center; 
        justify-content: center; 
        text-align: center; 
    }

    .destacados-a {
        width: 90%; 
        margin-bottom: 20px; 
    }

    .destacados-a img {
        width: 100%; 
    }
    /* 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;
    }
    .tituloinst{
        font-size: 2vh;
        padding: 8px;
        margin-left: 30px;
        margin-right: 30px;
        text-align: justify;
    }
    .tituloinst p {
        font-size: 2vh;
        text-align: justify;
    }
    /* SERVICIOS */
    #servicios {
        flex-direction: column;
        align-items: center; 
        text-align: center; 
    }

    .servicio {
        width: 70%; 
        margin-bottom: 30px;
    }
    /* 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;
    }
}
@media (max-width: 1280px) {
    .destacados-card {
        width: 200px; /* En vez de 300px */
    }
    
}

@media (max-width: 1024px) {
    .destacados-card {
        width: 200px; /* En vez de 300px */
    }
    
}
/* Ajuste responsive */
@media (max-width: 600px) {
    .votaciones-section {
        margin: 30px 10px;
    }

    .banner-container img {
        max-height: 200px;
    }

    .votaciones-content p {
        font-size: 0.95rem;
    }

    .votar-btn {
        padding: 9px 20px;
        font-size: 0.9rem;
    }
}