@font-face{
    font-family: "dreamOrphans";
    src: url(../font/dream\ orphans\ bd.ttf);
}

@font-face{
    font-family: "aileron";
    src: url(../font/Ailerons-Regular.ttf);
}

@font-face{
    font-family: "apollo";
    src: url(../font/APOLLO.ttf);
}

@font-face{
    font-family: "ceraProMedium";
    src: url(../font/CeraProMedium.otf);
}

@font-face{
    font-family: "ceraProLight";
    src: url(../font/CeraProLight.otf);
}

/* html{
    scroll-behavior: smooth;
} */

*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
}

h1, h2, h3{
    font-weight: normal;
}



/*---------------------------- COMMUNS ----------------------------*/
.titre-section{
    color: white;
    font-size: 2em;
    width: 100%;
    margin: 0;
    padding: 20px;
    padding-top: 70px;
    font-family: dreamOrphans;
    font-weight: normal;
}

a{
    text-decoration: none;
}

.btn{
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    width: 200px;
    background-color: white;
    justify-content: center;
    border: none;
    color: #001A24;
    font-family: ceraProLight;

    transition: all ease 300ms;
}

.btn:hover{
    background-color: transparent;
    border: solid 2px white;
    color: white;
    cursor: pointer;
}

.vertical-section{
    min-height: 100vh;
}



/*---------------------------- NAVIGATION ----------------------------*/
.nav-menu{
    background-color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.menu{
    padding: 0%;
    margin: 0%;
    display: flex;
    list-style: none;
    width: 50%;
    height: 60px;
    z-index: 99;
}

.menu li{
    display: block;
    flex-basis: 24%;
    text-align: center;
    height: inherit;
}

.button{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 5px 10px;
    color: #001A24;
    font-family: ceraProLight;
    height: inherit;
    box-sizing: border-box;
    transition: background-color 250ms ease-in-out;
    text-transform: uppercase;
}

.button:hover{
    background-color: #001A24;
    color: #CCB194;
}



/*---------------------------- ACCUEIL ----------------------------*/
#accueil{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    /* background-color: aqua; */
}

.texte-accueil{
    color: white;
    font-size: 2em;
    font-family: ceraProLight;
}

.texte-accueil h1{
    margin: 0;
    padding: 0;
    font-size: 2em;
    font-family: dreamOrphans;
}

.texte-accueil p{
    font-size: 0.7em;
}

.texte-accueil .btn{
    font-size: 0.5em;
    font-family: ceraProLight;
}

.coul-gauche{
    flex-basis: 50%;
    background-image: url(../img/fond-gauche-accueil.png);
    background-position: center;
    background-size: cover;
}

.coul-droite{
    padding: 50px;
    padding-top: 100px;
    flex-basis: 50%;
    background-image: url(../img/fond-droite-accueil.png);
}



/*---------------------------- SECTION MISE EN AVANT TRAVAUX ----------------------------*/
.sticky-container{
    background-color: #001A24;
    height: 100vh;
}

.sticky-container .titre-section{
    position: absolute;
    top: 20px;
    left: 20px;
}

.sticky-container section {
    overflow-x: hidden;
    display: flex;
    position: sticky;
    top: 60px;
}

.sticky-container h1 {
    margin: 0;
    padding: 0;
}

.real-element {
    min-width: 30vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    /* font-size: 4ch; */
    margin-left: 80px;
    margin-top: 100px;
}

.real-element a{
    display: block; 
    width: 25vw;
    height: 60vh;
    font-size: 1.5em;
}

.real-element h2, .real-element p{
    color: white;
    font-size: 0.9em;
    margin: 0;
    padding: 0;
    font-family: ceraProMedium;
}

.real-element p{
    font-size: 0.6em;
    font-family: ceraProLight;
}

.real-element div, .box-gallerie div{
    background-position: center;
    background-size: 100%;
    height: 85%;
    margin-bottom: 10px;
    transition: all ease 1800ms;
}

.real-element div:hover, .box-gallerie div:hover{
    background-size: 120%;
}

#btn-all-projects{
    position: absolute;
    bottom: 155px;
    left: 20px;
}

/*-------- IMAGES DES PROJETS : --------------*/
.fou-raide{
    background-image: url("../travaux/design/2022_fouraide/fouraide.png");
}

.human{
    background-image: url("../travaux/prog/ihuman.PNG");
}

.esprit-libre{
    background-image: url("../travaux/audio_viosel/esprit_libre.PNG");
}

.roka{
    background-image: url("../travaux/audio_viosel/roka.PNG");
}

