/* Estilos para el Footer */

.contenido-superior-ubi {
    width: 100%;
    /* height: 50%; */
}

    .contenido-superior-ubi p {
        color: white;
        font-size: 0.9em;
        margin-bottom: 2%;
    }

.titulo-direccion {
    font-weight: bold;
}

.direccion {
    width: 100%;
    display: flex;
    flex-direction: row;
}

    .direccion i {
        margin-right: 1em;
        margin-left: 1%;
        margin-top: 2%;
    }

.movil {
    width: 100%;
    display: flex;
    flex-direction: row;
}

    .movil i {
        margin-right: 1em;
        margin-left: 1%;
        margin-top: 0%;
    }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

footer {
    background-color: #000;
    padding: 3.0em 0 4.0em;
}

.contenido-superior p {
    color: white;
    font-size: 0.9em;
    margin-bottom: 2%;
}

.derecha-superior a {
    text-decoration: none;
    font-size: 1em;
    color: white;
    margin-bottom: 10%;
}

.contenido-inferior {
    width: 100%;
    height: 30%;
    align-content: center;
}

.derecha-inferior {
    height: 20%;
    align-content: center;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}


.contenido-superior p {
    color: white;
    font-size: 0.9em;
    margin-bottom: 2%;
}

.contenido-superior img {
    width: 40%;
    height: auto;
}

.contenido-superior {
    width: 100%;
    height: 60%;
}

.footer-sociales {
    width: 50%;
    height: 15%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: white;
}

.footer-izquierda {
    width: 20%;
    padding: 20px;
}

.contenido-superior img {
    width: 40%;
    height: auto;
}

.contenido-superior p {
    font-size: 0.9em;
    margin-top: 10px;
}

.footer-sociales {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

    .footer-sociales a img {
        width: 25px;
        height: auto;
    }

.contenido-inferior {
    margin-top: 10px;
}

    .contenido-inferior a {
        color: white;
        text-decoration: none;
    }

    .contenido-inferior span {
        font-size: 0.8em;
    }

.footer-derecha {
    width: 65%;
    padding: 20px;
}

.derecha-superior {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    height: 90%;
}

    .derecha-superior a {
        color: white;
        font-size: 1em;
        text-decoration: none;
    }

.listado-menu {
    display: flex;
    flex-direction: column;
}

.derecha-inferior {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ministerio {
    padding-right: 20px;
}

.footer-responsive {
    display: none;
}

@media (max-width: 800px) {

    footer {
        flex-direction: column;
        padding: 2.0em 0 1.0em;
    }

    .contenido-superior {
        width: 100%;
        height: 60%;
    }

        .contenido-superior p {
            font-size: 0.9em;
            margin-top: 10px;
            text-align: center;
        }

    .contenido-superior-ubi {
        width: 80%;
        height: 50%;
        text-align: left;
        margin-left: 30px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .footer-izquierda {
        display: none;
    }

    .footer-derecha {
        display: none;
    }

    .superior-responsive div a {
        color: white;
        text-decoration: none;
    }

    .superior-responsive span {
        font-size: 12px;
    }


    .footer-responsive {
        display: block;
        text-align: center;
        width: 85%;
        font-size: 13px;
        margin: auto;
    }

    .footer-sociales {
        width: 100%;
        display: flex;
        justify-content: center; /* Centra horizontalmente */
        align-items: center; /* Centra verticalmente si tiene altura */
        gap: 10px; /* Espacio entre iconos */
        margin: 0 auto; /* Centrado del contenedor si es necesario */
        flex-wrap: wrap; /* Para que se acomode en móviles */
    }

        .footer-sociales a {
            width: 35px; /* Tamaño del ícono */
            height: 35px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: white; /* Fondo opcional */
            border-radius: 50%; /* Hace el fondo circular */
            overflow: hidden;
        }

        .footer-sociales img {
            width: 60%; /* Tamaño dentro del botón */
            height: auto;
        }


    .logo-responsive img {
        width: 150px;
        margin-bottom: 20px;
    }

    .derecha-superior {
        display: block;
    }

        .derecha-superior a {
            font-size: 1.5em;
            margin-bottom: 15px;
        }

    .listado-menu a {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .footer-sociales {
        justify-content: center;
        padding: 10px 10px 15px 0px;
    }

        .footer-sociales a img {
            width: 40px;
        }

    .derecha-inferior {
        display: block;
        text-align: center;
    }

    .ministerio {
        width: 60%;
        margin: 10px 0;
    }

    .imagenes-inferior {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .superior-responsive p {
        font-size: 1.2em;
    }
}

@media (min-width: 800px) and (max-width: 1100px) {
    .footer-responsive {
        display: none;
    }

    .contenido-superior img {
        width: 80%;
    }

    .footer-sociales {
        width: 100%;
    }

    .contenido-inferior {
        font-size: 1.1em;
    }

    .derecha-inferior img {
        width: 25%;
    }

    .ministerio {
        width: 50%;
    }
}

a:hover {
    text-decoration: underline;
}
