@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

*{
    margin: 0;
}

a{
    text-decoration: none;
    color: black;
    cursor: pointer;
}

#landing{
    top: 0;
    left: 0;
    overflow-y: hidden;
    overflow-x: hidden;
    position: absolute;
    z-index: 1000000;
    background-color: black;
}

#loading{
    top: 0;
    left: 0;
    width: 100vw;
    height: 1000vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    color: white;
    font-size: 30px;
    font-family: "Space Mono", monospace;
    position: absolute;
    z-index: 100000;
    opacity: 100;
    

}

.spinner {
    position: absolute;
    top: 700px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #000000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.loading-text1{
    position: absolute;
    top: 400px;
    left: 150px;
    width: 250px;
}

.loading-text2{
    position: absolute;
    top: 400px;
    right: 150px;
    width: 210px;
    text-align: right;
}



p{
    font-family: "Space Mono", monospace;
}

button{
    cursor: pointer;
}


.header{
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    justify-content: space-between;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.header--bg{
    width: 120vw;
    position: absolute;
    top: -100px;
    right: -70px;
    z-index: -1;
}

.header--nav{
    display: flex;
    justify-content: space-between;
    width: 100vw;
    padding: 30px;
    box-sizing: border-box;
    font-weight: 400;
}

.header--nav div{
    display: flex;
}
.header--nav a:nth-child(1){
    margin-right: 50px;
    color: white;
}

.header--nav a{
    color: white;
}

.header--button{
    display: flex;
    background-color: transparent;
    padding: 15px 40px;
    align-items: center;
    border: 1px solid white;
    color: white;
    margin-bottom: 30px;
    z-index: 10000;
}

.header--button img{
    height: 15px;
    margin-left: 10px;
    animation: fleche;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0, 0.47, 0.06, 1.04);
}

@keyframes fleche {
    20%{
        transform: translateX(0px);
    }

    50%{
        transform: translateX(4px);
    }

    80%{
        transform: translateX(0px);
    }
}

.header--savoir{
    position: relative;
    display: flex;
    align-items: center;
    transform: translateX(-12px);
}

.header--savoir p{
    margin-left: 10px;
    color: white;
}

.header--savoir .statique{
    position: relative;
}

.header--savoir .moving{
    position: absolute;
    left: 16px;
    top: 25px;
    animation: scroll;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0, 0.47, 0.06, 1.04);
}

.header-bas{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes scroll {
    20%{
        top:25px;
    }

    50%{
        top:28px;
    }

    80%{
        top: 25px;
    }
}





/* MAIN */

.landing-main{
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-exp{
    width: 1080px;
    display: flex;
    justify-content: space-between;
    margin-top: 200px;
    margin-bottom: 250px;
}

h1{
    color: #FF3408;
    font-size: 70px;
    text-align: right;
    line-height: 70px;
}

h2{
    color: white;
    font-size: 40px;
    text-align: left;
    line-height: 40px;
    text-transform: uppercase;
}

.section-exp--left{
    width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.section-exp--left-gif{
    position: absolute;
    width: 900px;
    top: -350px;
    left: -200px;
    z-index: -1;
}

.section-exp--right{
    color: white;
    width: 400px;
}

video{
    margin-bottom: 80px;
}







/* FOOTER */

footer{
    width: 100vw;
    margin-top: 100px;
    background-color: #FF3408;
    height: 150px;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    transform: translateY(25px);
    margin-bottom: 5000px;
}

.footer-right{
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: space-between;
    width: 250px;
    margin-right: 30px;
}

.footer-left{
    height: 200px;
    position: absolute;
    margin-left: 30px;
    left: 0;
    top: 20px;
}



/* CSS LENNIS */

html.lenis, html.lenis body {
    height: auto;
  }
  
  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }
  
  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }
  
  .lenis.lenis-stopped {
    overflow: hidden;
  }
  
  .lenis.lenis-smooth iframe {
    pointer-events: none;
  }