/*  Pour reset les marges*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Pour rendre tous les liens scrollables*/
html {
    scroll-behavior: unset;
}

/* VARIABLES CSS pour changer les couleurs et la police de tout le site */
:root {
    /* COULEURS */
    --color-primary: rgb(27, 22, 36);
    --color-secondary: white;
    --color-third: #A5B4FC;

    /* POLICES */
    --police-primary: Verdana, Geneva, Tahoma, sans-serif;
}

#wrapper {
    width: -webkit-fill-available;
    /* width: 100%; */
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: var(--police-primary);
    background: var(--color-secondary);
    position: fixed;
    /* Pour faire apparaitre la barre de navigation du haut vers le bas */
    animation: moveDown 0.6s ease-in-out 0.2s backwards;
    /* top: -150px; */
    transition: top 0.3s;
    /* bottom: 150px; */

}

/* METTRE UNE VIDEO EN ARRIERE PLAN DE LA PAGE D'ACCUEIL */

#background-video {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    opacity: 70%;
}



@keyframes moveDown {
    0% {
        transform: translateY(-40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

main {
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: var(--police-primary);
}

body {
    display: flex;
    flex-direction: column;
}

/*HEADER///////////////////////////////////////////////////////////////////////////////////////////////*/

header {
    background: var(--color-secondary);
    height: 60px;
    align-items: center;
    display: flex;
    justify-content: space-around;
}

.head {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.name {
    display: flex;
    align-items: center;
    justify-content: center;
}

.size {
    width: 50%;
}


/* NAVIGATION ////////////////////////////////////////////////////////////////////*/

a {
    color: black;
    text-decoration: none;
    padding: 10px;
    font-weight: lighter;
}

a:hover {
    opacity: 50%;
    transition: ease-in-out 0.5s;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 60px;
}

.menu {
    font-size: 1.2em;
    font-weight: bold;
}

.meal {
    border-radius: 10px;
    display: none;
}

h1 {
    font-size: 1.5em;
    color: black;
    padding-top: 20px;
    padding-bottom: 40px;
    font-weight: bold;
}

figcaption {

    color: var(--color-secondary);
    font-weight: lighter;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 60px;
}

/* ACCUEIL ////////////////////////////////////////////////////////////////*/

.accueil {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 180px;
    padding-bottom: 40px;
    background: var(--color-secondary);
    font-family: var(--police-primary);
    color: black;
    position: static;
}

.illustration {
    width: 100%;
    padding-bottom: 20px;
}

.accueil figure {
    width: 25%;
}

/* EFFET PARALLAX */
/*  Pour mettre une image fixe en arrière plan*/

.getStart {
    background-image: url("images/relookInBenEtVal.jpg");
    filter: grayscale(50%);
    background-attachment: fixed;
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}

.getStart h2 {
    padding-top: 170px;
    padding-bottom: 170px;
}

/* OUTILS///////////////////////////////////////////////////////////////////// */

.outils {
    background: white;
    color: black;
    font-weight: bold;
    margin-bottom: 40px;
}

.outils p {
    padding: 20px;
}

.sizeM {
    width: 70%;
}

/*////////////////////////////////////CSS CAROUSEL////*/

/* Animation Scroller les caroussels automatiquement*/

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 4));
    }
}

.container6 {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: left;
    scroll-snap-type: x mandatory;
    flex-direction: row;
    /* padding-top: 40px; */
}


.container6 img {
    position: sticky;
    width: 40%;
    object-fit: cover;
    flex-shrink: 0;
    scroll-snap-align: start;

    /*Pour scroller auto*/
    animation: scroll 30s linear infinite;
}

/* PROJETS///////////////////////////////////////////////////////////////////// */

.container5 {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: left;
    scroll-snap-type: x mandatory;
    flex-direction: row;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.container5 img {
    position: sticky;
    width: 20%;
    object-fit: cover;
    flex-shrink: 0;
    scroll-snap-align: start;
}

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

.videoRenoJ5 {
    width: 40%;
}

.projet {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background: var(--color-secondary);
    font-family: var(--police-primary);
    color: black;
    position: static;
}

.projet3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    font-family: var(--police-primary);
    color: black;
    position: static;
}

.outils3 {
    background: white;
    color: black;
    font-weight: bold;
    margin-bottom: 0px;
}



/* PORTFOLIO///////////////////////////////////////////////////////////////////// */


.wrapperPortfolio {
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: var(--police-primary);
    background: var(--color-secondary);
    animation: moveDown 0.6s ease-in-out 0.2s backwards;
}

.accueilPortfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background: black;
}

.accueilPortfolio h1 {
    padding: 10px;
    color: white;
}

.portfolio-section-photos {
    background-color: var(--color-secondary);
}

