/*
    COUCOU, si vous passez par ici vous êtes sans doute développeur,
    juste pour vous dire que ce site n'est pas en mobile first
*/

* {
    box-sizing: border-box;
    margin: 0;
}

strong {
    font-weight: bold;
}

body {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    background: #fffefa;
    overflow: hidden;
    padding: 10vh 6vw;
}

.section_accueil {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s;
}

.left_part, .right_part{
    display: flex;
    flex-direction: column;
    width: 50vw;
}

.left_part {
    flex: 0 1 500px;
    justify-content: center;
}

.right_part {
    flex: 0 1 500px;
    align-items: center;
    justify-content: center;
}

h1, h3 {
    font-size: 4em;
    font-family: "Bahnschrift Regular";
    font-weight: 800;
    margin-bottom: 6vh;
}

h1 {
    color: #267CFF;
}

h2 {
    font-size: 3em;
    font-family: "Bahnschrift Regular";
    color: #267CFF;
    font-weight: 100;
    margin-bottom: 6vh;
}

.nb_stats {
    font-size: 2em;
    font-family: "Bahnschrift Regular";
    color: #267CFF;
    margin-bottom: 10vh;
}

.nb_stats span {
    font-size: 1.5em;
    font-weight: bold;
}

h3 {
    color: white;
}

.menu_accueil {
    display: flex;
    flex-direction: column;
}

.menu_accueil li {
    position: relative;
    font-size: 1.5em;
    font-family: "Bahnschrift Regular";
    color: white;
    background-color: #267CFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    width: 20vw;
    min-width: 300px;
    min-height: 75px;
    margin-bottom: 2vh;
    cursor: pointer;
    padding: 5px 5px 5px 25px;
}

.menu_accueil li:hover .fleche_blanche {
    animation-name: arrow_moove;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.croix_menu_accueil {
    display: none;
}

@keyframes arrow_moove {
    0%{
        right: 25px;
    }
    50%{
        right: 15px;
    }
    100%{
        right: 25px;
    }
}

.menu_accueil a {
    width: 20vw;
    min-width: 300px;
    text-decoration: none;
}

.fleche_blanche {
    max-height: 20px;
    position: absolute;
    top: 27.5px;
    right: 25px;
}

.photo_profil { 
    border-radius: 50%;
    width: 300px;
    height: 300px;
    border: 0px solid #267CFF;
    align-self: center;
    margin-bottom: 2vh;
    transition: all 0.25s;
}

.photo_profil:hover {
    border: 20px solid #267CFF;
}

.bienvenue_accueil {
    font-size: 1.6em;
    font-family: "Bahnschrift Regular";
    color: #267CFF;
    margin-bottom: 2vh;
}

.text_accueil {
    width: 90%;
    font-size: 1.2em;
    font-family: "Calibri";
    color: #267CFF;
    margin-bottom: 2vh;
}

.mail_accueil {
    font-size: 1.4em;
    font-family: "Bahnschrift Regular";
    color: #267CFF;
    margin: 2vh 0; 
}

.socials_medias {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.socials_medias a {
    font-family: "Bahnschrift Regular";
    font-size: 1.2em;
    text-decoration: none;
    outline: none;
    display: flex;
    align-items: center;
    color: #267CFF;
    margin: 0 10px;
}

.socials_medias img {
    cursor: pointer;
    height: 32px;
    width: 32px;
    margin: 5px;
}

.cercle_transition {
    position: absolute;
    transition: all 1.5s ease-in-out;
    width: 50px;
    height: 50px;
    background-color: #267CFF;
    border-radius: 50%;
    transform: scale(0);
    z-index: 1;
}

.cercle_transition.opened {
    transform: scale(100)
}

/*----------------------------- CREATIONS ------------------------------*/

.section_creations {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    flex-direction: column;
    background-color: #267CFF;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    opacity: 0;
    transition: opacity 1s;
    padding: 10vh 6vw;
}

.visible {
    opacity: 1;
}

.croix {
    position: absolute;
    top: 4vh;
    right: 4vh;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.section_creations h3 {
    width: 100%;
}

.creations {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    min-height: 60vh;
}

.creation {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 200px;
    height: 200px;
    cursor: pointer;
    transition: all 0.5s;
    margin: 0 1vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.creation::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  opacity: 0;                      
  transition: opacity 0.3s ease;   
  pointer-events: none;
  z-index: 0;         
}

.creation:hover::after {
  opacity: 1;
}

.titre_creation{
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 1.6em;
    font-family: "Bahnschrift Regular";
    color: #267CFF;
    opacity: 0;
    width: 100%;
    text-align: center;
    padding: 5px;
    transition: all 1s; 
}

.creation:hover .titre_creation{
    top: 90px;
    opacity: 1;
  z-index: 1;         
}

.details_creation{
    display: none;
}

/*----------------------------- DETAILS -----------------------------*/

.section_details{
    position: absolute;
    display: none;
    top: 0px;
    left: 120vw;
    width: 100%;
    min-height: 100vh;
    background-color: white;
    transition: left 1s;
    z-index: 3;
    padding: 10vh 6vw;
    flex-flow: row wrap;
}

.div_text_details{
    width: 100%;
    margin-right: 5%;
}

.section_details h3{
    width: 100%;
    color: #267CFF;
}

.slider_details{
    position: relative;
    display: flex;
    flex: 1 1;
    overflow: hidden;
}

.slider_details img{
    position: absolute;
    object-fit: contain;
    width: 100%;
    left: 100%;
    transition: all 1s;
}

.slider_details .sliderSel{
    left: 0px;
}

.video_details{
    display: block;
    flex: 1 1;
}

.div_text_details{
    min-height: 70%;
    overflow-y: auto;
}

.div_text_details p{
    margin-bottom: 2%;
    font-size: 1.1em;
    font-family: "Calibri";
    color: #267CFF;
}

.comps_creation {
    margin-bottom: 2%;
    font-size: 1.2em;
    font-weight: bold;
    font-family: "Calibri";
    color: #267CFF;
    list-style-type: square;
    list-style: disc;
    padding-left: 1.5em;
}

.comps_creation li { 
    font-size: 0.9em;
    font-weight: 500;
}

.date_creation{
    font-style: italic;
}

.videos_creation {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.video_creation {
  width: 500px;
  margin: 1em;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}

/*----------------------------- CONTACT -----------------------------*/

.section_contact{
    position: absolute;
    display: none;
    top: -120vh;
    left: 0px;
    background-color: #55534A;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    padding: 10vh 6vw;
    transition: top 1s;
}

.section_contact h3{
    color: #FFE434;
}

#formEnvoi{
    display: flex;
    flex-flow: column nowrap;
}

#formEnvoi input, #formEnvoi textarea{
    margin-bottom: 2vh;
    padding: 5px 10px;
    outline: none;
    font-family: "Calibri";
    font-size: 1em;
    background-color: #21333B;
}

::placeholder { 
    color: whitesmoke;
    opacity: 1; 
}
  
:-ms-input-placeholder {
    color: whitesmoke; 
}

::-ms-input-placeholder {
    color: whitesmoke;
}

#mail {
    max-width: 300px;
    border-radius: 50px;
    border: 1px solid;
    border: 2px solid whitesmoke;
    color: whitesmoke;
}

#objet {
    max-width: 400px;
    border-radius: 50px;
    border: 2px solid whitesmoke;
    color: whitesmoke;
}