.drago{
    background-image: url("../travaux/audio_viosel/drago.png");
}

.roller{
    background-image: url("../travaux/audio_viosel/road.png");
}

.fox{
    background-image: url("../travaux/audio_viosel/fox.PNG");
}

.pouce-vert{
    background-image: url("../travaux/design/2022_pouce_vert/poucevert.png");
}

.riviere-a-biere{
    background-image: url("../travaux/web/2021_riviereabiere/accueil.PNG");
}

.autrement{
    background-image: url("../travaux/design/2021_maquettes_autrement/Capture.PNG");
}

.jeunesse{
    background-image: url("../travaux/design/2021_jeunessemaritime/moodboard-efc.png");
}

.mythologie-animale{
    background-image: url("../travaux/web/2020_creaturesmythologiques/mytho.png");
}

.tony{
    background-image: url("../travaux/design/2020_logo_3dtony/3dtony.png");
}

.angel{
    background-image: url("../travaux/prog/2019_angel/ageofangel.png");
}

.johnny{
    background-image: url("../travaux/web/2019_johnny/johnny-detail2.PNG");
}

.fromagerie{
    background-image: url("../travaux/design/2019_maquettes_fromagerie/refonte-detail.png");
}

.chat{
    background-image: url("../travaux/design/2019_chatmazine/specialchat.png");
}

.north{
    background-image: url("../travaux/design/2020_maquettes_northaventure/north.png");
}

.barbatruck{
    background-image: url("../travaux/design/2021_barbatruck/recto1.png");
}

.artefact{
    background-image: url("../travaux/design/2021_artefact/artefact.png");
}

.strasbourg{
    background-image: url("../travaux/design/2021_noelstrasbourg/accueil.png");
}

.kleino{
    background-image: url("../travaux/web/2022_kleino/kleino.png");
}

.priape{
    background-image: url("../travaux/prog/2021_priape/priape.png");
}

.ski{
    background-image: url("../travaux/audio_viosel/esprit_libre.PNG");
}




/*---------------------------- SECTION A PROPOS ----------------------------*/
.presentation{
    width: 100%;
    display: flex;
    min-height: 100vh;
}

.panneau-droite-propos{
    flex-basis: 43%;
}

.panneau-gauche-propos{
    flex-basis: 57%;
    background-color: #003950;
    color: white;
}

.texte-a-propos{
    width: 100%;
    margin: 0 auto;
    padding: 50px;
    padding-top: 0;
}

.texte-a-propos a{
    margin-top: 50px;
}

#a-propos h2, h3{
    font-family: ceraProMedium;
}

#a-propos p{
    font-family: ceraProLight;
}




/* EXPERIENCE */
.bandeau-formations h1{
    color: black;
    margin: 0;
    padding: 20px;
    padding-top: 0;
}

.bandeau-formations{
    width: 100%;
    margin: 0 auto;
    margin-top: 50px;
}

.formations{
    display: flex;
    width: 80%;
    margin: 0 auto;
    margin-top: 30px;
    justify-content: space-around;
    margin-bottom: 150px;
}

.formations-bloc{
    flex-basis: 39%;
    border: solid 5px #003950;
    padding: 20px;
}


/* COMPETENCES */
.bandeau-competences{
    background-image: url("../img/fond-gauche-accueil.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.competences{
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: space-between;
    /* padding-bottom: 150px; */
}

.competences-bloc{
    background-color: pink;
    border-radius: 100px;
    width: 100px;
    height: 100px;
    padding: 20px;
    margin-left: 15px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}



/*---------------------------- SECTION CONTACT ----------------------------*/
#contact{
    padding: 20px;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
}

.contact-bloc{
    margin-top: 100px;
    flex-basis: 40%;
    text-align: center;
}

#contact h1{
    color: black;
    padding: 0;
    margin: 0;
    margin-bottom: 50px;
    font-family: dreamOrphans;
}

#contact h2{
    margin: 0;
    font-family: ceraProMedium;
}

#contact p{
    margin-top: 10px;
    margin-bottom: 50px;
    font-family: ceraProLight;
}

.coordonnees{
    flex-basis: 39%;
}


/* FORMULAIRE */
.champ{
    width: 100%;
    margin-bottom: 30px;
    border: solid 5px 003950;
}

#objet, #mail, #message{
    width: 100%;
    height: 45px;
    padding-left: 20px;
    border: solid 5px 003950;
    color: #003950;
}

#message{
    height: 200px;
    padding-top: 20px;
}

