* {
    box-sizing: border-box;
}



body {
    background-color: rgb(255, 250, 240);
    /* background: linear-gradient(#05051E, rgb(35, 69, 136)); */
    margin: 0;
    background-repeat: no-repeat;
    background-size: cover;
    color: #111;
    font-family: "Poppins", serif;
    font-weight: 100;
    font-style: normal;
    height: 100vh;
    width: 100vw;
    /* S'assurer que le body occupe toute la hauteur de la page */
    display: flex;
    flex-direction: column;
    overflow-x: hidden;

}



:root {
    scroll-behavior: smooth;
}

.messagedefilant {
    transition: transform 0.5s ease, opacity 0.5s ease;
    /* Animation fluide */
}

/* .changeTheme:not(img) {
    filter: invert(100%) !important;
    background-color: #111;
    transition: 1s;
} */

header a {

    text-decoration: none;
    color: #111;
    font-size: 1.1rem;
    transition: 0.5s;
    font-family: "arbotek", sans-serif;
    font-style: normal;
    font-weight: 400;

}




header {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10rem;
    position: fixed;
    background-color: rgb(255, 250, 240);
    z-index: 5;
    width: 100vw;
    transition: 1s;
}

header a {
    text-decoration: none;
    color: #111;
    font-size: 1.1rem;
    transition: 0.3s;
    font-family: "arbotek", sans-serif;
    font-weight: 400;
}

header a:hover {
    color: #333;
    font-size: 1.2rem;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgb(255, 250, 240);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    list-style: none;
    top: 100%;
    left: 0;
    min-width: 150px;
}

.dropdown-menu li {
    padding: 0.5rem;
}

.dropdown-menu a {
    color: #111;
    font-size: 1rem;
    display: block;
    padding: 0.5rem;
    text-align: left;
}

.dropdown-menu a:hover {
    color: rgb(170, 120, 27);
}

#adresse {
    color: rgb(170, 120, 27);
}

@media (max-width: 1200px) {

    /* Tablettes et écrans moyens */
    header {
        gap: 3rem;
    }

}

@media (max-width: 900px) {
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        background-color: rgb(255, 250, 240);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 0;
        list-style: none;
        top: 100%;
        left: -150%;

    }

    .dropdown-menu li {
        padding: 0.1rem;
    }

    .dropdown-menu a {
        color: #111;
        font-size: 2vw;
        display: block;
        padding: 0.5rem;
        text-align: left;
    }

    header a:hover {
        color: #333;
        font-size: 2.6vw;
    }
}


@media (max-width: 500px) {

    /* Mobiles */
    header a {
        gap: 0rem;
        font-size: 0.6rem;
    }
}





main h2 {
    margin: 20rem;
}


.cercle {
    background: radial-gradient(circle at center, rgb(245, 222, 179) 0%, rgba(245, 222, 179, 0) 70%);
    width: 40vw;
    height: 40vw;
    border-radius: 100rem;
    margin: 0;
    position: fixed;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 1;


    transition: width 2s, height 2s, background-color 2s;
}



.cercle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100rem;
    background: radial-gradient(circle at center, rgb(235, 151, 87) 0%, rgba(245, 222, 179, 0) 70%);
    opacity: 0;
    transition: opacity 2s;
    z-index: -1;
}

.cercle:hover {
    width: 35vw;
    height: 35vw;
    z-index: 1;
}

.cercle:hover::before {
    opacity: 1;
}


/* Responsiveness avec media queries */
@media (max-width: 768px) {

    /* Tablettes et écrans moyens */
    .suite {
        font-size: 0.9rem;
        /* Réduit légèrement la taille du texte */
        padding: 0.4rem 0.8rem;
        /* Ajuste les marges internes */
        max-width: 70px;
    }
}

@media (max-width: 480px) {

    /* Mobiles */
    .suite {
        font-size: 0.8rem;
        /* Réduit davantage pour les petits écrans */
        padding: 0.3rem 0.6rem;
        /* Ajuste encore les marges internes */
        max-width: 60px;
    }
}



.accueil {
    height: 80vh;
    width: 100vw;
}


/* Texte défilant */
/* .messagedefilant {
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    position: fixed;
    width: 100%;
    max-width: 2000px;
    height: 600px;
    z-index: 2;
    pointer-events: none;
    padding-top: 10rem;
} */

.messagedefilant {
    display: block;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    position: fixed;
    width: 100%;
    max-width: 4000px;
    height: 40vw;
    z-index: 2;
    pointer-events: none;
    margin: 23vh 0;
}

.messagedefilant div {
    position: absolute;
    min-width: 100%;
    /* au minimum la largeur du conteneur */
}

.messagedefilant div span,
.messagedefilant div:after {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    white-space: nowrap;
    top: 0;
}

