html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Marc Regular';
    src: url(Font/Marc-Regular.otf);
}
@font-face {
    font-family: 'Marc Light';
    src: url(Font/Marc-Light.otf);
}
@font-face {
    font-family: 'Manjari';
    src: url(Font/Manjari-Regular.ttf);
}
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
section {
    width: 100vw; /* S'assure que chaque section prend 100% de la largeur de la fenêtre */
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Inclut les paddings/marges dans la largeur totale */

 }
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color:#0B0541;
}

ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
}

h2 {
    font-family: 'Marc Light', sans-serif;
    text-transform: uppercase;
    text-align: center;
    padding-top: 30px;
    font-size: 2em;
}

section {
    width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header nav {
    background-color: #0B0541;
    position: fixed;
    width: 100%;
    max-width: 100vw; /* Limite la largeur maximum à 100vw */
    opacity: 0.95;
    z-index: 1000;
}

.menu__btn {
    border: none;
    z-index: 1000;
    position: fixed;
    background-color: transparent;
    font-family: sans-serif;
    padding:0;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: block;
    text-indent: 100%;
    overflow: hidden;
    white-space: nowrap;
    background-image: url(Images/iconmonstr-menu-lined.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80%;
}

.nav-list {
    display: none; 
    flex-direction: column;
    width: 100%; 
    background-color: #0B0541;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;

}

.nav-list.active {
    display: flex;
}

.nav-list li {
    margin: 10px 0;
    text-align: center;
    font-family: 'Marc Light';
}

.nav-list a {
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 18px 16px;
    color: white
}

#landingPage {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 100px 10px;
    background-color: #0B0541;
}

#landingPage .left-section {
    display: flex;
    flex-direction: column;
}

#landingPage h1 {
    color: white;
    font-family: 'Marc Light';
    font-size: 6rem;
    line-height: 1.3;
    text-align: center;
}

#landingPage h3 {
    color: white;
    font-family: 'Marc Light';
    font-weight: lighter;
    font-size: 2rem;
    text-align: center;
    padding-top: 25px;
    animation: zoomIn 1.2s ease-out forwards;
}

#profilePic {
    width: 50vw;
    height: auto;
    display: block;
    animation: zoomIn 1.2s ease-out forwards;
}

#logoPage {
    width: 60vw;
    padding: 0;
    margin: 0;
    animation: zoomIn 1.2s ease-out forwards;
}

canvas {
    display: block;
    padding: 0;
    margin: 0;
    z-index: 100;


}

#contentDoublage {
    background-color: #0B0541;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px;
    position: relative;
}

#contentDoublage h2 {
    color: white;
    font-family: 'Marc Light';
    font-weight: lighter;
    font-size: 2rem;
    text-align: center;
}

#animation {
    background-image: url(Images/SQ3_PL05\ \(1\).png);
    background-size: cover;
    width: 100%;
}

#contentAnimation {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px;
}

#contentAnimation h2 {
    color: white;
    font-family: 'Marc Light';
    font-weight: lighter;
    font-size: 2rem;
    text-align: center;
    padding-top: 25px;
}

#movieTitle {
    background-color: #491b08;
    padding: 20px;
    border-radius: 5px;
    z-index: 10;
}

#biboSit {
    position: absolute;
    bottom: 109px;
    right: 20vw;
    width: 70px;
    z-index: 10;
}

iframe {
    position: relative;
    width: 390px;
    height: 219px;
    z-index: 9;
    border: none;
}

#sonTresor {
    box-shadow: 0 0 50px 80px rgba(255, 195, 140, 0.315);
}

#imgTree, #imgTree2, #imgBuisson, #imgBuisson2 {
    width: 0%;
}

#contentIllustration {
    background-color: #0B0541;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contentIllustration h2 {
    color: white;
    font-family: 'Marc Light';
    font-weight: lighter;
    font-size: 2rem;
    text-align: center;
    padding-top: 25px;
}

#gallery {
    column-count: 1;
    column-gap: 10px;
    margin: 0 auto;
    padding: 25px;
}

#gallery img, #gallery video {
    width: 100%;
    height: auto;
    margin: 4% auto;
    box-shadow: -3px 5px 15px #000;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-img, .model-vid {
    width: 100%;
    height: auto;
}

.modal-body {
    padding: 0px;
}

#gallery img:hover {
    transform: scale(1.1);
}

#reseaux {
    background: linear-gradient(#0B0541, #020225);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2vw;
}

