*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: rgb(237, 237, 237);
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
}

img {
    border-radius: 15px;
}

.container {
    padding-left: 5rem;
    padding-right: 5rem;
}

a {
    color: #101010;
    text-decoration: none;
}

.titres {
    text-align: center;
}

/* header */

header {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 5rem;
}

header img {
    border-radius: 0;
}

.sommaire {
    text-align: left;
    margin: auto;
    width: 33%;
}


.lien_accueil {
    text-align: center;
    margin: auto;
    width: 33%;
}

header ul {
    display: flex;
    gap: 5rem;
    width: 33%;
    justify-content: right;
    list-style-type: none;
}

header div {
    width: 33%;
}

/* burger menu */

.sommaireElt {
    transition: transform 0.5s ease;
}

.backgroundSommaire {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    transition: background-color 0.5s ease;
}

.arrowSommaire {
    position: absolute;
    opacity: 0;
    transition: all 0.5s ease;
}

.sommaire_burger_menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    height: 90vh;
    padding: 2rem 5rem;
    font-size: 3.5rem;

}

.sommaire_burger_menu a {
    display: flex;
    gap: 2rem;
}

/* accueil photo */

.sommaire_photos ul {
    padding: 3rem 6rem;
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    height: 70vh;
    gap: 2rem;
}

.sommaire_photos ul li {
    height: 100%;
    width: 100%;
}

