body {
    overflow-x: hidden;
    background-color: black;
    margin: 0;
    z-index: 1;
    color: white;
}

.warning {
    font-weight: bold;
    color: red;
    font-size: larger;
}

* {
    font-family: FjOne;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: FjOne;
    src: url("FjallaOne-Regular.ttf");
}


/*---Contenue---*/

#content {
    display: none;
}

#content.appear {
    display: block;
    animation: fadecontent 3s;
}

@keyframes fadecontent {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/*---Gestion Content---*/


/*---About Me---*/

#contentAboutMe {
    display: none;
}

#contentAboutMe.disapear {
    display: none;
}

#contentAboutMe.appear {
    display: block;
}

#introAboutMe {
    border: solid 5px blue;
    margin-top: 1%;
    margin-left: 15%;
    margin-right: 15%;
}

.intro {
    font-size: 2vw;
    padding: 5px;
    text-align: center;
}

.cv {
    font-size: 2vw;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    color: white;
    margin-left: 40%;
    transition: all 0.5s ease;
}

.cv:hover {
    color: black;
    background-color: white;
    transition: all 0.5s ease;
}


/*---Skills content---*/

#contentSkills {
    display: none;
}

#contentSkills.appear {
    display: block;
}

#contentSkills.disapear {
    display: none;
}


/*---Exp content---*/

#contentExp {
    display: none;
}

#contentExp.appear {
    display: block;
}

#contentExp.disapear {
    display: none;
}


/*---Formation content---*/

#contentEduc {
    display: none;
}

#contentEduc.appear {
    display: block;
}

#contentEduc.disapear {
    display: none;
}


/*---Hobbies content---*/

#contentHobbies {
    margin-top: 2%;
    display: none;
}

#contentHobbies.appear {
    display: block;
}

#contentHobbies.disapear {
    display: none;
}

h5 {
    color: black;
    font-size: 5vw;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgb(255, 255, 255);
}


/*---Contact content---*/

#contentContact {
    display: none;
}

#contentContact.appear {
    display: block;
}

#contentContact.disapear {
    display: none;
}

.formContact {
    position: absolute;
    top: 10%;
    left: 25%;
    width: 50%;
    padding: 10px;
}

.labelForm {
    color: white;
    font-weight: 500;
    font-size: 18px;
    padding: 3px;
}

.inputForm {
    color: white;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent;
    border: 2px solid #CC6666;
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    width: 100%;
    outline: 0;
}

textarea {
    color: white;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent;
    border: 2px solid #CC6666;
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    width: 100%;
    outline: 0;
    min-height: 15vw;
    max-height: 15vw;
}

.submit {
    width: 40%;
    height: 3vw;
    background-color: black;
    color: white;
    border-radius: 5px;
    border: solid 2px #CC6666;
    outline: 0;
    margin-left: 30%;
    transition: all 0.5s ease;
}

.submitAnime {
    transition: all 0.5s ease;
    border-radius: 50px;
}


/*---Le CSS des volets---*/

.boutonVolet {
    position: fixed;
    right: 50%;
    top: 75%;
    width: 200px;
    height: 100px;
    background-color: gray;
    cursor: pointer;
    border-radius: 20px;
    opacity: 0.8;
    transition: opacity 0.5s;
    transform: translate(50%, 0%);
    z-index: 10;
    transition: all 0.5s ease;
}

.boutonVolet:hover {
    opacity: 1;
    border: solid 2px white;
}

.boutonAnimation {
    background-color: aqua;
    transition: all 0.5s ease;
}

.textButtonVolet {
    color: white;
    -webkit-text-stroke: 1px;
    -webkit-text-stroke-color: rgb(0, 0, 0);
    font-size: 35px;
    font-weight: bold;
    text-align: center;
}

.disapear {
    display: none;
}

.h1_voletbis {
    -webkit-text-stroke: 2px;
    -webkit-text-stroke-color: rgb(0, 0, 0);
    font-size: 100px;
}


/* Volet gauche */

#voletGauche {
    position: fixed;
    top: 0;
    left: 0vw;
    width: 50vw;
    height: 100vh;
    background-color: #fff;
    color: #000;
    background-image: url(img/voletG.jpg);
    background-size: 100%;
    background-position: center;
    /* Centrage horizontal et vertical */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Transition CSS sur l'opacité */
    opacity: 1;
    transition: left 1s;
}

#voletGauche.ouvert {
    left: -50vw;
}

#voletGauche h1 {
    font-size: 10vh;
}


/* Volet Droit */

#voletDroit {
    position: fixed;
    top: 0;
    right: 0vw;
    width: 50vw;
    height: 100vh;
    background-color: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: right 1s;
    background-image: url(img/voletD.jpg);
    background-size: 100%;
    background-position: center;
}

#voletDroit.ouvert {
    right: -50vw;
}

#voletDroit h1 {
    font-size: 10vh;
}

#voletHaut {
    position: fixed;
    top: 0;
    right: 0vw;
    width: 100vw;
    height: 50vh;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: top 1s;
    z-index: -1;
    background-image: url(img/voletH.jpg);
    background-size: cover;
    background-position: bottom;
}

#voletHaut.ouvert {
    top: -50vh;
}

#voletBas {
    position: fixed;
    bottom: 0;
    right: 0vw;
    width: 100vw;
    height: 50vh;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: bottom 1s;
    z-index: -1;
    background-image: url(img/voletB.jpg);
    background-size: cover;
    background-position: top;
}

#voletBas.ouvert {
    bottom: -50vh;
}


/*---Text h1 des volets Gauche et Droit---*/

