@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); /*Cuerpo*/
@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap'); /*Titulo*/

@media (min-width:1057px)
{
    .container-leer3{
        display: none;
    }
    @media (pointer: fine) and (hover: hover) {
        nav a:hover {
            border-radius: 20px;
            background-color: #916c5e;
            color: #eceae0;
            transform: scale(1.1);
            transition: transform 0.5s ease;
        }
        .card:hover
        {
            transform: translateY(-20px);
            transition: transform 0.5s ease;
        }
        .card2:hover{
            transform: scale(1.05);
            transition: transform 0.5s ease;
        }
        .cardGrande:hover
        {
            transform: scale(1.02);
            transition: transform 0.5s ease;
        }
    }
    #menuPequeno{
        display: none;
    }
    nav {
        position: fixed;
        width: 100%;
        top: 0;
        padding: 10px 0;
        text-align: center;
        z-index: 1000;
        background-color: #eceae0;
        color: #916c5e;
    }
    nav a {
        color: #916c5e;
        font-weight: bold;
        text-decoration: none;
        padding: 14px 20px;
        display: inline-block;
    }
    .box
    {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        place-items:center;
        margin-left: 0;
        max-height: 100%;
        gap: 3%;
    }
    .card
    {
        display:grid;
        grid-template-rows: 1fr 1fr 1fr;
        align-items: center;
        justify-items: center;
        max-width: 100%;
        height: 450px;
        min-height: 300px;
        padding: 30px;
        background-color: #916c5e;
        border-radius: 20px;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
        text-align: center;
        color:#eceae0;
    }
    .box4
    {
        display: grid;
        grid-template-columns:1fr 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-rows:auto auto auto;
        min-height: 100%;
        gap: 3%;
    }
    .card2
    {
        display:flex;
        gap: 5%;
        align-items: top;
        justify-items: left;
        max-width: 100%;
        height: 380px;
        padding: 30px;
        background-color: #916c5e;
        border-radius: 20px;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
        text-align: left;
        color:#eceae0;
    }
    .card2 h2{
        text-align: left;
    }
    .contenedor
    {
        margin-top: 40px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        justify-items: center;
        column-gap: 3%;
    }
    #map
    {
        min-height: 500px;
        width: 100%;
    }
    h1
    {
        margin: 0;
        font-size: 8em;
    }
    .desplazar
    {
        background-color: transparent;
        border: none;
        border-radius: 50%;
        min-width: 50px;
        min-height: 50px;
    }
    .cardGrande
    {
        display:flex;
        flex-direction: row;
        gap: 5%;
        align-items: center;
        justify-items: center;
        justify-content: center;
        width: 100%;
        max-width: 1200px;
        height: 500px;
        padding: 30px;
        background-color: #916c5e;
        border-radius: 20px;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
        text-align: left;
        color:#eceae0;
    }
    .cardGrande h2 {
        text-align: left;
    }
    .cardGrande img
    {
        min-width: 300px;
        width:100%;
        height: 400px;
        border-radius: 10px 10px 10px 10px;
        object-fit: cover;
    }
    .boxGrande
    {
        display: flex;
        place-items:center;
        align-items: center;
        justify-content: space-between;
        max-height: 100%;
        min-width: 100%;
        gap: 3%;
    }
    .subparrafos
    {
        font-size: 25px;
        color:#916c5e;
    }
    .bola
    {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        border: 2px solid #916c5e;
        background-color: #eceae0;
    }
    html{
        scroll-padding-top: 130px
    }
}
@media (min-width:798px) and (max-width:1056px)
{
    @media (pointer: fine) and (hover: hover) {
        #menu-toggle:hover
        {
            cursor: pointer;
        }
        .card:hover, .card2:hover{
            transform: scale(1.05);
            transition: transform 0.5s ease;
        }
        .cardGrande:hover
        {
            transform: scale(1.02);
            transition: transform 0.5s ease;
        }
        nav a:hover
        {
            transform: scale(1.1);
            transition: transform 0.5s ease;
            font-weight: bolder;
        }
    }
    #menuPequeno{
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background-color: #eceae0;
        color: #916c5e;
        z-index: 1000;
    }
    .lines{
        font-size: 20px;
        margin: 15px;
    }
    #menu-toggle {
        border:none;
        background-color: transparent;
        color: #916c5e;
        display: block;
        width: 35px;
        height: 35px;
        font-size: 35px;
        text-align: center;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        z-index: 1200;
    }
    #nomMenu{
        font-family: "Aboreto", system-ui;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px;
        margin-top: -20px;
        transition: opacity 1s, visibility 1s;
    }
    nav{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        display: none; /* Oculto por defecto */
        width: 100vw; /* Ocupa el ancho completo de la ventana */
        height: 100vh; /* Ocupa la altura completa de la ventana */
        background-color:#916c5e; 
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; 
        padding-left: 20px;
    }
    nav a
    {
        color: #eceae0;
        text-decoration: none;
        font-size: 30px;
        padding: 15px;
        display: block;
    }
    .box, .box4
    {
        display: grid;
        grid-template-columns:1fr;
        grid-template-rows:auto auto auto;
        place-items:center;
        min-height: 100%;
        gap:30px;
    }
    .card, .card2
    {
        display:flex;
        gap: 5%;
        align-items: center;
        justify-items: left;
        max-width: 100%;
        height: 220px;
        padding: 30px;
        background-color: #916c5e;
        border-radius: 20px;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
        text-align: left;
        color:#eceae0;
    }
    .card2
    {
        height: 260px;
    }
    .card h2, .card2 h2{
        text-align: left;
    }
    .contenedor
    {
        margin-top: 40px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        justify-items: center;
        column-gap: 3%;
    }
    #map
    {
        min-height: 500px;
        width: 100%;
    }
    h1
    {
        margin: 0;
        font-size: 8em;
    }
    .desplazar
    {
        background-color: transparent;
        border: none;
        border-radius: 50%;
        min-width: 50px;
        min-height: 50px;
    }
    .cardGrande
    {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        min-width: 220px;
        width: 100%;
        height: 430px;
        padding: 30px;
        background-color: #916c5e;
        border-radius: 20px;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
        text-align: center;
        color: #eceae0;
    }
    .cardGrande h2 {
        text-align: center;
    }
    .cardGrande img
    {
        width:20em;
        height: 210px;
        max-height: 300px;
        border-radius: 10px 10px 10px 10px;
        object-fit: cover;
    }
    .boxGrande
    {
        display: flex;
        place-items:center;
        align-items: center;
        justify-content: space-between;
        max-height: 100%;
        min-width: 100%;
        gap: 3%;
    }
    .subparrafos
    {
        font-size: 25px;
        color:#916c5e;
    }
    .bola
    {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        border: 2px solid #916c5e;
        background-color: #eceae0;
    }
    html{
        scroll-padding-top: 90px
    }
}
@media (max-width:797px)
{
    @media (pointer: fine) and (hover: hover) {
        #menu-toggle:hover
        {
            cursor: pointer;
        }
        nav a:hover
        {
            transform: scale(1.1);
            transition: transform 0.5s ease;
            font-weight: bolder;
        }
        .card:hover, .card2:hover{
            transform: scale(1.05);
            transition: transform 0.5s ease;
        }
    }
    #menuPequeno{
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background-color: #eceae0;
        color: #916c5e;
        z-index: 1000;
    }
    .lines{
        font-size: 20px;
        margin: 15px;
    }
    #menu-toggle {
        border:none;
        background-color: transparent;
        color: #916c5e;
        display: block;
        width: 35px;
        height: 35px;
        font-size: 35px;
        text-align: center;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        z-index: 1200;
    }
    #nomMenu{
        font-family: "Aboreto", system-ui;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px;
        margin-top: -20px;
        transition: opacity 1s, visibility 1s;
    }
    nav{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        display: none; /* Oculto por defecto */
        width: 100vw; /* Ocupa el ancho completo de la ventana */
        height: 100vh; /* Ocupa la altura completa de la ventana */
        background-color:#916c5e; 
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; 
        padding-left: 20px;
    }
    nav a
    {
        color: #eceae0;
        text-decoration: none;
        font-size: 30px;
        padding: 15px;
        display: block;
    }
    .box, .box4
    {
        display: grid;
        grid-template-columns:1fr;
        grid-template-rows:auto auto auto;
        place-items:center;
        min-height: 100%;
        gap:30px;
    }
    .card, .card2
    {
        display:grid;
        grid-template-rows: auto auto;
        gap: 5%;
        align-items: center;
        justify-items: center;
        max-width: 100%;
        height: fit-content;
        padding: 30px;
        background-color: #916c5e;
        border-radius: 20px;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
        text-align: center;
        color:#eceae0;
    }
    .card2
    {
        height: fit-content;
    }
    .card h2, .card2 h2{
        text-align: center;
        font-size: 1.3em;
    }
    .Contacto{
        margin-top: -20px;
        width: 100%;
    }
    .contenedor
    {
        margin-top: 40px;
        display: grid;
        grid-template-rows: auto 1fr;
        align-items: top;
        justify-items: left;
        row-gap: 20px;
    }
    .redes-sociales
    {
        display: grid;
        grid-template-rows: auto auto auto;
    }
    #map
    {
       height: 400px;
       width: 100%;
    }
    h1
    {
        margin: 0;
        font-size: 4em;
    }
    .desplazar
    {
        background-color: transparent;
        border: none;
        border-radius: 50%;
        min-width: 50px;
        min-height: 50px;
    }
    .cardGrande
    {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        min-width: 220px;
        width: 100%;
        max-width: 350px;
        height: 430px;
        padding: 30px;
        background-color: #916c5e;
        border-radius: 20px;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
        text-align: center;
        color: #eceae0;
    }
    .cardGrande h2 {
        text-align: center;
        font-size: 1.3em;
        
    }
    .cardGrande img
    {
        width:100%;
        max-width: 310px;
        height: 200px;
        border-radius: 10px 10px 10px 10px;
        object-fit: cover;
    }
    .boxGrande
    {
        display: flex;
        place-items:center;
        align-items: center;
        justify-content: center;
        max-height: 100%;
        min-width: 100%;
        gap: 3%;
    }
    .bola
    {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 2px solid #916c5e;
        background-color: #eceae0;
    }
    .subparrafos
    {
        font-size: 1.2em;
        color:#916c5e;
    }
    html{
        scroll-padding-top: 100px
    }
}

