html {
    background-color: #191919;
    color: #ffffff;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    scroll-behavior: smooth;
    text-align: justify;
}

body {
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

header {
    position: sticky;
    top: 0%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    background-color: #323232;
    padding: 1rem;
    z-index: 100;
    border-radius: 0;
    transition: top 0.3s ease, margin 0.3s ease, border-radius 0.3s ease;
}

@media (min-width: 1200px) {
    header {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.popover {
    top: 0.8rem;
    margin: 0.8rem;
    border-radius: 1rem;
    
    transition: top 0.3s ease, margin 0.3s ease, border-radius 0.3s ease;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 3rem;
    row-gap: 2rem;
    padding: 1rem;
    background-color: #323232;
}

main {
    padding-left: 10%;
    padding-right: 10%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (max-width: 800px) {
    main {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

img {
    max-width: 100%;
    height: auto;
}

section {
    scroll-margin-top: 5rem; /* Compense pour la hauteur du header */
}

.section-left {
    position: relative;
    padding-right: 35%;
    text-align: left;
}

.section-left::before {
    content: "";
    position: absolute;
    left: -20%;
    top: -20%;
    width: 120%;
    height: 140%;
    background: radial-gradient(
        ellipse at left center,
        var(--gradient-color, hsla(206, 100%, 64%, 0.5)) 0%,
        rgba(91, 157, 255, 0) 60%
    );
    z-index: -1; /* Place behind content */
}

.section-left.animate {
    opacity: 0;
    transform: translateX(-10%);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.section-left.in-view {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.section-right {
    position: relative;
    padding-left: 35%;
    text-align: right;
}

.section-right::before {
    content: "";
    position: absolute;
    left: 20%;
    top: -20%;
    width: 120%;
    height: 140%;
    background: radial-gradient(ellipse at right center,
            var(--gradient-color, hsla(206, 100%, 64%, 0.5)) 0%,
            rgba(91, 157, 255, 0) 60%);
    z-index: -1;
    /* Place behind content */
}

.section-right.animate {
    opacity: 0;
    transform: translateX(10%);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.section-right.in-view {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

@media (max-width: 1200px) {
    .section-left, .section-right {
        padding: 0;
        text-align: justify;
    }
}

a {
    color: #91c2ff;
    text-decoration: none;
    transition: color 0.1s ease;
}

a:hover {
    color: #91ffda;
    transition: color 0.1s ease;
}

.header-item {
    font-size: 1rem;
    margin: 0rem;
    margin-top: .1rem;
    margin-bottom: -.1rem;
}

a.header-item {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.1s ease;
}

a.header-item:hover {
    color: #91c2ff;
    transition: color 0.1s ease;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo {
    background: linear-gradient(45deg, #8ff0a4, #99c1f1, #d48ff0);
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: background-position 0.4s ease;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.logo:hover {
    background-position: 100% 50%;
    transition: background-position 0.4s ease;
}

.footer-img {
    border-radius: 0;
    height: 1.5rem;
}

.flex-grow {
    flex: 1 1 0;
}

img {
    border-radius: 1rem;
}

.animate {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.in-view {
    opacity: 1;
    transition: opacity 0.6s ease;
}

.subtitle {
    font-weight: 500;
    font-size: 1.4rem;
    margin: 0;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    scroll-margin-top: 10rem;
}

.hero-img {
    width: 55%;
}

.members {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 4rem;
    row-gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.member {
    width: 7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-photo {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

.camera {
  display: flex;
  gap: 10px; /* espace entre images */
}

.pdf-export{
    display: flex;
    gap: 10px; /* espace entre images */
    width: 50%;
}

.camera img {
  width: 20%; /* 5 images = 20% chacune */
  height: auto;
}