*{
    margin: 0;
    padding: 0;

}
@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: "Parrafos-prueba";
    src: url(font/Fredoka-VariableFont_wdth\,wght.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;
}
/* espacios */
.banner-espacio{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/humboldt_aereo.jpg");
    background-size: cover;
    background-position: center;
    height: 210px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    width: 100%;
}
.banner-espacio div {
    max-width: 100%;
    padding: 0px 50px;
}
.banner-espacio h1 {
    font-size: 36px;
    font-weight: bold;
    font-family: "LeagueSpartan";
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
 /*body*/ 
 .parrafo-inicial p {
    font-family: "Parrafos-prueba";
    color: #333333;
    margin-top: 20px;
    text-align: justify;
    padding: 0px 60px;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    font-weight: 550; 
}
.tituloinst{
    font-family: "Titulo";
    color: #545454;
    margin-top: 10px;
    text-align: justify;
    padding: 0px 120px;
    font-size: 20px;
}
.button {
    display: inline-block;
    font-family: "LeagueSpartan";
    padding: 10px 20px;
    font-size: 20px;
    color: white;
    background-color: #BE3036; 
    border: none;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}

.button:hover {
    background-color: #545454; 
}
.Ordenanzas, .Resoluciones {
    font-family: "LeagueSpartan";
    color: #545454;
    margin-top: 10px;
    text-align: justify;
    padding: 0px 120px;
    font-size: 20px;
}

.enlaseorde, .enlaseresolu {
    padding: 0px 120px;
}
.no-disponible {
    text-align: center;
    margin: 40px 0;
}

.no-disponible img {
    max-width: 70%; 
    height: auto;
    display: inline-block;
    border-radius: 10px; 
}
/*fotos*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    padding: 2.5em;
    background-color: rgba(255, 255, 255, 0.747);
}

.box {
    overflow: hidden;
    border-radius: 8px;
}

.box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 16/9; /* Mantén una proporción de aspecto */
}

.box:hover img {
    transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
}
.box:nth-child(1){
    grid-column-start: span 2;
}
.box:nth-child(4){
    grid-column-start: span 2;
}
.box:nth-child(5){
    grid-column-start: span 2;
}
.box:nth-child(8){
    grid-column-start: span 2;
}
.box:nth-child(9){
    grid-column-start: span 2;
}
.box:nth-child(12){
    grid-column-start: span 2;
}
/* 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-family: "Parrafos";
    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;
    }
    .espaciospublicos {
        width: 100%;
    }

    .parrafo-inicial p {
        font-size: 2vh;
        padding: 8px;
        margin-left: 30px;
        margin-right: 30px;
        text-align: justify;
    }
    .tituloinst{
        font-size: 2vh;
        padding: 8px;
        margin-left: 30px;
        margin-right: 30px;
        text-align: justify;
    }
    .nombres{
        font-size: 2vh;
        padding: 8px;
        margin-left: 30px;
        margin-right: 30px;
        text-align: justify; 
    }
    .no-disponible img {
        max-width: 80%; 
        height: auto;
        display: inline-block;
        border-radius: 10px; 
    }
    .container {
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }
    .box:nth-child(1),
    .box:nth-child(4),
    .box:nth-child(5),
    .box:nth-child(8),
    .box:nth-child(9),
    .box:nth-child(12) {
        grid-column: span 1;
    }

}