body {
    margin: 0;
    font-family: 'Lexend', 'Arial', sans-serif; /* Police principale avec Lexend */
    line-height: 1.6;
    color: #333;
}

.navbar {
    background-color: rgba(28, 14, 56, 0.5); /* Couleur avec transparence à 50% */
    padding: 15px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center; /* Aligne les éléments verticalement */
    justify-content: space-between; /* Espace entre logo, liens et bouton */
    padding-left: 100px; /* Marge à gauche pour le logo */
    padding-right: 100px; /* Marge à droite pour le bouton */
    transition: background-color 0.3s ease-in-out; /* Animation douce pour la transition */
}

.navbar .logo img {
    height: 40px; /* Taille du logo */
}

.navbar-links {
    display: flex;
    gap: 20px; /* Espacement entre les liens */
    flex: 1; /* Prend l'espace central entre logo et bouton */
    justify-content: center; /* Centre les liens horizontalement */
}

.navbar-links a {
    text-decoration: none;
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: #ffffff; /* Jaune au survol */
}

.navbar-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 5px; /* Hauteur de la barre */
    background-color: #2E185A; /* Jaune */
    border-radius: 10px;
    transition: width 0.3s ease-in-out;
}

.navbar-links a:hover::after {
    width: 100%; /* Barre qui s'étend au survol */
}

.navbar-account {
    display: flex;
    align-items: center; /* Aligne le bouton verticalement */
    margin-right: 200px; /* Ajoute une marge de 100px à droite */
}

.account-button {
    text-decoration: none;
    color: white;
    background-color: #1C0E38; /* Couleur de fond du bouton */
    padding: 10px 20px;
    border-radius: 5px; /* Bouton arrondi */
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.account-button:hover {
    background-color: #2E185A; /* Jaune au survol */
    color: #ffffff; /* Texte en couleur primaire */
}


.banner {
    height: 700px;
    background: url('../assets/cadreur.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center; /* Aligne verticalement */
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    padding-left: 100px; /* Distance depuis le bord gauche */
}

.banner-text {
    max-width: 500px; /* Pour contenir le texte dans une largeur raisonnable */
}

.banner h1 {
    font-size: 2.5rem;
    margin: 0;
}

.banner p {
    font-size: 1.2rem;
    margin: 10px 0 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background-color: #1C0E38;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #2E185A;
}

body {
    font-family: 'Lexend', Arial, sans-serif;
    line-height: 1.6;
    background-color: #F8F8F8;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;

    color: #1C0E38;
    text-align: center;
    margin-bottom: 20px;
}


h2 {
    color: #2E185A;
    margin-top: 15px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

.footer {
    background-color: #1C0E38; /* Couleur sombre */
    color: white;
    padding: 15px 20px; /* Marges verticales et horizontales */
}

.footer-container {
    display: flex;
    align-items: center; /* Aligne les éléments verticalement */
    justify-content: space-between; /* Répartit les éléments horizontalement */
    max-width: 1200px;
    margin: 0 auto; /* Centre le contenu horizontalement */
    padding-left: 10px; /* Alignement similaire au logo de la navbar */
    padding-right: 10px;
}

.footer-logo img {
    height: 40px; /* Taille du logo similaire à la navbar */
}

.footer-links {
    display: flex;
    gap: 20px; /* Espacement entre les liens */
}

.footer-links a {
    position: relative; /* Ajout de position relative pour permettre à ::after d'être correctement positionné */
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 8px 15px;
}

.footer-links a::after {
    content: '';
    position: absolute; /* Positionnement absolu par rapport au lien */
    left: 0;
    bottom: 0;
    width: 0; /* La largeur commence à 0 */
    height: 5px; /* Hauteur de la barre */
    background-color: #ffffff; /* Couleur de la barre */
    border-radius: 10px; /* Arrondit les coins */
    transition: width 0.3s ease-in-out; /* Animation fluide pour la largeur */
}

.footer-links a:hover::after {
    width: 100%; /* Barre visible sous le lien au survol */
}

.footer-social {
    display: flex;
    gap: 15px; /* Espacement entre les icônes */
}

.footer-social a {
    color: white; /* Couleur blanche des icônes */
    font-size: 1.5rem; /* Taille des icônes */
    transition: color 0.3s ease, transform 0.3s ease; /* Animation fluide */
}

.footer-social a:hover {
    color: #ffffff; /* Couleur jaune au survol */
    transform: scale(1.2); /* Zoom léger au survol */
}
