* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

/* Container */
.container {
    width: 85%;
    margin: 0 auto;
}

.style {
    position: absolute;
    top: 57px;
    left: 0px;
    height: 150px;
    object-fit: contain;
}

/* Header */
header {
    background-color: #685850;
    color: white;
    padding: 15px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease-in-out;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #756d69;
}

/* Section générique */
section {
    padding: 30px 0;
    background-color: #fff;
    margin-bottom: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
}

section h2 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 25px;
    margin-top: 15px;
    text-align: center;
}

section p,
section li {
    font-size: 1.217rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0px;
}

section ul {
    list-style: none;
    padding-left: 0;
}

/* Accueil */

#accueil {
    background: linear-gradient(135deg, #685850, #af9488); /* fond doux et élégant */
    border-radius: 35px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #dba34e; /* bordure subtile, dorée/champagne */
    margin: 5px auto;
    width: 95%;
    max-width: 1000px;
    text-align: center;
    font-family: 'Georgia', serif;

}

#accueil h2 {
    color: white;
}

#accueil p {
    text-align: center;
    font-size: 1.25rem;
    color: white
}

/* Contact */
#contact a {
    color: #685850;
    font-weight: bold;
    display: block;
    text-align: center;
    margin-top: 10px;
}

#contact a:hover {
    text-decoration: underline;
}

.imageindex {
    height: 250px;
    width: auto;
    display: block;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #685850;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 1rem;
}

footer p {
    margin-top: 10px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    header h1,
    section h2 {
        font-size: 2rem;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

.social {
    display: flex;
    align-items: center;
    gap: 10px; /* espace entre les logos */
    justify-content: center;
}

.insta-logo,
.discord-logo {
    height: 60px; /* ou la taille que tu veux */
    width: auto;
    transition: transform 0.3s ease;
    margin-top: 10px;
}

.insta-logo:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.discord-logo:hover {
    transform: scale(1.1);
    cursor: pointer;
}
#actu {
    padding: 40px 0;
    background-color: #fff;
    border-radius: 20px;
    margin-bottom: 50px;
}

#actu h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2C3E50;
}
#actu {
    position: relative;
    overflow: hidden;
    height: 600px;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .carousel-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
  }
  
  .carousel {
    height: 100%;
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    width: calc(6 * 100%); /* 3 images + 3 clones */
    animation: scrollCarousel 30s linear infinite;
  }
  
  .carousel-item {
    position: relative;
    min-width: 100vw;
    height: 100%;
  }
  
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .carousel-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
  }
  
  @keyframes scrollCarousel {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-300vw); } /* 3 images */
  }
  
  /* Overlay texte actualités */
  .carousel-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }
  
  .carousel-title {
    font-size: 4rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px 40px;
    border-radius: 20px;
    font-family: 'Georgia', serif;
    text-shadow: 2px 2px 5px black;
    transition: transform 0.3s ease;
  }
  
  .carousel-overlay-link:hover .carousel-title {
    transform: scale(1.05);
  }
  