.btn-submit input{
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    width: 200px;
    justify-content: center;
    background-color: #001A24;
    border: none;
    color: #CCB194;

    transition: all ease 300ms;
}

.btn-submit input:hover{
    background-color: transparent;
    border: solid 2px #001A24;
    color: #001A24;
    cursor: pointer;
}



/*---------------------------- FOOTER ----------------------------*/
footer{
    background-color: #001A24;
    height: 200px;
    padding: 20px;
    color: white;
    margin-top: 50px;
}





/*---------------------------- PARTIE ADAPTATIVE ----------------------------*/
@media (max-width: 1070px) 
{
    .panneau-droite-propos{
        flex-basis: 15%;
    }

    .panneau-gauche-propos{
        flex-basis: 94%;
    }

    #contact{
        justify-content: space-around;
        width: 90%;
    }
    
    .contact-bloc{
        flex-basis: 50%;
    }


}



/*-------------------------- RESPONSIVE TABLETTE --------------------------*/
@media (max-width: 768px) 
{
    .titre-section{
        font-size: 2.5em;
        text-align: center;
    }



    /*----------- PARTIE ACCUEIL ------------*/
    .texte-accueil{
        font-size: 1.7em;
    }

    .texte-accueil h1{
        font-size: 2em;
    }

    .texte-accueil p{
        font-size: 0.9em;
    }

    .texte-accueil .btn{
        font-size: 0.7em;
    }

    .coul-droite{
        padding: 50px;
        padding-top: 150px;
        flex-basis: 60%;
        /* text-align: center; */
    }



    
    .panneau-droite-propos{
        display: none;
    }

    .panneau-gauche-propos{
        flex-basis: 100%;
    }

    .presentation{
        height: auto;
    }



    /*----------- PARTIE DES PROJETS ------------*/
    .sticky-container{
        height: auto;
    }

    .sticky-container .titre-section{
        position: relative;
        top: auto;
        left: auto;
    }

    .sticky-container h1 {
        margin-top: 50px;
    }

    .sticky-container section {
        overflow-x: visible;
        display: flex;
        flex-wrap: wrap;
        width: 90%;
        position: relative;
        justify-content: space-around;
        top: auto;
        height: auto;
        margin: 0 auto;
    }

    .real-element {
        flex-basis: 44%;
        height: auto;
        display: flex;
        justify-content: center;
        /* align-items: center; */
        /* font-size: 4ch; */
        margin-left: 0;
        margin-top: 100px;  
        min-height: auto;
    }
    
    .real-element a{
        display: block; 
        width: 100%;
        height: 450px;
    }

    #btn-all-projects{
        position: static;
        bottom: 30px;
        margin-top: 80px;
        margin-bottom: 50px;
        /* left: 0; */
    }




    #contact{
        flex-direction: column;
        height: auto;
    }
}






/*-------------------------- RESPONSIVE MOBILE --------------------------*/
@media (max-width: 576px) 
{
    .coul-gauche{
        display: none;
    }

    .coul-droite{
        flex-basis: 100%;
    }



    .formations{
        flex-direction: column;
    }

    .formations-bloc{
        flex-basis: 100%;
        margin-bottom: 50px;
    }



    /*----------- PARTIE DES PROJETS ------------*/
    .sticky-container{
        height: auto;
    }

    .sticky-container section {
        overflow-x: visible;
        display: flex;
        flex-wrap: wrap;
        width: 90%;
        position: relative;
        justify-content: center;
        top: auto;
        height: auto;
    }

    .real-element {
        flex-basis: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        /* align-items: center; */
        /* font-size: 4ch; */
        margin-top: 50px;
    }
    
    .real-element a{
        display: block; 
        width: 80%;
    }
    /* --------------------------------------- */
}







/*---------------------------- TEST SCROLL HORIZONTAL ----------------------------*/
/* .real-element{
    background-color: pink;
    width: 30vw;
    height: 50vh;
    display: flex;
    padding: 40px;
    justify-content: space-between;
    font-size: 2em;
}

.blockHorizontal{
    background-color: rgb(117, 9, 9);
    padding: 20px;
    display: flex;
    flex-direction: row;
    width: 800vw;
    transform: rotate(90deg) translateY(-75vh);
    transform-origin: top left;
}
::-webkit-scrollbar{
    display: none;
}

#container-travaux{
    width: 100vh;
    height: 100vw;
    background-color: brown;
    transform: rotate(-90deg) translateX(-100vh);
    transform-origin: top left;
    overflow-x: hidden;
} */