.titulo {
    position: relative;
    overflow: hidden;
    font-family: "Aboreto", system-ui;
    font-weight: 300;
    font-style: normal;
}
body
{
    margin: 0;
    width: auto;
    background:  #eceae0;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: normal;
    transition: transform 1.6s ease;
    font-size: 20px;
}
.head
{
    margin: 0%;
    padding: 0px;
}
.header
{
    color: #916c5e;
    align-items: center;
    text-align: center;
    justify-content: center;
    display:flex;
    margin: 0%;
    padding: 0px;
    height: 100vh;
    width: auto;
    min-height: 400px;
}

.titulo::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    background-image: linear-gradient(-45deg, transparent, #eceae0, transparent); /* Gradiente de brillo */
    z-index: 1;
    animation: desplazamiento 2s linear forwards; /* Animación de desplazamiento */
}

@keyframes brillo {
    0%, 100% {
        color: #916c5e; /* Color normal del texto */
    }
    50% {
        color: #eceae0; /* Color del brillo */
    }
}

@keyframes desplazamiento {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
h2
{
    text-align: center;
}
strong{
    color: #916c5e;
}
footer
{
    background: #383534;
    color: #929292;
    margin: 0;
    padding-left: 2%;
    padding-right: 2%;
    display: flex;
    justify-content: space-between;
    bottom: 0;
    text-align: center;
    align-content: center;
    min-height: 60px;
    
}
.Gobierno
{
    width: 95%;
    margin: 1%;
    padding:1%;
    justify-content: center;
}
.Gobierno img
{
    width:fit-content;
    max-width: 100%;
    height: auto;
}
.s
{
    margin-left: 10%;
    margin-bottom: 80px;
    margin-right: 10%;
}
.more-text
{
    display: none;
}
.leer, .leer3{
    width: 100px;
}
#leer2
{
    width: 270px;
}
@media (pointer: fine) and (hover: hover) {

    .leer:hover{
        cursor:pointer;
        color: #916c5e;
        font-weight: bold;
        transform: scale(1.1);
        transition: transform 0.25s ease;
    }
    .leer3:hover{
        cursor:pointer;
        color: #eceae0;
        font-weight: bold;
        transform: scale(1.1);
        transition: transform 0.25s ease;
    }
    #Res:hover
    {
        transform: scale(1.1);
        transition: transform 0.25s ease;
    }
    .sub-redes:hover{
        transform: scale(1.1);
        transition: transform 0.5s ease;
        cursor:pointer;
    }
    .telefono:hover, .envelope:hover
    {
        cursor:pointer;
        font-weight: bold;
        color: #916c5e;
        transition: transform 0.5s ease;
        transform: scale(1.1);
    }
    .desplazar:hover, .bola:hover{
        cursor: pointer;
        transform: scale(1.5);
        transition: transform 0.5s ease;
    }

}
.botonRes
{
    display: flex;
    justify-content: center;
    margin: 1%;
    gap: 1%;
    border: none;
    width: auto;
}
#Res
{
    color:#eceae0;
    background-color: #916c5e;
    width:40%; 
    height: 45px; 
    border-radius: 1vh;
    border-color: white;
    border: none;
    box-shadow: 1px 1px 2px #383534;
    min-width: 100px;
    min-height: 45px;
    font-size: 20px;
    cursor:pointer;
}
.intro
{
    text-align: justify;
    font-size: 24px;
    line-height: 1.5;
}
.Contacto
{
    font-size: 22px;
    height: auto;
}
.redes-sociales
{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 20px;
}
.btn-social
{
    border: none;
    height: 60px;
    font-size: 20px;
    background-color: #916c5e;
    color: #eceae0;
}
.sub-redes
{
    display:flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #916c5e;
    gap: 6%;
    color: #eceae0;
    font-size: 20px;
    font-weight: bolder;
    border-radius: 10px 10px 10px 10px;
    border: none;
}
#btn-phone, #btn-envelope{
    color: #916c5e;
    background-color: #eceae0;
}
.telefono, .envelope{
    display: flex;
    gap: 4%;
    align-items: center;
    margin-top: -4%;
    width: 220px;
    text-decoration: none;
}

.card img
{
    max-width:150px;
    border-radius: 10px 10px 10px 10px;
}
.icono
{
    color: #916c5e;
    font-size: 25px;
}
.bolitas
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1%;
    width: 100%;
    height: 15px;
}
.nservicios
{
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 20px;
}
.box4{
    margin-bottom: 40px;
    margin-top: 40px;
}
.box{
    margin-top: 40px;
}
.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}
/*Para aplicar transiciones de aparicion*/
.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s, visibility 0.5s;
}
.show
{
    display: flex;
}
.hide{
    display: none;
}
.modal {
    display: none; /* Por defecto oculto */
    position: fixed; /* Posición fija en la ventana */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente */
    z-index: 2000; /* Z-index alto para asegurar que esté encima de todo */
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal h2{
    color: #916c5e;
}

.modal-content {
    background-color: #eceae0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 80%;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #916c5e;
}

.close:hover {
    font-weight: bold;
}
.leaflet-control-attribution {
    display: none !important;
}
#num
{
    text-decoration: none;
    color: inherit;
}