.messagedefilant div span {
    animation: defilement 40s ease-in-out infinite;
    font-family: "arbotek", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #111;
    font-size: 20vw;
    text-align: center;
}

@keyframes defilement {
    0% {
        margin-left: -1%;
        opacity: 0;

    }

    5% {
        margin-left: 0;
        opacity: 1;
    }

    98% {
        margin-left: -75%;
        opacity: 1;
    }

    100% {
        margin-left: -70%;
        opacity: 0;
    }
}

.motion {
    position: fixed;
    z-index: 10;
    font-size: 2vw;
    text-align: center;
    margin: 85vh auto;
    width: 100vw;
    font-family: "arbotek", sans-serif;
}

.motion h4 {
    margin: 0 auto;
    font-weight: 400;
}

.test {
    height: 10vh;
}

#savoir {
    z-index: 3;
    width: 100vw;
    height: 100vh;
}

#savoir h2 {
    font-family: "arbotek", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 10vw;
    color: #111;
    text-align: center;
}

@media (max-width: 768px) {

    /* Tablettes et écrans moyens */
    #savoir h2 {
        font-size: 1.6rem;
        text-wrap: nowrap;
        margin: 10vh auto;

    }
}

.changement {
    font-size: 10vw !important;
    text-align: start !important;
    margin: 0 0;
    padding-left: 15vw;
    padding-right: 15vw;
    font-weight: 500;
    transition: 2s;
}

#savoirTexte {
    color: #111;
    max-width: 70vw;
    padding-left: 15vw;
    padding-right: 15vw;
    font-size: 1.5vw;
    opacity: 0;
    transition: 1s;
    font-family: "arbotek", sans-serif;
    font-style: normal;
    font-weight: 400;
}

#savoirTexte a {
    text-decoration: none;
    font-weight: 400;
    color: rgb(170, 120, 27);
    transition: 0.7s;

}

#savoirTexte a:hover {
    font-size: 1.6vw;
}

.changementTexte {
    opacity: 1 !important;
    transition: 1s;
}

#creations {
    margin: 0 auto;
    font-size: 10vw;
    font-family: "arbotek", sans-serif;
    font-style: normal;
    font-weight: 200;
    padding-left: 15vw;
    padding-right: 15vw;

}

.imagesFixes {
    background-attachment: fixed;

}

.image {
    overflow: hidden;
    max-width: 90vw;
    height: 100vh;
    z-index: 2;
    margin: 0 auto;
    position: relative;
    z-index: 8;
    transition: 1s;


}

.image:hover {
    overflow: hidden;
    max-width: 100vw;
    height: 100vh;
    z-index: 2;
    margin: 0 auto;
    position: relative;
    z-index: 8;
    transition: 0.5s;
    box-shadow: 0px 0px 3px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;

}

.image img {
    width: 100%;
    height: 200%;
    /* Légèrement plus grand que le conteneur pour permettre le défilement */
    object-fit: cover;
    transition: transform 0.7s ease-out;
    /* Animation de défilement */
    will-change: transform;
    /* Optimisation pour les animations */
    z-index: 8;
    transition: 2s;
}

.image img:hover {
    width: 100%;
    height: 200%;
    /* Légèrement plus grand que le conteneur pour permettre le défilement */
    object-fit: cover;
    transition: transform 0.7s ease-out;
    /* Animation de défilement */
    will-change: transform;
    /* Optimisation pour les animations */
    filter: blur(0px);
    z-index: 8;
    transition: 2s;
}

.titre {
    z-index: 6;
    font-size: 15vw;
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    font-style: normal;
    font-weight: 800;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    z-index: 8;
    user-select: none;
    transition: 1s;
}

.titre:hover {
    color: wheat;
}

.headerTransition {
    background: linear-gradient(180deg, rgba(255, 250, 240, 0) 25%, rgba(245, 222, 179, 0) 100%);
    transition: 2s;
}



#test2 {
    padding: 5vh 0;
}

footer p {
    color: #111;
    font-family: "arbotek", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 2vw;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: #111;
}

#contacts h2 {
    font-family: "arbotek", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 1vw;
    text-align: center;


}

#contacts {
    max-width: 100vw;
}


.linkedindefilant {
    display: block;
    align-items: center;
    padding: 0;
    overflow: hidden;
    position: absolute;
    width: 100%;
    max-width: 2000px;
    height: 12vw;
    z-index: 2;
    pointer-events: none;
}

.linkedindefilant div {
    position: absolute;
    min-width: 100%;
    /* au minimum la largeur du conteneur */
    margin: 2.7vw 0;
    height: 12vw;
}

.linkedindefilant div span,
.linkedinfilant div:after {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    white-space: nowrap;
    top: 0;
}

.linkedindefilant div span {
    animation: defilementlinkedin 200s ease-out infinite;
    font-family: "arbotek", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #111;
    font-size: 5vw;
    text-align: center;
}

