/* Polices d'écriture */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

body {
    padding: 0;
    margin: 0;
    background-color: #181818;
}

html {
    scroll-behavior: smooth;
}

/* Texts */

h1 {
    color: #FFF;
    font-family: Urbanist, Outfit, sans-serif;
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: 79.2px; /* 110% */
    letter-spacing: -1.44px;
    margin: 0;
}

h2 {
    color: #FFF;
    text-align: center;
    font-family: Urbanist, Outfit, sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 900;
    line-height: 72px; /* 150% */
    letter-spacing: -0.48px;
    text-transform: uppercase;
}

.body_second {
    color: #FFF;
    font-family: Outfit, Inter, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 36px; /* 150% */
}

h3{
    color: white;
}
.capitain_card {
    width: 500px;
    position: relative;
    z-index: -1;
}

.capitain_role {
    color: #FFF;
    text-align: left;
    font-family: Outfit, Urbanist, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    margin: 0;
    padding: 0;
}


/* Navigation */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
}

.navigation_container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 50px;
    color: rgba(255, 255, 255, 0.60);
    text-align: center;
    font-family: Outfit, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px; /* 150% */
}

.navigation_container a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.60);
}

.navigation_container a:hover {
    color: white;
    cursor: pointer;
}

.hamburger_icon {
    height: 50px;
    aspect-ratio: 1/1;
    border-radius: 1000px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    justify-content: center;
    align-items: center;
    display: none;
}

.hamburger_icon ion-icon {
    vertical-align: middle;
    color: white;
    height: 50%;
    width: 50%;
    aspect-ratio: 1/1;
}

.hamburger_icon:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
}

.side-menu {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-direction: column;
    gap: 75px;
    text-align: left;
    height: 100vh;
    width: 60vw;
    position: fixed;
    padding: 100px;
    top: 0;
    right: -100vw;
    font-size: 48px;
    color: white;
    font-family: Outfit, Urbanist, sans-serif;
    font-style: normal;
    font-weight: 400;
    transition: 0.15s ease-in;
    background-color: #383842;
    overflow: hidden;
    z-index: 5000;
}

.side-menu a {
    text-decoration: none;
    color: white;
}

.side-menu.active {
    right: 0;
}

.sidemenu_link {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    gap: 45px;
    width: 100%;
}

.sidemenu_link ion-icon {
    padding: 30px;
    font-size: 48px;
    color: rgba(137, 212, 255, 0.9);
    background-color: rgba(137, 212, 255, 0.15);
    border-radius: 25px;
}

/* Landing */

.landing_container {
    margin-top: 120px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.text_side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 100px;
    width: 50%;

    /*border: 1px solid pink;*/
}

.text_container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero_cta {
    display: flex;
    width: 85%;
    padding: 20px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px 20px;
    background: linear-gradient(94deg, #0065FF -0.01%, #1F262B 14.99%, #1F262B 84.99%, #FF5D00 99.99%);
    border: 0;
    color: #FFF;
    text-align: center;
    font-family: Outfit, Urbanist, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    text-decoration: none;
    
}

.hero img {
    height: 100%;
    aspect-ratio: 1/1;
}

.membres {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-content: center;
}

.name_part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    /*border: 1px red solid;*/
}

.icons {
    display: flex;
    flex-direction: row-reverse;
    justify-items: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    width: 50%;
    /*border: 1px pink solid;*/
}

section {
    margin-bottom: 450px;
}

.portal_section {
    background: linear-gradient(90deg, rgba(0, 162, 255, 0.25) 0%, rgba(122, 158, 133, 0.00) 50%, rgba(255, 154, 0, 0.25) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.80) 100%), #ffffff;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 100px;
    margin-top: 200px;
    position: relative;
}

.portal_section > * {
    margin: 0;
    padding: 0;
}

.portal_section p {
    z-index: 2;
}

.portal_section img {
    height: 100px;
    z-index: 2;
}

.slider-container::-webkit-scrollbar {
    height: 7px;
    margin-right: 100px;
    margin-left: 100px;
}

.slider-container::-webkit-scrollbar-track {
    background: none;
    border-radius: 10px;
    margin-right: 100px;
    margin-left: 100px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: #ffffffae;
    border-radius: 10px;
    margin-right: 100px;
    margin-left: 100px;
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: #fff;
    margin-right: 100px;
    margin-left: 100px;
    cursor: grab;
}

.slider-container{
    position: relative;
    width: 100%;
    overflow-x: auto;
}

