:root {
    --background-color: #020202;
    --text-color: white;
    --primary-color: #035bab;
    --secondary-color: #05985a;
    --hover-color: #23b24d;
    --comment-bg: #f9f9f9;
    --box-shadow: rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
    --transition-duration: 0.3s;
}

body {
    scroll-behavior: smooth;
    overflow: hidden;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: Arial, sans-serif;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

iframe, video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    position: absolute;
    width: 10%;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
}

.logo.left {
    left: 1rem;
}

.logo.right {
    right: 1rem;
}

.comment-input, 
.comment-button {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 0 10px var(--box-shadow);
}

.comment-input {
    width: 80%;
    border: 2px solid var(--primary-color);
    background-color: var(--comment-bg);
    margin-bottom: 10px;
}

.comment-button {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-duration) ease;
}

.comment-button:hover,
.comment-button:focus,
.comment-button:active {
    background-color: var(--hover-color);
}

.section {
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.content-wrapper {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 20px var(--box-shadow);
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.comment-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-shapes div {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(3, 91, 171, 0.1);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(50px);
    }
}

.hero-content {
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 50px;
    background: url('BHCI_RS & DIGITAL_ECRAN ORDINATEUR_1920x1080.png');
    background-size: 107% auto;
    background-position: top;
    color: white;
    width: 100%;
    height: 100vh;
}

.hero-button, .hero-button2, .hero-button3 {
    margin-bottom: 40px; /* Espace au-dessus du bouton */
    scroll-behavior: smooth;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color var(--transition-duration);
}

.hero-button:hover,
.hero-button:focus,
.hero-button:active,
.hero-button2:hover,
.hero-button2:focus,
.hero-button2:active {
    background-color: #ff79b0;
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3em;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.5em;
}

.hero-button2 {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    scroll-behavior: smooth;

}
.hero-button3 {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    scroll-behavior: smooth;
    background-color: #b5985a;

}

.scroll-arrow {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px; /* Diameter of the circle */
    height: 50px; /* Diameter of the circle */
    background-color: white; /* Background color */
    border-radius: 50%; /* Makes it circular */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px; /* Adjust size of the arrow */
    color: #333; /* Arrow color */
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow effect */
    transition: background-color 0.3s, transform 0.3s;
}

.scroll-arrow:hover {
    background-color: #f0f0f0; /* Change background on hover */
    transform: scale(1.1); /* Scale effect on hover */
}



.event-cards {
    display: flex;
    flex-wrap: wrap; /* Permet aux cartes de passer à la ligne */
    justify-content: space-around; /* Espace entre les cartes */
    margin-top: 20px; /* Espacement au-dessus des cartes */
}

.event-card {
    background-color: #ffffff; /* Couleur de fond des cartes */
    border: 1px solid #ddd; /* Bordure des cartes */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Ombre légère */
    width: 200px; /* Largeur fixe pour les cartes */
    margin: 10px; /* Espacement entre les cartes */
    padding: 15px; /* Espacement intérieur */
    text-align: center; /* Centrer le texte */
}

.event-card h3 {
    margin: 0; /* Supprimer la marge par défaut */
    color: #05985a;
}
.event-card p {
    margin: 0; /* Supprimer la marge par défaut */
    color: black;
}

.event-card button {
    background-color: #007bff; /* Couleur de fond du bouton */
    color: white; /* Couleur du texte */
    border: none; /* Supprimer la bordure */
    border-radius: 5px; /* Coins arrondis du bouton */
    padding: 10px 15px; /* Espacement intérieur du bouton */
    cursor: pointer; /* Curseur en main au survol */
    transition: background-color 0.3s; /* Transition pour l'effet de survol */
}

.event-card button:hover {
    background-color: #0056b3; /* Couleur du bouton au survol */
}