#reseaux h2 {
    color: white;
    font-family: 'Marc Light';
    font-weight: lighter;
    font-size: 2rem;
    text-align: center;
    padding-top: 25px;
}

.imgButton {
    width: 9vw;
    margin: 5vw;
    transition: transform 0.3s ease-in-out;
}

.imgButton:hover {
    transform: scale(1.1);
}

#endpage {
    padding-top: 8vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.imgArrow {
    width: 9vw;
    padding-bottom: 10vw;
}

#about {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 100px 10px;
    background-color: #0B0541;
}

#about .gauche-section {
    display: flex;
    flex-direction: column;
}

#about h1 {
    color: white;
    font-family: 'Marc Light';
    font-size: 6rem;
    line-height: 1.3;
    text-align: center;
}

#about h3 {
    color: white;
    font-family: 'Marc Light';
    font-weight: lighter;
    font-size: 2rem;
    text-align: center;
    padding-top: 25px;
    animation: zoomIn 1.2s ease-out forwards;
}

#about h4 {
    color: white;
    font-family: 'Manjari';
    font-weight: lighter;
    font-size: 1.2rem;
    text-align: center;
    padding-top: 2px;
    animation: zoomIn 1.2s ease-out forwards;
}

.logiciels {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; 
}

.logiciels img {
    width:10vw; /* Empêche les images de dépasser leur conteneur */
    height: 10vw;    
    margin: 10px;    
}

#profilePicabout {
    width: 50vw;
    height: auto;
    display: block;
    animation: zoomIn 1.2s ease-out forwards;
}




/* Page projets*/
@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.imgButton_projet {
    width: 75vw;
    margin: 5vw;
    transition: transform 0.3s ease-in-out;
    animation: zoomIn 1s ease-out;
    
}
.imgButton_projet:hover {
    transform: scale(1.1);
}
#projets{
    text-decoration: none;
    color: #00FFFF;
    font-family: 'Manjari';
    font-weight: lighter;
    font-size: 1.3rem;
    text-align: center;
    padding-top: 25px;

}

#projetsname{
    text-decoration: underline;
    color: #00FFFF;
    font-family: 'Manjari';
    font-weight: lighter;
    font-size: 1.3rem;
    text-align: center;
    padding-top: 25px;

}
#projetsnamewor{
    text-decoration: underline;
    color: #00FFFF;
    font-family: 'Manjari';
    font-weight: lighter;
    font-size: 1.3rem;
    text-align: center;
    padding-top: 25px;
    animation: zoomIn 1s ease-out;

}
#projets:hover {
    color: white;
    
}
#projetsname:hover {
    color: white;
    
}
#projetsnamewor:hover {
    color: white;
}
#bodyProjets{
    background-color:#0B0541;
}
#contentProjets {
    background-color: #0B0541;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1px;
    position: relative;
    box-sizing: border-box; /* Inclut les paddings/marges dans la largeur totale */
}

#contentProjets h2{
    color: white;
    font-size: 2rem;
    animation: zoomIn 1s ease-out;

}

/* wings of resolve */
#wingsofresolve_content{
    background-color: #0B0541;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px;
    position: relative;
    
}
#wingsofresolve_content h2{
    color: white;
    font-size: 2rem;
    animation: zoomIn 1s ease-out;

}
#wingsofresolve_content h3{
    color: white;
    font-family: 'Manjari';
    font-weight: lighter;
    font-size: 1.3rem;
    text-align: center;
    animation: zoomIn 1s ease-out;

}
#wingsofresolve_content h4{
    color: white;
    font-family: 'Manjari';
    font-weight: lighter;
    font-size: 1.3rem;
    text-align: center;
    animation: zoomIn 1s ease-out;

}

