/* css/translate.css */

/* Botón del Navbar */
.btn-lang {
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    font-weight: 600;
    color: #444;
}

    .btn-lang:hover, .btn-lang.show {
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        color: var(--primary, #C62828);
        transform: translateY(-1px);
    }

.dropdown-item {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 2px;
}

    .dropdown-item:hover {
        background-color: rgba(198, 40, 40, 0.05); /* Rojo muy suave */
        color: var(--primary, #C62828);
    }

.dropdown-menu {
    border-radius: 15px;
    padding: 10px;
    margin-top: 10px !important; /* Separación del botón */
}

/* Animación de Transición de Texto */
.fade-text-out {
    animation: fadeOut 0.3s forwards;
}

.fade-text-in {
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