.slider {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    margin: auto;
    padding: 20px 100px 20px 100px;
    position: relative;
    z-index: 1;
}

.slide {
    width: 500px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: 0.3s ease;
}


.slide:hover{
    scale: 1.05;
    z-index: 4;
}

/* CSS POUR LE FICHIER VIDEOS */

.videos_container {
    margin-top: 200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    flex: 1 1;
}

.videos_container div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.youtube{
    width: 80%;
    height: 40%;
}
.selecterForTeam {
    margin: auto;
    width: 30%;
    padding: 10px;
}
.myinput.large {
    height: 14px;
    width: 14px;
}

.myinput.large[type="checkbox"]:before {
    width: 14px;
    height: 14px;
}

.myinput.large[type="checkbox"]:after {
    top: -20px;
    width: 14px;
    height: 14px;
}


/* Partie blobs */

.blue_blob_1 {
    position: absolute;
    top: -150px;
    left: -150px;
    background-color: #00A2FF;
    height: 300px;
    width: 300px;
    border-radius: 50%;
    transform: scale(3);
    filter: blur(100px);
    z-index: -1;
}

.orange_blob_1 {
    position: absolute;
    top: 550px;
    bottom: 0;
    right: 0;
    background-color: #FF9A00;
    height: 300px;
    width: 300px;
    border-radius: 1000px 0 0 1000px;
    z-index: -5;
    filter: blur(150px);
}

.entry_blue_blob {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: #00A2FF;
    height: 100%;
    width: 200px;
    z-index: 3;
    filter: blur(80px);
    pointer-events: none;     
}


.entry_orange_blob {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #FF9A00;
    height: 100%;
    width: 200px;
    z-index: 3;
    filter: blur(80px);
    pointer-events: none;
}

.orange_sidemenu {
    position: absolute;
    bottom: 25vh;
    left: 0;
    background-color: #FF9A00;
    aspect-ratio: 1/1;
    width: 75%;
    z-index: -5;
    border-radius: 50%;
    filter: blur(300px);
    pointer-events: none;
}

.blue_sidemenu {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #00A2FF;
    aspect-ratio: 1/1;
    width: 75%;
    z-index: -5;
    border-radius: 50%;
    filter: blur(300px);
    pointer-events: none;
}


.orange_journal {
    position: absolute;
    top: -150px;
    right: 0;
    background-color: #FF9A00;
    height: 300px;
    width: 50%;
    border-radius: 1000px;
    z-index: -5;
    filter: blur(150px);
}

.blue_journal {
    position: absolute;
    top: -150px;
    left: 0;
    background-color: #00A2FF;
    height: 300px;
    width: 50%;
    border-radius: 1000px;
    z-index: -5;
    filter: blur(150px);
}

.video_blue_blob {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #00A2FF;
    height: 300px;
    width: 50%;
    border-radius: 1000px;
    z-index: -5;
    filter: blur(200px);
}

.video_orange_blob {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #FF9A00;
    height: 300px;
    width: 50%;
    border-radius: 1000px;
    z-index: -5;
    filter: blur(200px);
}

/* Page équipe */
.teampage_container {
    margin-top: 50px;
}

.filters {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-content: center;
}

.filters button {
    width: 300px;
    display: inline-flex;
    padding: 15px 25px;
    justify-content: center;
    align-items: center;
    gap: 25px;
    border-radius: 10px;
    border: 1px solid #C0C0C0;
    background: none;
    color: #FFF;
    font-family: Outfit, Urbanist, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 23.579px; /* 150% */
    margin: 0;
    transition: background-color 0.25s ease;
}


.filters button.active {
    background-color: #1F262B;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team_members {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 items per row */
    gap: 10px;
    margin-top: 25px;
    margin-bottom: 250px;
    /*border: 1px blue solid;*/
}

.member_card {
    background-color: #1F262B;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.member_roles {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 170px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.member_roles img {
    height: 50px;
    aspect-ratio: 1/1;
}

.member_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.member_last {
    color: rgba(255, 255, 255, 0.50);
    text-align: center;
    font-family: Urbanist, Outfit, sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.member_first {
    color: #FFF;
    text-align: center;
    font-family: Urbanist, Outfit, sans-serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    margin: 0;
    padding: 0;
}

button img {
    height: 25px;
    aspect-ratio: 1/1;
}
.picture {
    height: 100%;
    border-radius: 5px;
}

/* Partie compétition */
.crc_container {
    margin-top: 150px;
}

.crc_container h1 {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
}

.crc_container section {
    margin-bottom: 200px;
}

spline-viewer {
    box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.2);
}

