* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Lexend', sans-serif;
    scroll-behavior: smooth;
}

#scroll-animate {
    overflow: hidden;
}

#scroll-animate-main {
    width: 100%;
    left: 0;
    position: fixed;
}

header {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    color: white;
    overflow: hidden;
    z-index: -1;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(back2.jpg) no-repeat center center;
    background-size: cover;
    filter: blur(5px); /* Applique le flou uniquement à l'image */
    z-index: -1; /* L'image reste derrière le texte */
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste la vidéo pour couvrir tout l'écran */
    filter: blur(20px); /* Ajoute l'effet de flou */
    z-index: -1; /* Met la vidéo en arrière-plan */
}


header h1 {
    font-size: 3rem;
    line-height: 100vh;
    text-transform: uppercase;
    position: relative; /* Assure que le texte reste au-dessus de l'image */
}

/* Contenu principal */
.content {
    position: relative;
    z-index: 1;
}


/* Footer */
footer {
    width: 100%;
    height: 300px;
    background: gray;
    bottom: -300px;
    position: fixed;
    z-index: -1;
    text-align: center;
    color: white;
}

footer h1 {
    font-size: 2rem;
    line-height: 300px;
    text-transform: uppercase;
}

/* Contenu principal */
.content {
    position: relative;
    z-index: 1;
}

.page {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row; /* Arrange les éléments horizontalement */
    align-items: center; /* Centre verticalement les éléments */
    justify-content: space-between; /* Espacement entre le texte et l'image */
    font-size: 2rem;
    color: black;
    text-align: left; /* Alignement du texte à gauche */
    padding: 20px; /* Padding pour éviter que le contenu touche les bords */
    gap: 20px; /* Espace entre les colonnes */
    background: radial-gradient(circle, rgb(197, 196, 255) 20%, rgb(126, 121, 255) 60%, rgb(114, 107, 200) 100%);
    background-size: 200% 200%;
    background-attachment: fixed;
    animation: cloudAnimation 12s alternate infinite;
}

@keyframes cloudAnimation {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}
.page-title {
    font-family: 'Lexend', sans-serif;
    font-size: 2.5rem;
    position: relative;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    
    top: -290px;
}

.description1 {
    font-size: 19px;
    position: absolute; /* Change relative à absolute */
    left: 190px;
    top: 290px;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 200px;
    max-width: 73%;
    font-family: 'Lexend', sans-serif;
    font-weight: bold;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
    color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 15px;
    display: inline-block;
    
}

.description2 {
    position: absolute; /* Change relative à absolute */
    left: 30px;
    top: 1100px;
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 200px;
    max-width: 40%;
    font-family: 'Lexend', sans-serif;
    font-weight: bold;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
    color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 15px;
    display: inline-block;
}



.image-placeholder {
    position: absolute; /* Position fixe par rapport à son conteneur parent */
    right: 350px; /* Évite que l'élément dépasse à droite */
    top: 1050px; /* Définit un espace de 130px en haut */
    width: 16%; /* Largeur ajustable selon besoin */
    height: 50vh; /* Hauteur ajustable */
    border: 2px solid #000; /* Bordure pour l'encadré */
    background-color: #ccc; /* Couleur de fond pour le placeholder */
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); /* Transition fluide */
    background-size: contain; /* L'image garde ses proportions */
    background-repeat: no-repeat; /* Evite la répétition de l'image */
    background-position: center; /* Centre l'image dans le placeholder */
    object-fit: contain; /* Assure que l'image garde ses proportions */
}


.image-placeholder:hover {
    transform: scale(1.05); /* Légère mise à l'échelle pour un effet zoom */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Ombre plus douce et plus prononcée */
}

.image-placeholder2 {
    position: absolute; /* Position fixe par rapport à son conteneur parent */
    right: 30px; /* Évite que l'élément dépasse à droite */
    top: 1050px; /* Définit un espace de 130px en haut */
    width: 20%; /* Largeur ajustable selon besoin */
    height: 50vh; /* Hauteur ajustable */
    border: 2px solid #000; /* Bordure pour l'encadré */
    background-color: #ccc; /* Couleur de fond pour le placeholder */
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); /* Transition fluide */
    background-size: contain; /* L'image garde ses proportions */
    background-repeat: no-repeat; /* Evite la répétition de l'image */
    background-position: center; /* Centre l'image dans le placeholder */
    object-fit: contain; /* Assure que l'image garde ses proportions */
}


.image-placeholder2:hover {
    transform: scale(1.05); /* Légère mise à l'échelle pour un effet zoom */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Ombre plus douce et plus prononcée */
}



header, footer, #scroll-animate-main {
    transition: all 0.4s cubic-bezier(0, 0, 0, 1);
}


.header-buttons {
    position: absolute;
    bottom: 730px; 
    right: 30px;
    display: flex;
    gap: 25px; 
    z-index: 10;
}

.header-buttons button {
    all: unset;
    font-size: 1rem;
    color: rgb(255, 255, 255);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: 'Lexend', sans-serif; 
    font-weight: bold; 
    padding: 5px 10px;
    background-color: transparent;
    border: none;
    line-height: 1;
    display: inline-block;
}

.header-buttons button:hover {
    transform: scale(1.2);
    color: #000000;
}

.buttons-container {
    position: relative;
    display: flex;
    gap: 30px;
    margin-top: 20px;
    top: 190px;
    right: 550px;
}

.buttons-container button {
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 30px; /* Bordures plus arrondies pour un look moderne */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    font-family: 'Lexend', sans-serif; /* Police moderne */
}

/* Bouton pour l'ancien site */
.old-website {
  
    
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Bouton pour le nouveau site */
.new-website {
    
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Effet de survol pour les boutons */
.buttons-container button:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #e6e6e6); /* Effet de survol lumineux */
}

/* Effet de clic */
.buttons-container button:active {
    transform: translateY(2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, #cccccc, #b3b3b3); /* Légère réduction de la couleur au clic */
}

.scroll-down-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: white;
    animation: bounceArrow 2s infinite;
    z-index: 2;
    cursor: pointer;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(10px);
    }
    60% {
        transform: translateX(-50%) translateY(5px);
    }
}