@keyframes defilementlinkedin {
    0% {
        margin-left: -1%;
        opacity: 0;

    }

    0% {
        margin-left: 0;
        opacity: 1;
    }

    90% {
        margin-left: -75%;
        opacity: 1;
    }

    100% {
        margin-left: -70%;
        opacity: 0;
    }
}








model-viewer::part(default-progress-bar) {
    display: none;
}






























.objet {
    width: 30%;
    max-width: 600px;
    height: 400px;
    display: block;
    margin: -50vh 60vw 0 60vw;
    overflow-x: hidden;
}


@media (max-width: 1400px) {
    .objet {
        width: 20%;
        max-width: 600px;
        height: 400px;
        display: block;
        margin: -50vh 60vw 0 70vw;
        overflow-x: hidden;

    }
}




@media (max-width: 900px) {
    body {
        background-color: rgb(255, 250, 240);
        /* background: linear-gradient(#05051E, rgb(35, 69, 136)); */
        margin: 0;
        background-repeat: no-repeat;
        background-size: cover;
        color: #111;
        font-family: "Poppins", serif;
        font-weight: 100;
        font-style: normal;
        height: 100vh;
        width: 100vw;
        /* S'assurer que le body occupe toute la hauteur de la page */
        display: flex;
        flex-direction: column;
        overflow-x: hidden;

    }



    :root {
        scroll-behavior: smooth;
    }

    .messagedefilant {
        transition: transform 0.5s ease, opacity 0.5s ease;
        /* Animation fluide */
    }

    /* .changeTheme:not(img) {
        filter: invert(100%) !important;
        background-color: #111;
        transition: 1s;
    } */


    main h2 {
        margin: 20rem;
    }


    .cercle {
        background: radial-gradient(circle at center, rgb(245, 222, 179) 0%, rgba(245, 222, 179, 0) 70%);
        width: 40vw;
        height: 40vw;
        border-radius: 100rem;
        margin: 0;
        position: fixed;

        top: 50%;

        left: 50%;

        transform: translate(-50%, -50%);

        z-index: 1;


        transition: width 2s, height 2s, background-color 2s;
    }



    .cercle::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 100rem;
        background: radial-gradient(circle at center, rgb(235, 151, 87) 0%, rgba(245, 222, 179, 0) 70%);
        opacity: 0;
        transition: opacity 2s;
        z-index: -1;
    }

    .cercle:hover {
        width: 45vw;
        height: 45vw;
        z-index: 1;
    }

    .cercle:hover::before {
        opacity: 1;
    }


    /* Responsiveness avec media queries */
    @media (max-width: 768px) {

        /* Tablettes et écrans moyens */
        .suite {
            font-size: 0.9rem;
            /* Réduit légèrement la taille du texte */
            padding: 0.4rem 0.8rem;
            /* Ajuste les marges internes */
            max-width: 70px;
        }
    }

    @media (max-width: 480px) {

        /* Mobiles */
        .suite {
            font-size: 0.8rem;
            /* Réduit davantage pour les petits écrans */
            padding: 0.3rem 0.6rem;
            /* Ajuste encore les marges internes */
            max-width: 60px;
        }
    }



    .accueil {
        height: 80vh;
        width: 100vw;
    }


    /* Texte défilant */
    /* .messagedefilant {
        display: flex;
        align-items: center;
        padding: 0;
        overflow: hidden;
        position: fixed;
        width: 100%;
        max-width: 2000px;
        height: 600px;
        z-index: 2;
        pointer-events: none;
        padding-top: 10rem;
    } */

    .messagedefilant {
        display: block;
        align-items: center;
        padding: 0;
        overflow: hidden;
        position: fixed;
        width: 100%;
        max-width: 4000px;
        height: 40vw;
        z-index: 2;
        pointer-events: none;
        margin: 18vh 0;
    }

    .messagedefilant div {
        position: absolute;
        min-width: 100%;
        /* au minimum la largeur du conteneur */
    }

    .messagedefilant div span,
    .messagedefilant div:after {
        position: relative;
        display: inline-block;
        font-size: 2rem;
        white-space: nowrap;
        top: 0;
    }

    .messagedefilant div span {
        animation: defilement 40s ease-in-out infinite;
        font-family: "arbotek", sans-serif;
        font-weight: 300;
        font-style: normal;
        color: #111;
        font-size: 20vw;
        text-align: center;
    }

    @keyframes defilement {
        0% {
            margin-left: -1%;
            opacity: 0;

        }

        5% {
            margin-left: 0;
            opacity: 1;
        }

        98% {
            margin-left: -75%;
            opacity: 1;
        }

        100% {
            margin-left: -70%;
            opacity: 0;
        }
    }

    .motion {
        position: absolute;
        z-index: 10;
        font-size: 6vw;
        text-align: center;
        margin: 75vh auto;
        width: 100vw;
    }

    .motion h4 {
        margin: 0 auto;
    }

    .test {
        height: 10vh;
    }

    #savoir {
        z-index: 3;
        width: 100vw;
        height: 100vh;
    }

    #savoir h2 {
        font-family: "arbotek", sans-serif;
        font-style: normal;
        font-weight: 200;
        font-size: 10vw;
        color: #111;
        text-align: center;

    }

    @media (max-width: 768px) {

        /* Tablettes et écrans moyens */
        #savoir h2 {
            font-size: 1.6rem;

            text-align: center;


        }
    }

    .changement {
        font-size: 13vw !important;
        text-align: center !important;
        margin: 0 auto;
        font-weight: 500;
        transition: 2s;
    }

    #savoirTexte {
        margin: 0 auto;
        color: #111;
        padding-left: 0vw;
        padding-right: 0vw;
        font-size: 4vw;
        opacity: 0;
        transition: 1s;
        font-family: "arbotek", sans-serif;
        font-style: normal;
        font-weight: 400;
        text-align: center;
        text-align: justify;
    }

    #savoirTexte a {
        text-decoration: none;
        font-weight: 400;
        color: rgb(170, 120, 27);
        transition: 0.7s;

    }

    #savoirTexte a:hover {
        font-size: 1.6vw;
    }

    .changementTexte {
        opacity: 1 !important;
        transition: 1s;
    }

    .objet {
        width: 50%;
        max-width: 600px;
        height: 400px;
        display: block;
        margin: 10vw auto;
        overflow-x: hidden;

    }

    #creations {
        font-size: 13vw !important;
        text-align: center !important;
        margin: 0 auto;
        font-weight: 400;
        transition: 2s;

    }

    .imagesFixes {
        background-attachment: fixed;
        margin-top: 90vw;

    }

    .image {
        overflow: hidden;
        max-width: 100vw;
        height: 100vh;
        z-index: 2;
        position: relative;
        z-index: 8;

    }

    .image img {
        width: 100%;
        height: 200%;
        /* Légèrement plus grand que le conteneur pour permettre le défilement */
        object-fit: cover;
        transition: transform 0.7s ease-out;
        /* Animation de défilement */
        will-change: transform;
        /* Optimisation pour les animations */
        z-index: 8;
    }

    .titre {
        z-index: 6;
        font-size: 15vw;
        color: #ffffff;
        font-family: "Kanit", sans-serif;
        font-style: normal;
        font-weight: 800;
        position: absolute;
        bottom: 0;
        left: 0;
        margin: 0;
        padding: 20px;
        box-sizing: border-box;
        z-index: 8;
        user-select: none;
        transition: 2s;
    }

    .titre:hover {
        color: wheat;
        opacity: 0;
    }

    .headerTransition {
        background: linear-gradient(180deg, rgba(255, 250, 240, 0) 25%, rgba(245, 222, 179, 0) 100%);
        transition: 1s;
    }



    #test2 {
        padding: 5vh 0;
    }

    footer p {
        color: #111;
        font-family: "arbotek", sans-serif;
        font-style: normal;
        font-weight: 200;
        font-size: 2vw;
        text-align: center;
    }

    footer a {
        text-decoration: none;
        color: #111;
    }

    #contacts h2 {
        font-family: "arbotek", sans-serif;
        font-style: normal;
        font-weight: 200;
        font-size: 1vw;
        text-align: center;


    }

    #contacts {
        max-width: 100vw;
    }


    .linkedindefilant {
        display: block;
        align-items: center;
        padding: 0;
        overflow: hidden;
        position: absolute;
        width: 100%;
        max-width: 2000px;
        height: 12vw;
        z-index: 2;
        pointer-events: none;
    }

    .linkedindefilant div {
        position: absolute;
        min-width: 100%;
        /* au minimum la largeur du conteneur */
        margin: 2.7vw 0;
        height: 12vw;
    }


    .linkedindefilant div span,
    .linkedinfilant div:after {
        position: relative;
        display: inline-block;
        font-size: 2rem;
        white-space: nowrap;
        top: 0;
    }

    .linkedindefilant div span {
        animation: defilementlinkedin 200s ease-out infinite;
        font-family: "arbotek", sans-serif;
        font-weight: 300;
        font-style: normal;
        color: #111;
        font-size: 5vw;
        text-align: center;
    }

    @keyframes defilementlinkedin {
        0% {
            margin-left: -1%;
            opacity: 0;

        }

        0% {
            margin-left: 0;
            opacity: 1;
        }

        90% {
            margin-left: -75%;
            opacity: 1;
        }

        100% {
            margin-left: -70%;
            opacity: 0;
        }
    }
}