.portfolio-section-photos h2 {
    color: black;
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
}

.blocProjet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.photo {
    width: 50%;
    filter: grayscale(0%);
    /* border: 1px solid black; */
    box-shadow: 5px 10px 10px rgb(0, 0, 0);
}

/*  Pour créer un effet d'assombrissement avec informations sur les photos*/

.lien-conteneur-photo {
    position: relative;
}

.photo-hover {
    position: absolute;
    top: 10px;
    bottom: 13px;
    right: 0px;
    left: 340px;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: small;
    color: white;
    background: black;
    opacity: 90%;
    display: none;
    transition: .5s ease-in-out;
    width: 50%;
    text-align: justify;
}

.photo-hoverImg {
    position: absolute;
    top: 10px;
    bottom: 13px;
    right: 0px;
    left: 340px;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: small;
    color: white;
    font-weight: bold;
    background: url("images/reno1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 90%;
    display: none;
    transition: .5s ease-in-out;
    width: 50%;
    text-align: justify;
}

.photo-hoverImg1 {
    position: absolute;
    top: 10px;
    bottom: 13px;
    right: 0px;
    left: 340px;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: small;
    color: white;
    font-weight: bold;
    background: url("images/reno2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 90%;
    display: none;
    transition: .5s ease-in-out;
    width: 50%;
    text-align: justify;
}

.photo-hoverImg2 {
    position: absolute;
    top: 10px;
    bottom: 13px;
    right: 0px;
    left: 340px;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: small;
    color: white;
    font-weight: bold;
    background: url("images/reno3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 90%;
    display: none;
    transition: .5s ease-in-out;
    width: 50%;
    text-align: justify;
}

.photo-hoverImg3 {
    position: absolute;
    top: 10px;
    bottom: 13px;
    right: 0px;
    left: 340px;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: small;
    color: white;
    font-weight: bold;
    background: url("images/autostar2IntApres.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 90%;
    display: none;
    transition: .5s ease-in-out;
    width: 50%;
    text-align: justify;
}

.photo-hoverImg4 {
    position: absolute;
    top: 10px;
    bottom: 13px;
    right: 0px;
    left: 340px;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: small;
    color: white;
    font-weight: bold;
    background: url("images/reno.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 90%;
    display: none;
    transition: .5s ease-in-out;
    width: 50%;
    text-align: justify;
}

.photo-hoverImg5 {
    position: absolute;
    top: 10px;
    bottom: 13px;
    right: 0px;
    left: 340px;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: small;
    color: white;
    font-weight: bold;
    background: url("images/reno4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 90%;
    display: none;
    transition: .5s ease-in-out;
    width: 50%;
    text-align: justify;
}


.inf {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    font-size: larger;
}

/*Pour activer l'effet au passage de la souris*/
.lien-conteneur-photo:hover .photo-hover {
    display: flex;
}

.lien-conteneur-photo:hover .photo-hoverImg {
    display: flex;
}

.lien-conteneur-photo:hover .photo-hoverImg1 {
    display: flex;
}

.lien-conteneur-photo:hover .photo-hoverImg2 {
    display: flex;
}

.lien-conteneur-photo:hover .photo-hoverImg3 {
    display: flex;
}

.lien-conteneur-photo:hover .photo-hoverImg4 {
    display: flex;
}

.lien-conteneur-photo:hover .photo-hoverImg5 {
    display: flex;
}

.date {
    color: var(--color-third);
    font-weight: bold;
}

/* CONTACT///////////////////////////////////////////////////////////////////// */

#contact {
    background: black;
    padding-top: 40px;
}

#ancre {
    margin-top: 60px;
}

.section-contact h2 {
    color: var(--color-third);
    text-align: center;
    margin-bottom: 50px;
}

/*Pour la mise en forme du formulaire*/
form {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: auto;
    color: white;
}

.form-nom-email {
    display: flex;
    flex-direction: row;
    gap: 20px;

}

.form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

input,
textarea {
    padding: 15px;
    border-radius: 3px;
    border: none;
}

label {
    margin-bottom: 10px;
}

input[type='submit'] {
    width: 100px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    cursor: pointer;
    font-weight: bold;
}

input[type='submit']:hover {
    color: white;
    background: black;
}


/* A PROPOS///////////////////////////////////////////////////////////////////// */

/*Pour faire apparaitre des bordures*/
.border {
    color: black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    padding: 50px;
    width: 50%;
    margin: auto;
    margin-bottom: 80px;
    text-align: justify;
}

.border h2 {
    margin-top: 30px;
}

.border ul {
    margin-top: 30px;
}

.border+div {
    text-align: center;
}

.button {
    margin-top: 40px;
}

.ancre {
    border-radius: 50px;
    color: black;
    padding: 10px;
    display: inline-block;
    font-style: italic;
}

.mot {
    font-style: italic;
    padding: 10px;
}

.ancre:hover {
    border-right: solid black 1px;
    border-bottom: solid black 1px;
    /* animation: moveDown 0.6s; */
    transition: ease-in-out 0.5s;

}

/* INFO///////////////////////////////////////////////////////////////////// */

#info {
    display: flex;
    flex-direction: column;
    background: var(--color-secondary);
    text-align: center;
}

.reseaux {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0px;
    width: 20%;
}

.pied {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: gray;
}

.acces {
    font-size: 1em;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.ico {
    width: 40%;
}

/*///////////////////////////////////////RESPONSIVE/////////////////////////////////////////*/

/*////////////////INSPECTER - BUREAU - PAGE WEB///////////////////*/
@media only screen and (max-width: 1196px) {

    h1 {
        font-size: 1.2em;
    }

    a {
        font-size: 0.7em;
        padding: 3px;
    }

    .head {
        display: flex;
        justify-content: space-around;
        text-align: left;
        align-items: center;
    }

    .photo-hover {
        top: 0px;
        right: 0px;
        left: 205px;
        bottom: 4px;
        width: 50%;
    }

    .photo-hoverImg {
        top: 0px;
        right: 0px;
        left: 205px;
        bottom: 4px;
        width: 50%;
    }

    .photo-hoverImg1 {
        top: 0px;
        right: 0px;
        left: 205px;
        bottom: 4px;
        width: 50%;
    }

    .photo-hoverImg2 {
        top: 0px;
        right: 0px;
        left: 205px;
        bottom: 4px;
        width: 50%;
    }

    .photo-hoverImg3 {
        top: 0px;
        right: 0px;
        left: 205px;
        bottom: 4px;
        width: 50%;
    }

    .photo-hoverImg4 {
        top: 0px;
        right: 0px;
        left: 205px;
        bottom: 4px;
        width: 50%;
    }

    .photo-hoverImg5 {
        top: 0px;
        right: 0px;
        left: 205px;
        bottom: 4px;
        width: 50%;
    }

    .container5 {
        overflow: auto;
    }

    .pied {
        display: flex;
        justify-content: space-around;
        text-align: left;
    }

}

/*TABLETTE//////////////////////////////////////////////////////*/

@media (min-width: 769px) and (max-width: 1024px) {

    .wrapper {
        width: 120%;
        margin: auto;
    }

    /*////////////////////////////ACCUEIL///////////////////////////*/

    a {
        font-size: 1.5em;
        padding: 1px;
    }

    nav {
        display: flex;
        flex-direction: column;
        margin-left: 0px;
    }

    header {
        height: 10px;
    }

    head {
        display: flex;
        justify-content: space-between;
    }

    .photo-hover .photo-hoverImg .photo-hoverImg1 .photo-hoverImg2 .photo-hoverImg3 .photo-hoverImg4 .photo-hoverImg5 {
        top: 0px;
        right: 0px;
        left: 204px;
        bottom: 4px;
        width: 50%;
    }

    /*////////////////////////////MENU BURGER///////////////////////////*/

    .menu {
        display: none;
    }

    .wrapperMenu {
        width: 100%;
        margin: auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        font-family: var(--police-primary);
        background: white;
        color: black;
        /* background: url("images/numerique.jpg"); */
        /* background-size: cover; */
        /* background-repeat: no-repeat; */
    }


    nav {
        display: flex;
        justify-content: center;
        height: max-content;
        background: white;
        /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), var(--color-primary)); */
        /*Faire apparaitre cet élément*/
        animation: appear 1s;
        transition: ease-in-out 0.5s;
        padding-top: 185px;
        padding-bottom: 185px;
    }

    #menu {
        display: flex;
        flex-direction: column;
        line-height: 2;
    }

    #menu a {
        color: black;
    }

    .meal {
        margin-right: 20px;
        display: flex;
    }

    .home {
        filter: invert();
    }

    /*//////////////////////////////////////////////////////////////////*/

    .accueil {
        padding-right: 0px;
        padding-top: 120px;
        padding-bottom: 20px;
        margin-bottom: 40px;
    }

    .bloc {
        padding-right: 0px;
        margin-right: 0px;
        margin-top: 0px;
        margin-left: 120px;
    }

    h1 {
        font-size: 2em;
        text-align: center;
    }



    /*////////////////////////////FOOTER///////////////////////////*/

    .reseaux {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .text3 {
        margin-bottom: 20px;
        font-size: 1em;
    }

    #info {
        padding-bottom: 0px;
    }

    /*////////////////////////////CONTACT///////////////////////////*/

    .section-contact {
        padding: 50px 20px;
    }

    .form-nom-email {
        flex-direction: column;
        gap: 0;
    }

}

