* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    background-color: #111110;
    padding: 1rem;
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: italic;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo a {
    display: flex;
    color: white;
    text-decoration: none;
    font-size:xx-large;
}

.lien {
    width: 100%;
    color: white;

}

.lien ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    list-style-type: none;
    padding-left: 0;
}

.lien ul {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items:center;
    gap: 0.3rem;

}

/* Les effets en dessus ont été trouvé sur internet et non en utilisant ChatGPT. Voici mes sources*/
/* Effet de dégradé : https://www.youtube.com/watch?v=3UOqRF2005Y et https://christinatruong.medium.com/how-to-add-a-css-gradient-overlay-to-a-background-image-170216435f65*/
/* Effet sous-ligné : https://www.youtube.com/watch?v=gigBUU0aqwo */
/* Effet de bordure : https://openclassrooms.com/en/courses/1603881-creez-votre-site-web-avec-html5-et-css3/8061337-creez-des-bordures-et-des-ombres */
/* image de fond    : https://better-gradient.com/editor*/
/* Effet box-shadow : https://codersvibe.com/tools/web-tools/box-shadow-generator */
.lien a {
    color: white;
    text-decoration: none;
    font-size: larger;
    cursor: pointer;
    padding-bottom: 1rem;
    background-image: linear-gradient(#Ffffff, #ffffff);
    background-size: 0% 0.1rem;
    background-position-y: 75%;
    background-position-x: 50%;
    background-repeat: no-repeat;
    transition: background-size ease-in-out 0.25s;
}

.lien a:hover {
    background-size: 100% 0.18rem;
}



#accueil {
    display: flex;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.914), rgba(0, 0, 0, 0)), url("../images/DSC00578.jpg");
    min-height: 75vh;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    box-shadow: 0rem .2rem 1rem rgb(255, 138, 0, 0.7);
}

#accueil div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-left: 10%;
    gap: 5%;

    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: italic;
    font-size: larger;
}

#accueil h2 {
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: italic;
    font-size: x-large;
}

#accueil a {
    color: white;
    text-decoration: none;
    padding: 0.7rem;
    background-color: black;
    border: 0.01rem rgb(255, 138, 0) solid;
    border-radius: 0.4rem;
    box-shadow: 0rem 0.5rem 2rem 0.2rem rgba(255, 138, 0, 0.2), 0rem 0.5rem 2rem 0.2rem rgba(255, 138, 0, 0.4);
}

#mobile {
    display: none;
}


div h4 {
    color: white;
}

div h2 {
    color: white;
}

main {
    background-color: #111110;
}

main h2 {
    color: white;
}

main h3 {
    color: white;
}



footer {
    background-color: #161618;
    display: inline-block;
    color: rgb(255, 255, 255);
    width: 100%;
    padding: 1rem;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
    font-size: x-large;
}

footer p {
    color: white
}


.photo img {
   
    border-radius: 0.4rem;
}
@media screen and (max-width: 600px) {
    #galerie {
        display: none;
    }

    #moi {
        display: none;
    }

    #pc {
        display: none;

    }

    .logo {
        display: none;
    }

    #test {
        display: none;
    }

    #test2 {
        display: none;
    }
}





@media screen and (min-width: 600px) {
    header {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-left: auto;
        margin-right: auto;
    }

    .logo {
        display: flex;
        justify-content: center;
        min-width: 100%;
        margin-left: auto;
        margin-right: auto;

    }

    .logo a {
        align-self: center;

    }

    .lien {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .lien ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        gap: 3rem
    }

    #accueil {
        display: flex;
        background-image: linear-gradient(to right, rgb(0, 0, 0), rgba(0, 0, 0, 0)), url("../images/DSC01312.jpg");
        min-height: 75vh;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

    #galerie {
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
        width: 100%;
        background-image: url("../images/mesh\ \(1\).png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;

    }

    #galerie h2 {
        margin-left: 7%;
        margin-bottom: 1rem;
    }

    #galerie img {
        max-width: 100%;
    }

    .photo {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 5%
    }
     #galerie h4 {
        text-align: center;
        font-size: larger;
     }
    

    #moi {
        display: none;
    }

    footer {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    #contact {
        width: 100%;

    }
}



@media screen and (min-width: 1200px) {
    body {
        margin: 0;
        padding: 0;
    }

    header {
        display: flex;
        flex-direction: row;
        background-color: #111110;
        padding: 1rem;

    }

    nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        min-width: 0;
        width: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 10%;
    }

    .logo a {
        color: white;
        text-decoration: none;
        font-size: x-large;
    }

    .lien {
        color: white
    }

    .lien ul {
        display: flex;
        justify-content: space-between;
        margin-left: 60%;
    }

    .lien a {
        color: white;
        text-decoration: none;
        font-size: larger;
        cursor: pointer;
        padding-bottom: 1rem;
        background-image: linear-gradient(#Ffffff, #ffffff);
        background-size: 0% 0.1rem;
        background-position-y: 75%;
        background-position-x: 50%;
        background-repeat: no-repeat;
        transition: background-size ease-in-out 0.25s;

    }

    .lien a:hover {
        background-size: 100% 0.18rem;
    }

    #message {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        margin-left: auto;
        background-image: url("../images/DSC01130.jpg");
        min-height: 40vh;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

    div h3 {
        padding: 2rem;
        color: white;
        align-self: start;
    }

    div h4 {
        color: white;
    }

    div h2 {
        color: white;
    }

    #galerie {
        max-width: 100%;
        padding-bottom: 2rem;
    }

    #moi {
        display: flex;
        justify-content: start;
        align-items: start;
        flex-wrap: wrap;
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0.914), rgba(0, 0, 0, 0)), url("../images/image_B36E65CE-0185-49E9-94AE-06040EAA1536_1792204467.jpeg");
        min-height: 75vh;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

    #moi h2 {
        margin-left: 10%;
        margin-top: 10%;
        width: 100%;
    }

    #moi p {
        color: white;
        padding-right: 8rem;
        margin-left: 10%;
        font-size: large;
    }

    #contact {
        width: 100%;
        margin-bottom: 2rem;
    }
}