.h1_volet {
    color: black;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: rgb(255, 255, 255);
    font-size: 100px;
    position: absolute;
    top: 1%;
    transition: all 0.5s ease;
    text-decoration: none;
}

.h1_volet::after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 8%;
    left: 50%;
    position: absolute;
    background: black;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.h1_volet:hover::after {
    width: 100%;
    left: 0%;
}

@media(max-width: 1150px) {
    .h1_volet {
        font-size: 30px;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: rgb(255, 255, 255);
    }
    #voletDroit {
        background-size: cover;
    }
    #voletGauche {
        background-size: cover;
    }
}


/*---Image Volet Gauche Logo---*/

.imgLogoVolet {
    width: 25%;
    height: auto;
    border-radius: 100%;
    border: solid 3px black;
    transition: all 0.5s ease;
    /* animation: boing 2s; */
}

.imgLogoVolet:hover {
    width: 35%;
    transition: all 0.5s ease;
}

@keyframes boing {
    0% {
        width: 35%;
    }
    25% {
        width: 25%;
    }
    50% {
        width: 30%;
    }
    75% {
        width: 25%;
    }
    90% {
        width: 28%;
    }
    100% {
        width: 25%;
    }
}


/*---Menu Header Nav---*/

.menu {
    background-color: black;
}

.textMenu {
    text-decoration: none;
    text-align: center;
    line-height: 100%;
    color: white;
    transition: all 0.5s ease;
}

.divNav {
    padding-left: 3%;
    padding-right: 3%;
    padding-bottom: 12px;
    padding-top: 12px;
    display: inline-block;
    height: 100%;
    width: auto;
    border: solid 2px white;
    transition: all 0.5s ease;
}

.divNav:hover {
    background-color: white;
    cursor: pointer;
    transition: all 0.5s ease;
}

.divNav:hover>.textMenu {
    color: black;
    transition: all 0.5s ease;
}


/*---Skills---*/

.container {
    width: 30%;
    background-color: #ddd;
    border-radius: 25px;
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
    margin-left: 25%;
    border: solid 5px white;
}

.mySkills {
    margin-bottom: 5%;
}

.skills {
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    border-radius: 25px;
}

.html {
    width: 0%;
    background-color: #f06529;
}

.css {
    width: 0%;
    background-color: #2965f1;
}

.js {
    width: 0%;
    background-color: #f0db4f;
}

.php {
    width: 0%;
    background-color: #8993be;
}

.photoshop {
    width: 0%;
    background-color: #040c3c;
}

.afterhtml {
    width: 75%;
    background-color: #f06529;
    transition: all 0.5s ease;
}

.aftercss {
    width: 75%;
    background-color: #2965f1;
    transition: all 0.5s ease;
}

.afterjs {
    width: 45%;
    background-color: #f0db4f;
    transition: all 0.5s ease;
}

.afterphp {
    width: 55%;
    background-color: #8993be;
    transition: all 0.5s ease;
}

.afterphotoshop {
    width: 80%;
    background-color: #040c3c;
    transition: all 0.5s ease;
}

.skill_txt {
    margin-left: 25%;
    font-size: 25px;
    background-color: black;
    padding: 10px;
    width: max-content;
    transition: all 0.5s ease;
    margin-top: 1%;
}

.skill_txt:hover {
    padding-left: 25px;
    background-color: white;
    color: black;
    transition: all 0.5s ease;
}


/*---Skills barres---*/

.container {
    width: 90%;
    background-color: #ddd;
    border-radius: 25px;
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
    margin-left: 5%;
    border: solid 5px white;
}

.colom {
    display: inline-block;
    width: 100vh;
}

.mySkills {
    margin-bottom: 5%;
}

.skills {
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    border-radius: 25px;
}

.html {
    width: 0%;
    background-color: #f06529;
}

.css {
    width: 0%;
    background-color: #2965f1;
}

.js {
    width: 0%;
    background-color: #f0db4f;
}

.php {
    width: 0%;
    background-color: #8993be;
}

.photoshop {
    width: 0%;
    background-color: #040c3c;
}

.afterhtml {
    width: 75%;
    background-color: #f06529;
    transition: all 0.5s ease;
}

.aftercss {
    width: 75%;
    background-color: #2965f1;
    transition: all 0.5s ease;
}

.afterjs {
    width: 55%;
    background-color: #f0db4f;
    transition: all 0.5s ease;
}

.afterphp {
    width: 55%;
    background-color: #8993be;
    transition: all 0.5s ease;
}

.afterphotoshop {
    width: 80%;
    background-color: #040c3c;
    transition: all 0.5s ease;
}

.skill_txt {
    margin-left: 5%;
    font-size: 25px;
    background-color: black;
    color: white;
    padding: 10px;
    width: max-content;
    transition: all 0.5s ease;
    margin-top: 8%;
    border: solid 2px white;
}

.skill_txt:hover {
    padding-left: 25px;
    background-color: white;
    color: black;
    border: solid 2px black;
    transition: all 0.5s ease;
}


/*---Cards---*/

.DivCard {
    margin-top: 1%;
    margin-left: 3%;
    display: inline-block;
    height: 50vh;
}

.card-body {
    width: auto;
}

.card-text {
    color: black;
}

.card-title {
    color: black;
}

.card-title-exp {
    color: white;
}

.card-text-exp {
    color: white;
}


/*---404---*/

.error404 {
    border: solid 3px white;
    padding: 10%;
    margin: 10%;
    text-align: center;
}

.button404 {
    text-align: center;
    text-decoration: none;
    color: white;
    transition: all 0.5s ease;
}

.button404:hover {
    text-decoration: underline;
    transition: all 0.5s ease;
}