/* reset */
*{
    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: "LeagueSpartan";
    src: url(font/LeagueSpartan-VariableFont_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;
}
/* telefonos-body */
.titulo_destacados{
    font-family: "titulo";
    padding: 0px 50px;
    font-size: 30px;
    margin: 15px 0px;
    color: #545454;
}

/* sobre el pueblo-body */
.texto{
    font-family: "Parrafos";
    color: #545454;
    margin-top: 10px;
    text-align: justify;
    padding: 0px 50px;
    font-size: 15px;
}
.columna1 {
    display: flex;
    align-items: center; 
    margin-top: 20px;
    text-align: center;
    padding: 0px 30px;
    justify-content: space-around; 
}

.columna1 a {
    display: block;
    width: 100%; 
    margin: 0 20px;
}

.columna1 img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
/* footer */
footer{
    background: #282928;
    height: 100;
    padding-top: 40px;
    color: white;
}
.footer-contenido{
    display: flex;
    font-family: "Parrafos";
    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;
    }
    /* botones */
    .columna1 {
        display: flex;
        justify-content: center; 
        align-items: center; 
        flex-wrap: wrap; 
        padding: 0px 20px; 
    }
    
    .columna1 img {
        max-width: 100%; 
        height: auto; 
        margin: 10px; 
        border-radius: 10px; 
    }
    .texto{
        font-size: 2vh;
        padding: 8px;
        margin-left: 30px;
        margin-right: 30px;
        text-align: justify;
    }
}