h3 {
    color: #FFF;
    font-family: Urbanist, Outfit, sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 20px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.orange_blob_2 {
    position: absolute;
    top: 300px;
    left: -150px;
    background-color: #FF9A00;
    height: 300px;
    width: 300px;
    border-radius: 50%;
    transform: scale(3);
    filter: blur(300px);
    z-index: -1;
}

.two_columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.two_columns > * {
    flex: 1; 
    max-width: 50%; 
}

.three_columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap:  wrap;
    gap: 20px;
}
.three_columns > * {
    flex: 1;
    max-width: 33%;
    padding-right: -200px;
}

.crc_container img {
    width: 100%;
}

.image_ascenseur {
    width: auto;
    height: 700px;
}

.back_up {
    display: flex;
    width: 100%;
    padding-block: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px 20px;
    background: linear-gradient(94deg, #0065FF -0.01%, #1F262B 14.99%, #1F262B 84.99%, #FF5D00 99.99%);
    border: 0;
    color: #FFF;
    text-align: center;
    font-family: Outfit, Urbanist, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    text-decoration: none;
    
    margin-bottom: 100px;
}

/* Animations */
.navigation_container a {
    transition: color 0.3s ease;
}

.navigation_container a:hover {
    color: white;
}

.loading {
    position: fixed;
    animation-timing-function: linear;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000000;
    background: #121212;
    transform: translateY(0%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading img {
    width: 18%;
    height: auto;
    border-radius: 50px;
    animation: rotateShadow 2s infinite linear;
}

/* Hamburger Menu Animation */
.side-menu {
    transition: right 0.3s ease;
}

/* Button Hover Effect */
.hero_cta {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero_cta:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

/* Journal page */

.journal_container {
    margin-top: 150px;
}

.journal_container h1 {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
}

.month_entry {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: fit-content;
    gap: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px;
    background-color: #1F262B;
    border-radius: 10px;
    margin-bottom: 50px;
}

.month_entry h3 {
    margin-top: 0;
}

.month_entry p {
    margin: 30px;
}

.pictures_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    width: fit-content;
    gap: 20px;
}

.image_entry {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 900px;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 10px;
    width: 100%;
    background-color: #455560;
    padding: 0;
    max-width: calc(50% - 20px);
    box-sizing: border-box;
}

.image_width {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: fit-content;
    background-color: #455560;
    border-radius: 10px;
}

.three_columns_images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.image_square {
    flex: 1 1 calc(33.33% - 20px); 
    width: calc((100% - 20px) / 3);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

.image_width img {
    width: auto;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 10px 10px;
    margin: 0;
    padding: 0;
}

.image_entry img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0 0 10px 10px;
    margin: 0;
    padding: 0;
    min-width: 200px; /* Set a minimum width */
    min-height: 200px; /* Set a minimum height */
}

/* PARTIE RESPONSIVE */
.container {
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    /*border: red 1px solid;*/
}

/* 2xl */
@media (max-width: 1536px) {
    .container {
        max-width: 1280px;
    }
}

/* xl */
@media (max-width: 1280px) {
    .container {
        max-width: 1024px;
    }

    .landing_container {
        flex-direction: column;
        align-items: center;
    }

    .landing_container img {
        margin-top: 150px;
        width: 100%;
    }
    
    .text_side {
        width: 100%;
        max-width: 90%;
    }

    h1 {
        font-size: 96px;
        font-style: normal;
        font-weight: 700;
        line-height: 100px; /* 110% */
        letter-spacing: -1.44px;
        margin: 0;
    }
    
    h2 {
        font-size: 48px;
    }
    
    h3 {
        font-size: 38px;
    }

    .body_second {
        color: #FFF;
        font-family: Outfit, Inter, sans-serif;
        font-size: 28px;
        font-style: normal;
        font-weight: 200;
        line-height: 38.4px; /* 150% */
        letter-spacing: 0.5px;
    }


    .videos_container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9; 
        display: block;
    }

    .videos_container div {
        width: 100%;
    }

    .videos_container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9; /* Assure un bon ratio pour les vidéos YouTube */
        display: block;
    }

    .videos_container div {
        width: 100%;
    }
    
    .orange_blob_1 {
        top: 1600px;
        width: 400px;
        height: 400px;
        filter: blur(180px);
    }
    
    .filters {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 items per row */
        gap: 10px;
    }
    
    .filters button {
        width: 100%;
        padding: 15px 25px;
        gap: 25px;
        font-size: 18px;
        margin: 0;
    }
    
    button img {
        height: 25px;

    }

    .two_columns, .three_columns {
        flex-direction: column;
    }

    .two_columns > * {
        max-width: 100%;
        flex-wrap: wrap;
    }
    .three_columns > * {
        max-width: 100%; 
    }
    
    .member_last {
        font-size: 24px;
    }
    .hamburger_icon {
        display: flex;
        height: 75px;
    }
    .navigation_container {
        display: none;
    }
    .logo {
        height: 75px;
    }
    .sidemenu_link {
        font-size: 40px;
    }
    
    .sidemenu_link ion-icon {
        font-size: 40px;
    }
    
    .side-menu {
        gap: 3%;
        width: 50vw;
    }
    .filters button:hover {
        cursor: pointer;
        background-color: rgba(255, 255, 255, 0.5);
    }

    .filters button.active:hover {
        cursor: pointer;
        background-color: rgba(255, 255, 255, 0.5);
    }
}

/* lg */
@media (max-width: 1024px) {
    .container {
        max-width: 768px;
    }

    .landing_container {
        flex-direction: column;
        align-items: center;
    }

    .text_side {
        width: 100%;
        max-width: 90%;
    }
    
    .hamburger_icon {
        display: flex;
        height: 100px;
    }

    .navigation_container {
        display: none;
    }

    .logo {
        height: 100px;
    }
    
    .hero_cta {
        font-size: 32px;
    }
    
    .icons {
        flex-direction: row;
        align-items: flex-end;
        width: 50%;
    }
    
    .name_part {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .body_second {
        font-size: 38px;
        line-height: 45px;
    }

    .name_part p { text-align: left; }
    
    .icons img {
        width: 50px;
        aspect-ratio: 1/1;
    }
    
    .team_members {
        grid-template-columns: repeat(1, 1fr); /* 3 items per row */
    }
    
    .member_last {
        font-size: 34px;
    }
    .member_first {
        font-size: 38px;
    }

    .filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 3 items per row */
        gap: 10px;
    }

    .filters button {
        padding: 30px 25px;
        font-size: 30px;
        font-weight: 500;
    }
    
    .loading img {
        scale: 1.5;
    }
    .image_ascenseur {
        width: 100%;
        height: initial;
    }
    .blue_blob_1 {
        filter: blur(100px);
    }
    
    .pictures_container {
        flex-direction: column;
    }
    
    .image_entry {
        max-width: 100%;
    }
    .image_entry, .image_width img {
        width: 100%;
    }
    
    .image_width {
        flex-direction: column;
        height: fit-content;
    }
}

/* md */
@media (max-width: 768px) {
    .container {
        max-width: 640px;
    }
}

/* sm */
@media (max-width: 640px) {
    .container {
        max-width: 475px;
    }
    
    h2 {
        font-size: 55px;
    }
    
    h3 {
        font-size: 45px;
    }
}

/* xs */
@media (max-width: 475px) {
    .container {
        width: 100%;
    }

    .orange_blob_1 {
        top: 1600px;
        width: 400px;
        height: 400px;
        filter: blur(180px);
    }
}

/*Keyframes*/

@keyframes rotateShadow {
    0% {
        box-shadow: -25px 0 80px 0 #000, 25px 0 100px 0 #000, 0 -25px 80px 0 #00A2FF, 0 25px 80px 0 #FF9A00;
    }
    25% {
        box-shadow: 0 25px 80px 0 #000, 0 -25px 100px 0 #000, 25px 0 80px 0 #00A2FF, -25px 0 80px 0 #FF9A00;
    }
    50% {
        box-shadow: 25px 0 80px 0 #000, -25px 0 100px 0 #000, 0 25px 80px 0 #00A2FF, 0 -25px 80px 0 #FF9A00;
    }
    75% {
        box-shadow: 0 -25px 80px 0 #000, 0 25px 100px 0 #000, -25px 0 80px 0 #00A2FF, 25px 0 80px 0 #FF9A00;
    }
    100% {
        box-shadow: -25px 0 80px 0 #000, 25px 0 100px 0 #000, 0 -25px 80px 0 #00A2FF, 0 25px 80px 0 #FF9A00;
    }
}

@keyframes ExitUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes SlideUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}