html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    background-color: #162640;
    color: white;
    padding: 10px 0;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Contenedor general del pie de página */
.footer-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    flex-wrap: wrap;
    padding: 10px 0;
}

/* Texto centrado */
.footer-text {
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
}

/* Traductor alineado a la derecha en pantallas grandes */
.footer-translate {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Media query para pantallas pequeñas */
@media (max-width: 600px) {
    .footer-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .footer-translate {
        position: static;
        transform: none;
        margin-top: 5px;
    }
}