.footer {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 20px;
}

.social-icons {
    position: absolute;
    bottom: 1vh;
    /* Ajusta la posición vertical */
    right: 0.1vw;
    /* Ajusta la posición horizontal */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icon {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .footer {
        padding: 10px;
    }
}

.popup {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo oscuro semi-transparente */
    z-index: 999;
    /* Asegúrate de que esté detrás del popup pero delante del contenido */
}

.background-overlay.hidden {
    display: none;
}

/* Estilos para el botón de salir (con el símbolo X) */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

#map {
    height: 400px;
    /* ajusta la altura según tu preferencia */
    width: 100%;
    /* ajusta el ancho según tu preferencia */
}

#lista {
    display: flex;
    list-style: none;
    padding: 0;
}

.nav-item {
    margin-right: 60px;
    /* Espacio entre los elementos de la lista */
    font-size: 20px;
}

.titulos {
    text-decoration: none;
    color: white;
    /* Color de los enlaces sin hover */
    transition: color 0.3s;
    /* Transición suave del color al pasar el cursor */
}

.titulos:hover {
    color: yellow;
    /* Color de los enlaces al pasar el cursor */
}

hr {
    color: black;
}

/* BOTON MENU REDES SOCIALES */

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px; /* Cambiado de 'left' a 'right' */
    display: flex;
    flex-direction: column; /* Asegura que los íconos estén siempre en una columna */
    align-items: flex-start;
    z-index: 1000;
}

.social-icons a {
    display: block;
    margin-bottom: 10px; /* Espacio entre los íconos */
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons a img {
    width: 40px; /* Tamaño de los íconos */
    height: 40px; /* Tamaño de los íconos */
    max-width: 10vw; /* Ancho máximo en porcentaje de la ventana */
    max-height: 10vw; /* Altura máxima en porcentaje de la ventana */
    border-radius: 0; /* Hacer los íconos cuadrados */
}

@media (max-width: 768px) {
    .social-icons {
        bottom: 10px; /* Ajusta la posición vertical en móviles */
        right: 10px; /* Ajusta la posición horizontal en móviles */
    }

    .social-icons a img {
        width: 30px; /* Tamaño de los íconos en dispositivos móviles */
        height: 30px; /* Tamaño de los íconos en dispositivos móviles */
    }
}

/* DESPLAZAMIENTO */

.featurette-divider {
    margin-top: 50px;
}

.featurette-divider:first-child {
    margin-top: 0;
}

.featurette {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    animation: moveFromLeft 1s ease-out forwards;
}

.animate-right {
    animation: moveFromRight 1s ease-out forwards;
}

@keyframes moveFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes moveFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}