#message {
    border-radius: 10px;
    border: 2px solid whitesmoke;
    color: whitesmoke;
    resize: none;
    max-width: 600px;
    width: 90%;
}

#envoiForm {
    position: relative;
    font-size: 1.4em;
    font-family: "Bahnschrift Regular";
    color: #21333B;
    background-color: #FFE434;
    border-radius: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: none;
    width: fit-content;
    outline: none;
}

.notif{
    position: absolute;
    top: 0px;
    left: 40vw;
    width: 20vw;
    height: 100px;
    transition: all 1s;
    z-index: 100;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    padding: 10px;
}

.croixNotif {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.notif p {
    color: white;
    font-size: 1.1em;
    font-family: "Bahnschrift Regular";
}

/*------------------------ MOBILE --------------------------------*/

@media (max-width: 960px) {
    body {
        overflow: initial;
        overflow-x: hidden;
        height: auto;
        padding: 12vh 6vw;
    }

    .section_accueil {
        flex-wrap: wrap;
    }

    .left_part {
        text-align: center;
    }

    .left_part, .right_part {
        width: 100%;
    }

    h1, h3 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 2.3em;
    }

    .nb_videos {
        margin-bottom: 6vh;
    }

    .photo_profil {
        width: 250px;
        height: 250px;
        margin-bottom: 4vh;
    }

    .text_accueil{
        width: 100%;
    }

    .menu_accueil {
        display: none;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0px;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background-color: #FFE434;
        transition: all 1s;
    }

    .menu_burger {
        position: fixed;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        top: 10px;
        right: 10px;
        width: 60px;
        height: 60px;
        background-color: #21333B;
        border-radius: 50%;
        cursor: pointer;
    }

    .menu_burger div {
        background-color: white;
        width: 30px;
        height: 4px;
        margin: 3px 0px;
    }

    .croix_menu_accueil {
        display: block;
        position: absolute;
        top: 32px;
        right: 32px;
        width: 32px;
        height: 32px;
        cursor: pointer;
    }

    .menu_accueil li, .menu_accueil a {
        width: 80vw;
        max-width: 500px;
    }

    .creation {
        width: 150px;
        height: 150px;
    }

    #formEnvoi input, #formEnvoi textarea {
        max-width: 600px;
        width: 100%;
    }

    .section_details {
        flex-flow: column nowrap;
        height: auto;
    }

    .div_text_details {
        width: 100%;
        overflow-y: initial;
        min-height: 0px;
    }

    .videos_creation {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .video_creation {
        width: 100%;
        margin: 1em 0;
    }

    .notif {
        position: absolute;
        top: 0px;
        left: 15vw;
        width: 70vw;
        height: 100px;
    }
}