#wingsofresolve_gallery{
    width: 200%;
    animation: zoomIn 1.5s ease-out;

}
#wingsofresolve_gallery img{ 
    display: flex;
    width: 100%;
    height: auto;
    margin: 4% auto;
    box-shadow: -3px 5px 15px #000;
    cursor: none;
    transition: all 0.2s;
}
/* demoreel */
#demoreel_content{
    background-color: #0B0541;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px;
    position: relative;
    animation: zoomIn 1s ease-out;

}
#demoreel_content h2{
    color: white;
    font-size: 2rem
}
#demoreel_content h3{
    color: white;
    font-family: 'Manjari';
    font-weight: lighter;
    font-size: 1.3rem;
    text-align: center;
}
#demoreel_content h4{
    color: white;
    font-family: 'Manjari';
    font-weight: lighter;
    font-size: 1.3rem;
    text-align: center;
}
#bodyanim{
    background-color: #0B0541;
}
/* Media queries for larger screens */
@media (min-width: 600px) {
    section {
        width: 100vw;  
        margin: 0;
        padding: 0;
        box-sizing: border-box; 
    }
    iframe {
    position: relative;
    width: 448px;
    height: 252px;
    z-index: 9;
}

    #landingPage {
        flex-direction: row;
        justify-content: center;
        gap: 8rem;
    }
    

    #profilePic {
        width: 25vw;
    }

    #logoPage {
        width: 30vw;
    }

    #gallery {
        column-count: 2;
    }
    #wingsofresolve_gallery img{ 
        display: flex;
        width: 70%;
        height: auto;
        margin: 4% auto;
        box-shadow: -3px 5px 15px #000;
        cursor: none;
        transition: all 0.2s;
    }
    
    #wingsofresolve .bigimg{
        width:50%;
    }
}
@media (min-width: 768px) {
    

    section {
        width: 100vw; 
        margin: 0;
        padding: 0;
        box-sizing: border-box; 
    }
 
        .menu__btn {
            display: none;
        }
    
        .nav-list {
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
        }
    
        .nav-list li {
            float: left;
            font-size: 1.2em;
        }
            
    #gallery {
        column-count: 3;
        column-gap: 20px;
    }
 }

@media (min-width: 800px) {
    #biboSit {
        position: absolute;
        bottom: 105px;
        right: 28vw;
        width: 100px;
        z-index: 10;
    }
    section {
        width: 100vw; 
        margin: 0;
        padding: 0;
        box-sizing: border-box; 
    }
   
 }

@media (min-width: 1000px) {
    #profilePicabout {
        width: 20vw;
        height: auto;
        display: block;
        animation: zoomIn 1.2s ease-out forwards;
    }
   #biboSit {
    position: absolute;
    bottom: 105px;
    right: 20vw;
    width: 100px;
    z-index: 10;
}
    section {
        width: 100vw; 
        margin: 0;
        padding: 0;
        box-sizing: border-box; 
    }
    iframe {
        position: relative; 
        width:746px;
        height:420px;
        z-index: 9;
    }
    #wingsofresolve_gallery{
        width: 100%;
    }
    #wingsofresolve .bigimg{
        width:50%;
    }
    .imgButton {
        width: 5vw;
        margin: 5vw;
        transition: transform 0.3s ease-in-out;
       }
    .imgArrow {
        width: 5vw;
        padding-bottom: 10vw;
    }
    .logiciels img {
        width:5vw; /* Empêche les images de dépasser leur conteneur */
        height: 5vw;    
        margin: 10px;    
    }
    
}

@media (min-width: 1600px) {
    section {
        width: 100vw; 
        margin: 0;
        padding: 0;
        box-sizing: border-box; 
    }
    #imgTree, #imgTree2, #imgBuisson, #imgBuisson2 {
        transition: transform 0.5s ease-in-out; 
    }
    #imgTree{
        position: absolute;
        left: 49vw; 
        width: 67%; 
        top: 1900px}
    #imgTree2{
            position: absolute;
            right: 45vw; 
            width: 67%; 
            top: 1900px}
    
     #imgBuisson{
                position: absolute;
                right: 45vw; 
                width: 67%; 
                top: 2690px;
            }
    
    #imgBuisson2{
            position: absolute;
            left: 49vw; 
            width: 67%; 
            top: 2690px;
        }
            /* Déplacement des images */
    .move-right {
        transform: translateX(50px);
        transition: transform 0.5s ease-in-out;
    }
    
    .move-left {
        transform: translateX(-50px);
        transition: transform 0.5s ease-in-out;
    }

    #biboSit {
        position: absolute;
        bottom: 97px; 
        right: 28vw; 
        width: 150px; 
        z-index: 10; 
    }
    iframe {
        position: relative; 
        width:1120px;
        height:630px;
        z-index: 9;
    }
    #gallery {
        column-count: 4;
    }
    .imgButton {
        width: 5vw;
        margin: 5vw;
        transition: transform 0.3s ease-in-out;
       }
    .imgArrow {
        width: 5vw;
        padding-bottom: 10vw;
    }
    .imgButtonlog{
        width: 5vw;
    }

}