.sommaire_photos ul li.automobile a {
    background: url(../img/photoChapitreVoiture2.jpg) no-repeat center center/cover;
    border-radius: 15px;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.sommaire_photos ul li.portrait a {
    background: url(../img/photoChapitrePortrait2.jpg) no-repeat center center/cover;
    border-radius: 15px;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.sommaire_photos ul li.paysages a {
    background: url(../img/photoChapitrePaysage2.jpg) no-repeat center center/cover;
    border-radius: 15px;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.sommaire_photos ul li.divers a {
    background: url(../img/photoChapitreDivers2.jpg) no-repeat center center/cover;
    border-radius: 15px;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.sommaire_photos ul li {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    background-color: #00000050;
}

.sommaire_photos ul li a {
    height: 100%;
    width: 100%;
    display: block;
    position: relative;
    border-radius: 15px;
}

.sommaire_photos ul li a:hover {
    filter: grayscale(0%);
    transition: filter 0.5s ease;
}

.sommaire_photos ul li a p {
    position: absolute;
    left: 0;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    transform-origin: top left;
    transform: rotate(-90deg);
    bottom: 0;
    left: 2rem;
    color: white
}


.boutonRetour {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 5rem;
    transform: translateX(0);
    transition: transform 0.5s ease;
}

.boutonRetour:hover {
    transform: translateX(-1rem);
    transition: transform 0.5s ease;
}

/* page print */

.astonMartinDBX {
    display: flex;
    gap: 1rem;
    padding: 0 4rem;
    width: 100%;
    height: fit-content;
    margin-bottom: 5rem;
    margin-top: 3rem;
}

.astonMartinDBX img {
    /* object-fit: cover; */
    height: fit-content;
}

.astonMartinDBX div img {
    height: fit-content;
    width: 100%;
}

.astonMartinDBX div {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.astonImg {
    width: 60%;
}

.porsche {
    flex-direction: row-reverse;
}

/* page illustration */

.dessinImage {
    width: 30%;
}

.dessinImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dessin {
    display: flex;
    gap: 4rem;
    margin: 4rem;
}

.dessin_content {
    display: flex;
    align-items: center;
}

.dessin_content div {
    padding: 0rem 2rem;
}

.dessin h2 {
    text-align: left;
    margin: auto;
}

.pDessin {
    justify-content: left;
}

.pixelArtNaruto {
    flex-direction: row-reverse;
}

/* page a propos */

.aPropos {
    display: flex;
    margin-top: 4rem;
    margin-bottom: 4rem;
    gap: 4rem;
    padding: 0 10%;

}

.photoAPropos {
    width: 33%;
    margin-left: 5rem;
}

.photoAPropos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pAProposContent {
    margin: 4rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pAProposContent .contact {
    display: flex;
    gap: 1rem;
}

/* page d'accueil */

.titreAccueil {
    display: flex;
    text-align: left;
    width: 100%;
    height: 80vh;
    justify-content: center;
    flex-direction: column;
    padding: 0 10rem;
}

.titreAccueil h1 {
    text-align: left;
    font-size: 7rem;
    margin: 0;
}

.titreAccueil p {
    font-size: 2rem;
}

/* figma */

.albumDepecheMode {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
    width: 60%;
}

.albumDepecheMode img {
    width: 30%;
    margin-bottom: 5%;
}

.depecheMode {
    display: flex;
    gap: 3rem;
    padding: 6rem;
    /* align-items: center; */
}

.depecheModeTexte {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.designAppli {
    display: flex;
    gap: 3rem;
    padding: 6rem;
}

.appliF1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.designAppli img {
    width: 25%;
}

.responsiveF1maquette {
    display: none;
}

.afficheFilm {
    display: flex;
    gap: 3rem;
    padding: 6rem;
    justify-content: center;
}

.theShooting {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.afficheFilm img {
    width: 35%;
}

/* page photo automobile */

.photosVoiture {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    padding: 6rem;
}

.photosVoiture div img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.alpha_romeo {
    grid-area: 1 / 1 / 3 / 4;
    width: 100%;
    height: 100%;
}

.red_bull {
    grid-area: 1 / 4 / 3 / 7;
    width: 100%;
    height: 100%;
}

.audi {
    grid-area: 1 / 7 / 4 / 9;
    width: 100%;
    height: 100%;
}

.bmw {
    grid-area: 4 / 7 / 7 / 9;
    width: 100%;
    height: 100%;
}

.ferrari {
    grid-area: 3 / 1 / 5 / 4;
    width: 100%;
    height: 100%;
}

.williams {
    grid-area: 3 / 4 / 5 / 7;
    width: 100%;
    height: 100%;
}

.bugatti {
    grid-area: 5 / 1 / 7 / 4;
    width: 100%;
    height: 100%;
}


.ferrariGts {
    grid-area: 5 / 4 / 7 / 7;
    width: 100%;
    height: 100%;
}


/* page photo portrait */

.photosPortrait {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(7, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    padding: 6rem;
}

.photosPortrait div img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.elea_regard_droit {
    grid-area: 1 / 1 / 3 / 7;
}

.elea_regard_gauche {
    grid-area: 1 / 7 / 3 / 13;
}

.elea_dos {
    grid-area: 3 / 1 / 6 / 5;
}

.elea_regard_haut {
    grid-area: 3 / 5 / 6 / 9;
}

.portrait_nassima {
    grid-area: 3 / 9 / 6 / 13;
}

.portrait_alan_un {
    grid-area: 6 / 1 / 11 / 4;
}

.portrait_gaspard_un {
    grid-area: 6 / 4 / 11 / 7;
}

.portrait_gaspard_deux {
    grid-area: 6 / 7 / 11 / 10;
}

.portrait_gaspard_trois {
    grid-area: 6 / 10 / 11 / 13;
}


/* page photos divers */

.photoDivers {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    padding: 6rem;
}

.photoDivers div img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}


.grande_roue {
    grid-area: 1 / 1 / 2 / 7;
}

.viaduc_millau {
    grid-area: 1 / 7 / 2 / 10;
}

.tour_eiffel {
    grid-area: 1 / 10 / 2 / 13;
}

.lumiere_rouge {
    grid-area: 2 / 1 / 3 / 5;
}

.oiseau {
    grid-area: 2 / 5 / 3 / 9;
}

.decor_disney {
    grid-area: 2 / 9 / 3 / 13;
}


/* page photo paysages */

.photoPaysage {
    display: grid;
    grid-template-columns: repeat(8, 3fr);
    grid-template-rows: repeat(5, 0.5fr);
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    padding: 6rem;
}

.photoPaysage div img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.couche_soleil_leraincy {
    grid-area: 1 / 1 / 2 / 5;
}

.paysage_mer {
    grid-area: 1 / 5 / 2 / 9;
}

.lac {
    grid-area: 2 / 1 / 3 / 7;
}

.ile_de_re {
    grid-area: 2 / 7 / 3 / 9;
}

.paysage_foret_un {
    grid-area: 3 / 1 / 4 / 3;
}

.aix_les_bains_montagne {
    grid-area: 3 / 3 / 4 / 5;
}

.aix_les_bains {
    grid-area: 3 / 5 / 4 / 9;
}

.coline_aveyron {
    grid-area: 4 / 1 / 5 / 7;
}

.ile_de_re_phare {
    grid-area: 4 / 7 / 5 / 9;
}

.bois_vincennes {
    grid-area: 5 / 1 / 6 / 5;
}

.aix_les_bains_lac {
    grid-area: 5 / 5 / 6 / 9;
}


/* page video */

.projetsVideo .reportage,
.projetsVideo .courtMetrage {
    display: flex;
    gap: 2rem;
    padding: 3rem 6rem;
    align-items: center;
}

.projetsVideo .reportage {
    flex-direction: row-reverse;
}

.textVideo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ------------------ responsive ----------------*/

@media screen and (min-width: 1500px) {
    /* page principale */

    .titreAccueil h1 {
        font-size: 15rem;
    }

    .titreAccueil p {
        font-size: 4rem;
    }

    header {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 5rem;
    }

    h2 {
        font-size: 3rem;
    }

    p {
        font-size: 1.5rem;
    }

    /* burger menu */

    .sommaire_burger_menu {
        gap: 2rem;
    }

    .sommaire_burger_menu h2 {
        font-size: 5rem !important;
    }

    /* photographie */
    .sommaire_photos ul li a p {
        font-size: 5rem;
    }

    .boutonRetour {
        font-size: 1.5rem;
        gap: 0.5rem;
    }

    /* video  */

    .projetsVideo .filmNikonLien {
        width: 100%;
    }

    .projetsVideo .filmNikonLien iframe {
        width: 100%;
        height: 50vh;
    }

    .projetsVideo .texte {
        width: 50%;
    }

    /* a propos */
    .aPropos a {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 860px) {
    .titreAccueil h1 {
        font-size: 6rem;
    }

    .titreAccueil p {
        font-size: 1rem;
    }

    .titreAccueil {
        padding: 0 4rem;
    }

    header {
        width: 100vw;
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }

    /* burger menu */

    .sommaire_burger_menu {
        height: 70vh;
    }

    .sommaire_burger_menu h2 {
        font-size: 3.2rem;
    }

    /* accueil photo */

    .sommaire_photos ul {
        flex-direction: column;
    }

    .sommaire_photos ul li a {
        width: 100%;
        height: 25vh;
    }

    .sommaire_photos ul li a p {
        transform: rotate(0deg);
        position: relative;
        display: flex;
        width: 100%;
        height: 100%;
        align-items: flex-end;
        padding-bottom: 1rem;
    }

    .sommaire_photos ul li {
        filter: grayscale(0%);
        height: 25vh;
    }

    .sommaire_photos ul {
        gap: 1rem;
        height: auto;
        padding: 3rem;
    }

    .boutonRetour {
        font-size: 0.8rem;
        gap: 0.2rem;
    }

    .photosPortrait,
    .photoDivers,
    .photoPaysage,
    .photosVoiture {
        padding: 0 3rem;
    }

    /* video */
    .projetsVideo .reportage,
    .projetsVideo .courtMetrage {
        flex-direction: column;
        padding: 3rem 4rem;
    }

    .projetsVideo .filmNikonLien iframe {
        width: 80vw;
        height: 40vh;
    }

    /* illustration  */

    .dessin {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem;
    }

    .dessin .dessinImage {
        align-self: center;
        width: auto;
    }

    .pixelArtNaruto .dessinImage {
        width: 50%;
        margin: auto;
        margin-top: 4rem;
    }

    /* print */
    .astonMartinDBX {
        flex-direction: column;
        padding: 0 2rem;
    }

    .astonImg {
        width: 100%;
    }

    .astonMartinDBX div {
        width: 100%;
        gap: 1rem;
    }

    /* figma */

    .depecheMode {
        flex-direction: column;
        padding: 3rem;
    }

    .depecheMode div {
        width: 100%;
    }

    .designAppli {
        padding: 3rem;
    }

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

    .responsiveF1maquette div {
        width: 100%;
    }

    .responsiveF1maquette div img {
        width: 45%;
    }

    .imgF1maquette {
        display: flex;
        justify-content: space-between;
    }

    .nonresponsiveF1maquette {
        display: none;
    }

    .afficheFilm {
        flex-direction: column;
        padding: 3rem;
    }

    .afficheFilm div,
    .afficheFilm img {
        width: 100%;
    }

    /* a propos */

    .aPropos {
        flex-direction: row;
        padding: 0 3rem;
        gap: 1rem;

    }

    .photoAPropos {
        width: 75%;
        margin: 0;
    }

    .aProposContact {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 600px) {
    header {
        padding: 2rem 2rem;
        font-size: 0.5rem;
    }

    .titreAccueil h1 {
        font-size: 3rem;
        padding: 0 !important;
    }

    .titreAccueil p {
        font-size: 0.8rem;
    }

    h1.titres {
        padding: 0 2rem;
    }

    h2 {
        font-size: 1rem;
    }

    p {
        font-size: 0.8rem;
    }

    /* burger menu */

    .sommaire_burger_menu {
        padding: 3rem;
    }

    .sommaire_burger_menu h2 {
        font-size: 2rem;
    }


    /* accueil photo */

    .sommaire_photos ul li a p {
        font-size: 2rem;
    }

    .boutonRetour {
        font-size: 0.5rem;
        gap: 0.2rem;
        margin-left: 2rem;
    }

    /* pages photo */
    .photosVoiture,
    .photosPortrait,
    .photoDivers,
    .photoPaysage {
        display: flex;
        flex-direction: column;
    }

    /* video */
    .projetsVideo .reportage,
    .projetsVideo .courtMetrage {
        padding: 2rem;
    }

    /* illustration */

    .pixelArtNaruto .dessinImage {
        width: 100%;
        margin: auto;
        margin-top: 2rem;
    }

    /* a propos */

    .aPropos {
        flex-direction: column-reverse;
        margin-top: 1rem;
    }

    .photoAPropos {
        width: 100%;
        margin: 0;
    }

    .aPropos a {
        font-size: 0.8rem;
    }

    .pAProposContent {
        margin: 0 0 2rem 0;
    }

    .listeMentionsLegales {
        padding: 2rem 3rem;
    }
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 8rem;
    text-align: center;
    background-color: #101010;
    color: rgb(245, 245, 245);
    margin-top: 1rem;
}

footer a {
    color: rgb(245, 245, 245);
    text-decoration: none;
}

.listeMentionsLegales h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.listeMentionsLegales {
    padding: 3rem 6rem;
}