:root {
    --color-nav: #11D0DA;
    --color-secundario: #AEE1F9;
    --color-intenso: #219EBC;
    --color-blanco: #FFFFFF;
    --color-fondo: #F7F9FA;
    --color-texto: #333333;
    --color-rojito: #ff0404;

}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--color-blanco);
    color: var(--color-texto);
    line-height: 1.5;
}

.container {
    padding-top: 100px;
    max-width: 900px;
    margin: auto;
}

section {
    padding: 0px;
    margin: 0px;
    text-align: center;
}

h1,
h2,
h3 {
    color: var(--color-texto);
    margin-bottom: 15px;

}

p {
    color: var(--color-texto);
    font-size: 1rem;
    margin-bottom: 15px;
}


header,
img {
    margin: 0px;
    height: 100px;
    width: 100px;
    border-radius: 0px;
    max-width: 100%;

}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-nav);
    width: 100%;
    max-width: 100%;
    position: initial;
    padding: 15px;
}

.div-logo {
    position: sticky;
    justify-content: left;
    left: 5%;
}

@keyframes cambio-color {
    0% {
        background-color: #ffffff;
        transform: scale(0%);
    }

    100% {
        background-color: var(--color-intenso);
        transform: scale(100%);
    }
}

.logo {
    width: 100px;
    border-radius: 50px;
    animation: cambio-color 5s 1;
}

.logo:hover {
    transition: transform 2s ease-in-out;
    transform: rotate(360deg);


}

.pestañas-nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 10px;
    width: 70%;
    justify-content: space-evenly;

    padding: 15px;
    border-radius: 11px;
    box-sizing: border-box;

}

.pestañas-nav a {
    text-decoration: none;
    color: var(--color-blanco);
    font-weight: bold;
    transition: color 0.4s ease;

}

.pestañas-nav a:hover {
    color: var(--color-rojito);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: auto;
    color: var(--color-texto);
}

.container {
    max-width: 900px;
    margin: auto;
}

h1,
h2 {
    text-align: center;
}

h1 {
    font-size: 26px;
    margin-top: 10px;
}

p.lead {
    text-align: center;
    max-width: 780px;
    margin: 10px auto 30px;
    color: #333;
}

.top {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.card {
    border: 3px solid #10a6a6;
    border-radius: 10px;
    padding: 16px;
    width: 48%;
    box-sizing: border-box;
}

.card h3 {
    color: #0b8f8f;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.image-right {
    width: 100%;
    height: auto;
}

.image-right img {
    width: auto;
    height: auto;
    border-radius: 12px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.map-link {
    text-align: center;
    margin-bottom: 20px;
}

.map-link a {
    color: #10a6a6;
    text-decoration: none;
    font-weight: bold;
}

.map-link a:hover {
    text-decoration: underline;
}

.bottom-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 900px;
}

.bottom-images img {
    width: 100%;
    max-width: 400px;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}


.footer {
    border-top: 10px solid var(--color-nav);
    background-color: var(--color-blanco);
    text-align: center;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: 30px;
    font-weight: bold;

}

.titulo {
    padding: 10px;
    grid-column: 1 / -1;
    margin: 0;
}

.derechos {
    grid-column: 1 / -1;
    background-color: var(--color-nav);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 40px;


    p {
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 800px) {
    .top {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .card {
        width: 90%;
        text-align: center;
    }

    .image-right {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .image-right img {
        width: 100%;
        max-width: 400px;
        margin: auto;
        border-radius: 12px;
    }

    .bottom-images {
        align-items: center;
        flex-direction: column;
        gap: 20px;
        margin: 30px auto;
    }

    .bottom-images img {
        max-width: 90%;
        height: 200px;
    }
}