.nav-lien a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out, transform 0.3s ease-in-out; 
}

.nav-lien a:hover {
    color: #C0053B;
    text-shadow: 0 0 5px rgba(107, 107, 107, 0.8);
    transform: translateY(-2px); 
}

.nav-lien li:first-child a:hover {
    color: #0f0bfd;
    text-shadow: 0 0 5px rgba(107, 107, 107, 0.8);
    transform: translateY(-2px); 
}


.brand-gauche img {
    transition: transform 0.3s ease-out; 
}

.brand-gauche img:hover {
    transform: scale(1.1); 
}

/*Main*/

.news-items {
    position: relative;
    overflow: hidden;
    border: 3px solid #C0053B; 
    /* Ajout de la transition pour l'ombre et la transformation */
    transition: box-shadow 0.3s ease-out, transform 0.3s ease-out; 
    cursor: pointer; 
}

.news-items:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); 
}

.news-items img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-in-out; 
}

.news-items:hover img {
    
    transform: scale(1.05); 
}

.news-overlay {
    /* Ajout de la transition pour la couleur */
    transition: background-color 0.3s ease-out;
}

.news-items:hover .news-overlay {
    /* Rend l'overlay légèrement plus opaque au survol */
    background-color: rgba(0, 0, 0, 0.85); 
}

/*Footer*/

.lien-footer-top a {
    transition: color 0.3s; 
}

.lien-footer-top a:hover {
    color: #C0053B;
}


.legal-links a {
    transition: opacity 0.3s;
}

.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}


.social-icons-footer img {
    transition: transform 0.3s ease-out;
}

.social-icons-footer img:hover {
    
    transform: scale(1.15); 
}

/* Animation des boutons de sélection de langue */
.langue-selection button {
    transition: background-color 0.3s, border-color 0.3s;
}

.langue-selection button:hover {
    background-color: #555555; 
    border-color: #C0053B; 
}