
.project {
    border: 0;
    max-height: calc(var(--vh, 1vh) * 100);
    overflow-y: scroll;
}

/* Header */
.project__header {
    padding: 1rem;
    display: flex;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: white;
}

.project__header__letters {
    display: flex;
    width: 3rem;
}
.project__header__letters img {
    height: 1.05rem;
    width: auto;
    margin: 0.10rem;
}

.project__header__title {
    flex-grow: 1;
    font-size: 20px;
    line-height: 100%;
}

.project__header__close {
    width: 1rem;
    height: 1rem;
}
.project__header__close:hover {
    transform: scale(1.05);
}

/* Gallery */

.project__gallery__prev {
    display: none;
}
.project__gallery__next {
    display: none;
}


.project__gallery__image {
    width: 100%;
    margin-bottom: 0.5rem;
}

.project__gallery__image img {
    height: auto;
    width: 100%;
}

.project__gallery__image div {
    padding: 0 1rem;
}

.project__gallery__image__info {
    display: flex;
}

.project__gallery__image__counter,
.project__gallery__image__caption {
    font-size: 12px;
    padding-right: 1rem;
}


@media only screen and (min-width: 768px) {
    .project__header__mobile {
        display: none;
    }

    #arrow-left.disabled {
        opacity: 0.2;
    }

    .project {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .project__gallery {
        position: relative;
        margin-bottom: 0.5rem;
    }

        /* Gallery */
    .project__gallery__prev {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        padding: 2rem;
        background-color: transparent;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 30%;
    }

    /* Gallery */
    .project__gallery__next {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        padding: 2rem;
        background-color: transparent;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 30%;
    }

    .project__gallery__prev img,
    .project__gallery__next img {
        width: 2.5rem;
        height: auto;
    }

    /* Gallery */
    .project__gallery__images {
        padding: 0 1rem;
        display: flex;
        max-width: 100vw;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    .project__gallery__image {
        scroll-snap-align: center;
        width: fit-content;
    }

    .project__gallery__image:not(:last-child) {
        margin-right: 1rem;
    }

    .project__gallery__image div {
        color: black;
        font-size: 16px;
        padding: 0.25rem 0 0 
    }

    .project__gallery__image img {
        height: 80vh;
        width: auto;
        margin-bottom: 0.25rem;
    }
}