.background-hero-wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
    background: none;
}
.layer1, .layer2, .layer3 {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* clouds positionnement */
.layer1-cloud1-wrapper {
    bottom: -60%;
    left: -10%;
    z-index: 30;
}
.layer1-cloud2-wrapper {
    top: -20%;
    right: -42%;
    z-index: 30;
}

.layer2-cloud1-wrapper {
    top: 0%;
    left: 0%;
    z-index: 20;
}
.layer2-cloud2-wrapper {
    top: -26%;
    right: 25%;
    z-index: 20;
}
.layer2-cloud3-wrapper {
    bottom: 3%;
    right: 0%;
    z-index: 20;
}

.layer3-cloud1-wrapper {
    top: 20%;
    right: 33%;
    z-index: 10;
}

.background-hero-wrapper video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Mettre la vidéo en arrière-plan */
}

.hero-container {
    max-width: 1400px;
    margin: auto;
    text-align: center;
    z-index: 15;
}

.layer1-cloud1-wrapper, .layer1-cloud2-wrapper,
.layer2-cloud1-wrapper, .layer2-cloud2-wrapper, .layer2-cloud3-wrapper, .layer3-cloud1-wrapper {
    /* désactiver le clic */
    pointer-events: none;
}












.title-container{
    margin-bottom: 3rem;
}
.parallaxe-title{
    font-size: 6rem!important;
    font-weight: 800;
    letter-spacing: -5px;
    font-family: 'Syne', sans-serif;
    line-height: 1
}
.subtitle{
    font-size: 2.55rem;
    font-weight: 700;
    letter-spacing: 0px;
    font-family: 'Syne', sans-serif;
    line-height: 1;
    color: #e4e4e4;
}
.parallax-text{
    font-size: 1.3rem!important;
    line-height: 1.8;
}


.aboutme {
    padding-top: 14rem;
    padding-bottom: 14rem; /* -2 pour compenser les 3deg de skew */
    background-color: #1F2122;
    position: relative;
    z-index: 5;
}
/*
.aboutme::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: inherit;
    z-index: -1;
    bottom: 0;
    transform-origin: left bottom;
    transform: skewY(3deg);
}*/
/*
.text-inclinaison {
    transform: skewY(3deg);
}
.text-perspective {
    transform: perspective(800px) rotateY(10deg);
}
*/

.about {
    padding-top: 14rem; /* +2 pour compenser les 3deg de skew */
    padding-bottom: 14rem; /* -2 pour compenser les 3deg de skew */
    background-color: #1F2122;
    position: relative;
    z-index: 2;
}
/*
.about::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: inherit;
    z-index: -1;
    bottom: 0;
    transform-origin: right bottom;
    transform: skewY(-3deg);
}*/

.experience-title {
    font-size: 2rem;
}
.mt--5px {
    margin-top: -5px;
}