/*TELEPHONE//////////////////////////////////////////////////////*/

@media (min-width: 0) and (max-width: 768px) {

    .wrapper {
        width: 100%;
        margin: auto;
    }

    header {
        height: 10px;
    }

    /* Desactiver cette fonction pour que le menu burger fonctionne*/

    html {
        scroll-behavior: unset;
    }

    .boutonScroll {
        display: none;
    }

    /* Animation Faire apparaitre certains éléments Zoom*/

    @keyframes appear {
        from {
            transform: scale(0)
        }

        to {
            transform: scale(1)
        }

    }

    /* Animation Scroller les caroussels automatiquement*/

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-250px * 5));
        }
    }

    /*////////////////////////////ACCUEIL///////////////////////////*/

    .name {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-left: 0px;
    }

    h1 {
        font-size: 1.5em;
        text-align: center;
    }

    h2 {
        text-align: center;
        font-size: medium;
    }

    .accueil {
        padding-top: 140px;
        padding-bottom: 0px;
    }

    .accueil figure {
        width: 90%;
    }

    figcaption {
        padding-left: 20px;
        padding-right: 20px;
    }

    .menu {
        display: none;
    }

    .border {
        width: 95%;
        padding: 10px;
    }

    .ancre {
        font-size: 1em;
    }

    .illustration {
        width: 100%;
    }

    .sizeS {
        width: 50%;
    }

    .sizeM {
        width: 50%;
    }

    .getStart h2 {
        padding-top: 150px;
        padding-bottom: 150px;
    }


    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-250px * 2));
        }
    }

    /*////////////////////////////CONTACT///////////////////////////*/

    .form-nom-email {
        flex-direction: column;
        gap: 0;
    }

    /*////////////////////////////MENU BURGER///////////////////////////*/

    .wrapperMenu {
        width: 100%;
        margin: auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        font-family: var(--police-primary);
        background: white;
        /* background: url("images/reno2.jpg"); */
        /* background-size: cover; */
        /* background-repeat: no-repeat; */
    }

    a {
        font-size: 0.7em;
        padding: 1px;
    }

    nav {
        display: flex;
        justify-content: center;
        height: max-content;
        /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), var(--color-primary)); */
        /*Faire apparaitre cet élément*/
        /* animation: appear 1s; */
        /* transition: ease-in-out 0.5s; */
        padding-top: 200px;
        padding-bottom: 200px;
    }

    #menu {
        display: flex;
        flex-direction: column;
        line-height: 2;
    }

    #menu a {
        color: black;
        font-size: 1.8em;
    }

    .meal {
        display: flex;
        cursor: pointer;
        width: 90%;

    }

    .meal:hover {
        opacity: 50%;
        cursor: pointer;
    }

    .home {
        width: 20%;
        filter: invert();
    }

    /*////////////////////////////OUTILS///////////////////////////*/

    .blocPrice {
        flex-direction: column;
        margin-left: 0px;
    }

    .inf {
        font-size: smaller;
    }

    .photo {
        width: 100%;
    }

    .photo-hover {
        top: 0px;
        right: 0px;
        left: 0px;
        bottom: 0px;
        width: 100%;
    }

    .photo-hoverImg {
        top: 0px;
        right: 0px;
        left: 0px;
        bottom: 0px;
        width: 100%;
    }

    .photo-hoverImg1 {
        top: 0px;
        right: 0px;
        left: 0px;
        bottom: 0px;
        width: 100%;
    }

    .photo-hoverImg2 {
        top: 0px;
        right: 0px;
        left: 0px;
        bottom: 0px;
        width: 100%;
    }

    .photo-hoverImg3 {
        top: 0px;
        right: 0px;
        left: 0px;
        bottom: 0px;
        width: 100%;
    }

    .photo-hoverImg4 {
        top: 0px;
        right: 0px;
        left: 0px;
        bottom: 0px;
        width: 100%;
    }

    .photo-hoverImg5 {
        top: 0px;
        right: 0px;
        left: 0px;
        bottom: 0px;
        width: 100%;
    }

    .container6 img {
        width: 35%;
    }

    .container5 img {
        width: 50%;
    }

    .container5 {
        overflow: auto;
    }

    .videoRenoJ5 {
        width: 90%;
    }

    .outils {
        margin-bottom: 140px;
    }

    /*////////////////////////////FOOTER///////////////////////////*/

    .reseaux {
        padding-top: 0px;
        padding-bottom: 0px;
        width: 50%;
        margin-right: 0px;
        gap: 15px;
    }

    .text3 {
        margin-bottom: 20px;
        font-size: 0.5em;
    }

    #info {
        padding-bottom: 0px;
        text-align: left;
    }

    .ico {
        width: 50%;
        margin-left: 40px;
    }

}