a,
a:visited,
a:hover {
    color: inherit;
    text-decoration: none;
}

h1 {
    text-align: center;
    font-size: 1.5em;
    font-weight: normal;
    color: #ccc;
    mix-blend-mode: exclusion;

}

h1:hover {
    cursor: pointer;
    text-decoration: underline;
}

#galleryWrapper {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

#gallery {
    height: 100%;
    width: 100%;
}

#gallery .img {
    display: flex;
    height: 100%;
    width: 100%;
}

#gallery img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#gallery .flickity-prev-next-button {
    top: 50%;
    width: 40%;
    height: 100%;
    border-radius: 0%;
    transform: translateY(-50%);
    margin: 0px;
    padding: 0px;
    background-color: transparent;
}

#gallery .flickity-prev-next-button svg {
    display: none;
}

.project-title {
    position: fixed;
    bottom: 30px;
    width: 100%;
    text-align: center;
    color: #ccc;
    mix-blend-mode: exclusion;
    /* text-shadow: 0 0 20px #000; */
}

.project-title:hover {
    cursor: pointer;
    text-decoration: underline;
}



@media screen and (max-width: 750px) {

    html {
        scroll-behavior: smooth;
        scroll-snap-type: y mandatory;

    }

    body {
        padding: 0;
        margin: 0;
        background-color: #000;

    }

    #galleryWrapper {
        position: static;
        height: auto;
        max-width: 100%;
        z-index: -1;
    }
    .projet{
        position: relative;
        background-color: #000;
    }

    .titre_desktop {
        position: sticky;
        position: -webkit-sticky;
        top: calc(100% - 30px);
        color: #fff;
        text-align: center;
        height: 30px;
    }

    #gallery .img {
        height: 50vh;
        scroll-snap-align: start;
        scroll-snap-stop: 30px;
    }

    h1 {
        position: fixed;
        top: 0px;
        font-size: 1.2em;
        text-align: center;
        width: 100%;
        margin: 5px 0;
        z-index: 1;
        
    }









}