.logo-website {
    margin: auto;
    width: 300px;
    height: auto;
}
.logo-website:hover {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

.project-section{
    margin: 0;
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.project-section h2{
    margin-bottom: 6rem;
}
.first_project_section{
    padding-top: 14rem!important; /* +2 pour compenser les 3deg de skew */
}
.left-text-container{
    /* centrer le texte verticalement */
    margin-top: auto;
    margin-bottom: auto;
    text-align: start;
    padding-left: 1.5rem;
}
.col-left-logo{
    padding-right: 1.5rem;
    text-align: right;
}


.right-text-container{
    margin-top: auto;
    margin-bottom: auto;
    text-align: end;
    padding-right: 1.5rem;
}
.col-right-logo{
    text-align: left;
    padding-left: 1.5rem;
}

.logo{
    width: 400px;
    height: auto;
    border-radius: 60px;
    /* placer l'image au centre verticalement */
}
.logo:hover{
    transition: all 0.3s ease-in-out;
    transform: scale(1.03);
    /* box-shadow: 0 5px 10px rgba(255, 255, 255, 0.8); */
}
.last-project-section{
    padding-top: 12rem!important;
    padding-bottom: 12rem!important;
}



@media screen and (max-width: 1440px){
    .hero-container {
        max-width: 1200px;
    }
    h3 br{
        display: none;
    }

    /* clouds positionnement */
    .layer1-cloud1-wrapper {
        bottom: -65%;
        left: -15%;
    }
    .layer1-cloud2-wrapper {
        top: -30%;
        right: -52%;
    }

    .layer2-cloud1-wrapper {
        top: -10%;
        left: -10%;
    }
    .layer2-cloud3-wrapper {
        bottom: -7%;
        right: -7%;
    }
}
@media screen and (max-width: 1200px) {
    /* clouds positionnement */
    .layer1-cloud1-wrapper {
        bottom: -70%;
        left: -20%;
    }
    .layer1-cloud2-wrapper {
        top: -40%;
        right: -62%;
    }

    .layer2-cloud1-wrapper {
        top: -20%;
        left: -20%;
    }
    .layer2-cloud3-wrapper {
        bottom: -15%;
        right: -15%;
    }
}
@media screen and (max-width: 992px){
    /* clouds positionnement */
    .layer1-cloud1-wrapper {
        bottom: -75%;
        left: -50%;
    }
    .parallaxe-title{
        font-size: 4rem!important;
    }
    .subtitle{
        font-size: 2rem;
    }
    .parallax-text{
        font-size: 1rem!important;
    }
    
    .about{
        position: unset;
    }
    .about-text-container{
        text-align: start!important;
    }
    .left-text-container{
        text-align: center!important;
        margin-top: 2.5rem;
        padding-left: 0.75rem;
    }
    .right-text-container{
        text-align: center!important;
        margin-top: 2.5rem;
        padding-right: 0.75rem;

    }
    .col-left-logo{
        padding-right: 0.75rem;
        text-align: center;
    }
    .col-right-logo{
        padding-left: 0.75rem;
        text-align: center;
    }
    .order-last{
        order: -1!important;
    }
    .about-illustration-container{
        margin-bottom: 2.5rem;
    }
}

@media screen and (max-width: 768px){
    article#index{
        margin-top: 7%;
    }
    .background-hero-wrapper {
        display: flex;
    }

    /* clouds positionnement */
    .layer1-cloud1-wrapper {
        bottom: -70%;
        left: -70%;
    }
    .layer1-cloud2-wrapper {
        top: -45%;
        right: -82%;
    }

    .layer2-cloud1-wrapper {
        top: -20%;
        left: -50%;
    }
    .layer2-cloud2-wrapper {
    top: -20%;
    right: 5%;
}
    .layer2-cloud3-wrapper {
        bottom: -10%;
        right: -30%;
    }
    
    .hero-container {
        text-align: center;
        padding-top: 0;
        margin: auto;
    }

    .title-container, .parallax-text {
        padding: 0 8%;
    }
    .parallaxe-title {
        font-size:  3rem!important;
        margin-top: 0;
    }
    .parallax-text br{
        display: none;
    }
    .hero-text {
        font-size: 1.2rem;
    }
    .hero-text br{
        display: none;
    }
    .aboutme{
        padding-top: 9rem;
        padding-bottom: 9rem;
    }
    .about{
        padding-top: 9rem;
        padding-bottom: 9rem;
    }
    .about-illustration-container{
        margin-bottom: 1.5rem;
    }
    .logo-website {
        width: 200px;
    }
    .about-title{
        font-size: 2rem!important;
    }
    .logo{
        width: 300px;
        height: auto;
    }
    h2.mb-5{
        margin-bottom: 1.5rem!important;
    }
    a.mt-5{
        margin-top: 1rem!important;
    }
}
@media screen and (max-width: 576px){
    

    .background-hero-wrapper video {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    
    .parallaxe-title {
        font-size:  2rem!important;
        letter-spacing: -2px;
    }
    .subtitle{
        font-size: 1.3rem;
    }
    .parallax-text{
        font-size: 1rem!important;
    }
    article#index{
        margin-top: 10%;
    }
}
@media screen and (max-width: 425px) {
    article#index{
        margin-top: 13%;
    }

    /* clouds positionnement */
    .layer1-cloud1-wrapper {
        bottom: -100%;
        left: -130%;
    }
    .layer1-cloud2-wrapper {
        top: -62%;
        right: -180%;
    }

    .layer2-cloud1-wrapper {
        top: -30%;
        left: -90%;
    }
    .layer2-cloud2-wrapper {
        top: 60%;
        right: 0%;
    }
    .layer2-cloud3-wrapper {
        bottom: -30%;
        right: -80%;
    }

    .layer3-cloud1-wrapper {
        top: 30%;
        right: 25%;
    }
    
}







/* Animation for clouds */

@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-50px); }
  100% { transform: translateY(0); }
}

.float-animation {
  animation: floatUpDown 8s ease-in-out infinite;
}

.layer1-cloud1 {
    animation-delay: 0s;
    animation-duration: 6s;
}
.layer1-cloud2 {
    animation-delay: 2s;
    animation-duration: 10s;
}
.layer2-cloud1 {
    animation-delay: 1s;
    animation-duration: 15s;
}
.layer2-cloud2 {
    animation-delay: 3s;
    animation-duration: 12s;
}
.layer2-cloud3 {
    animation-delay: 0.5s;
    animation-duration: 20s;
}
.layer3-cloud1 {
    animation-delay: 2.5s;
    animation-duration: 25s;
}