@import url('https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&family=Poppins&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
:root {
    --WhiteColor: #f5f5f5;
    --RedColor: hsla(358, 66%, 33%);
    --TableauBleuFonce: #0c44b3;
    --TableauBleuFonceBg: hsla(220, 87%, 37%, 0.2);
}
body {
    font-family: 'Lato', sans-serif;
    background-color: var(--WhiteColor);
}

/* Title */
.page-title {
    position: relative;
    width: 100vw;
    height: 3vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: var(--TableauBleuFonce);
}
h1 {
    font-size: 0.6rem;
    color: var(--WhiteColor);
    font-weight: 200;
    letter-spacing: 1px;
    padding: 0 5vw;
}
@media screen and (min-width: 769px) {
    h1 {
        font-size: 0.8rem;
        padding: 0 8vw;
    }
}

/* Header */
.header-section {
    position: relative;
    width: 100vw;
    height: 20vh;
    background-color: var(--WhiteColor);
    overflow: hidden;
}
.header-logo {
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    width: 25vw;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.logo_icon {
    width: auto;
    height: 80%;
}
.menu_navigation {
    position: absolute;
    top: 50%;
    right: 0;
    width: 75vw;
    height: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 15vw;
}
.menu_navbar {
    list-style: none;
    display: flex;
    flex-direction: row;
    text-align: center;
    gap: 2.5rem;
    padding: 2vh 6vw;
}
.menu_navbar a {
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    color: var(--TableauBleuFonce);
    font-weight: 500;
    transition: color 200ms ease;
}
.menu_navbar a:active {
    color: black;
}
.menu_navbar li a:hover {
    color: var(--RedColor);
}
.menu_navbar li:first-child {
    color: var(--WhiteColor);
}
.menu_navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    transform-origin: center;
    border-radius: 5px;
    background-color: var(--RedColor);
    transform: scale(1);
    transition: all 200ms ease;
}
.menu_navbar li a:hover::after{
    width: 1.5rem;
}
@media screen and (min-width: 769px) {
    .animation-eye-container {
        z-index: 50;
        position: absolute;
        top: 0;
        right: 0;
        width: 75vw;
        height: 60%;
    }
    .animation-eye {
        position: absolute;
        top: -10vh;
        left: 0;
        width: 4rem;
        height: auto;
        animation: animationEye 2500ms linear 500ms 1 forwards;
    }
    @keyframes animationEye {
        0% {
            transform: translateX(0) translateY(0) rotateX(0);
        }
        10% {
            transform: translateX(7vw) translateY(14vh) rotateZ(80deg);
        }
        20% {
            transform: translateX(12vw) translateY(7vh) rotateZ(160deg);
        }
        30% {
            transform: translateX(17vw) translateY(14vh) rotateZ(240deg);
        }
        40% {
            transform: translateX(22vw) translateY(7vh) rotateZ(320deg);
        }
        50% {
            transform: translateX(27vw) translateY(14vh) rotateZ(400deg);
        }
        60% {
            transform: translateX(32vw) translateY(7vh) rotateZ(480deg);
        }
        70% {
            transform: translateX(37vw) translateY(14vh) rotateZ(560deg);
        }
        80% {
            transform: translateX(42vw) translateY(7vh) rotateZ(640deg);
        }
        90% {
            transform: translateX(47vw) translateY(14vh) rotateZ(720deg);
        }
        100% {
            transform: translateX(57vw) translateY(-10vh) rotateZ(800deg);
        }
    }
    #img-eye {
        width: 4rem;
        height: auto;
    }
    .animate_1 {
        animation: animate1 200ms ease-in 800ms 1 forwards;
    }
    .animate_2 {
        animation: animate2 200ms ease-in 1200ms 1 forwards;
    }
    .animate_3 {
        animation: animate1 200ms ease-in 1700ms 1 forwards;
    }
    .animate_4 {
        animation: animate2 200ms ease-in 2200ms 1 forwards;
    }
    .animate_5 {
        animation: animate1 200ms ease-in 2800ms 1 forwards;
    }
    @keyframes animate1 {
        0% {
            transform: scale(1) rotateZ(0deg);
        }
        20% {
            transform: scale(1.1) rotateZ(-20deg);
        }
        80% {
            transform: scale(1.1) rotateZ(-20deg);
        }
        100% {
            transform: scale(1) rotateZ(0);
        }
    }
    @keyframes animate2 {
        0% {
            transform: scale(1) rotateZ(0deg);
        }
        20% {
            transform: scale(1.1) rotateZ(20deg);
        }
        80% {
            transform: scale(1.1) rotateZ(20deg);
        }
        100% {
            transform: scale(1) rotateZ(0);
        }
    }
}
.menu_icon_parent {
    position: absolute;
    top: 0;
    right: 0;
    width: 25vw;
    height: 20vh;
    display: none;
    justify-content: center;
    align-items: center;
}
.menu_icon {
    z-index: 100;
    width: 75px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bar {
    position: absolute;
    width: 35px;
    height: 4px;
    background-color: black;
    border-radius: 10px;
}
.bar::before,
.bar::after {
    content: "";
    position: absolute;
    width: 35px;
    height: 4px;
    background-color: black;
    border-radius: 10px;
    transition: transform 300ms ease;
}
.bar::before {
    top: -10px;
}
.bar::after {
    top: 10px;
}
@media screen and (max-width: 1201px) {
    .menu_navbar {
        font-size: 0.8rem;
        padding: 2vh 5vh;
        gap: 2rem;
    }
}
@media screen and (max-width: 1000px) {
    .menu_navigation {
        padding-right: 10vw;
    }
}
@media screen and (max-width: 890px) {
    .menu_navigation {
        padding-right: 5vw;
    }
}
@media screen and (max-width: 769px) {
    .header-logo {
        width: 40vw;
    }
    .animation-eye-container {
        display: none;
    }
    .menu_navigation {
        z-index: 100;
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background-color: whitesmoke;
        justify-content: flex-start;
        align-items: flex-start;
        padding-right: 0;
        padding-left: 3rem;
        padding-top: 12rem;
        gap: 2rem;
    }
    .menu_navigation.open {
        display: flex;
        position: fixed;
    }
    .bar.open::before {
        transform: rotateZ(45deg);
        top: 0;
    }
    .bar.open {
        background-color: transparent;
        position: fixed;
    }
    .bar.open::after {
        transform: rotateZ(-45deg);
        top: 0;
    }
    .menu_navbar {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 2vh 6vw;
        text-align: start;
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
        font-size: 1rem;
    }
    .menu_icon_parent {
        display: flex;
    }
}
@media screen and (max-width: 426px) {
    .logo {
        width: 50vw;
    }
    .menu_navigation {
        width: 100vw;
    }
    .menu_icon_parent {
        width: 45vw;
    }
}

/* Blury Effect */
.blury-effect-page {
    z-index: 10;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 1vh;
    background: rgba(241, 241, 241, 0.1);
    backdrop-filter: blur(3px);
}

/* Home */
main {
    position: relative;
    width: 100vw;
    height: auto;
}
.main-section {
    width: 100%;
    height: auto;
}
.home-section {
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.home-title {
    width: 100vw;
    height: auto;
    margin-top: 8vh;
    margin-bottom: 2vh;
    font-size: 9vw;
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media screen and (min-width: 769px) {
    .home-title {
        font-size: 6vw;
    }
}
.programme2024-download-container {
    width: 100vw;
    height: auto;
    padding-bottom: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.programme2024-download {
    width: 150px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    font-size: 0.8rem;
    background-color: var(--RedColor);
    transition: background-color 200ms ease;
}
.programme2024-download:hover {
    background-color: var(--TableauBleuFonce);
}
.programme2024-download a {
    color: var(--WhiteColor);
    text-decoration: none;
}
@media screen and (min-width: 426px) {
    .video-title {
        width: 80%;
    }
}
@media screen and (min-width: 769px) {
    .home-section {
        height: 50vh;
    }
    .video-title {
        width: 60%;
    }
}

/* Programme 2024 */
.programme-2024-section {
    top: 0;
    width: 100vw;
    height: auto;
}
.programme-2024-container {
    top: 0;
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px;
}
.programme-2024 {
    width: min(95%, 500px);
    height: auto;
}
.img-programme-2024 {
    width: 100%;
    height: auto;
}
@media screen and (min-width: 425px) {
    .programme-2024-section {
        height: 195vh;
    }
}
@media screen and (min-width: 769px) {
    .programme-2024-section {
        height: 100vh;
    }
}

/* SPONSOR */
.sponsor-container {
    width: 100vw;
    height: 70vh;
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sponsor-celeste {
    width: 100%;
    height: 20vh;
}
.sponsor-turquoise {
    width: 100%;
    height: 20vh;
}
.sponsor-marine {
    width: 100%;
    height: 20vh;
}
.sponsor-titre {
    width: 100%;
    height: 4vh;
    background-color: var(--TableauBleuFonce);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--WhiteColor);
}
.sponsor-logo {
    width: 100%;
    height: 100%;
    padding-top: 2vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3.5vw;
}
.img-sponsor-celeste {
    width: auto;
    height: 50%;
}
.img-sponsor-turquoise {
    width: auto;
    height: 45%;
}
.img-sponsor-marine {
    width: auto;
    height: 45%;
}
@media screen and (min-width: 769px) {
    .sponsor-celeste:nth-child(1) {
        width: 80vw;
    }
    .sponsor-turquoise {
        width: 70vw;
    }
    .sponsor-marine {
        width: 60vw;
    }
    .sponsor-titre {
        border-radius: 5px;
    }
}

/* PHOTOS 2024 */
.edition2024-photos-section {
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    background-image: url(../images/img_photo_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.edition2024-photo {
    width: min(85%, 500px);
    height: auto;
}
.edition2024-photo:nth-child(1), .edition2024-photo:nth-child(3) {
    padding-right: 10%;
}
.edition2024-photo:nth-child(2), .edition2024-photo:nth-child(4) {
    padding-left: 10%;
}
.img-edition2024 {
    width: 100%;
    height: 100%;
}
@media screen and (min-width: 425px) {
}
@media screen and (min-width: 769px) {
    .edition2024-photos-section {
        gap: 1rem;
    }
    .edition2024-photo:nth-child(1), .edition2024-photo:nth-child(3) {
        padding-right: 0;
        padding-top: 2rem;
    }

    .edition2024-photo:nth-child(2), .edition2024-photo:nth-child(4) {
        padding-left: 0;
    }
}

/* footer */
footer {
    position: relative;
    width: 100vw;
    height: 25vh;
    margin-top: 15vh;
    background-color: var(--RedColor);
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-documents a {
    color: var(--WhiteColor);
    font-size: 1.2rem;
    transition: color 200ms ease;
}
.footer-documents a:hover {
    color: var(--TableauBleuFonce);
}
.footer-credit {
    position: absolute;
    bottom: 0;
    right: 0;
}
.footer-credit a {
    text-decoration: none;
}
.footer-credit p {
    color: var(--WhiteColor);
    font-size: 1.5rem;
    padding: 1rem;
}