body {
    overflow: overlay;
}

.photos {
    justify-content: flex-start;
}

.popup-photos-back {
    position: absolute;
    left: 2rem;
    width: 3rem !important;
    height: 3rem !important;
    filter: invert();
}

.popup-photos-next {
    position: absolute;
    right: 2rem;
    width: 3rem !important;
    height: 3rem !important;
    filter: invert();
}

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

.gallery img {
    width: 10vw;
    height: fit-content;
    margin: 10px;
    cursor: pointer;
    border-radius: .3rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal img {
    width: 40vw;
    /* max-height: 80%; */
    object-fit: contain;
}

.modal.open {
    display: flex;
}

.input.select select {
    background-color: white;
    min-width: 20vw;
    padding-right: 1rem;
    padding-left: 1rem;
}

button {
    width: 100%;
    height: 2.8rem;
    background-color: var(--color-blue);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'FuturaPT-Light';
    padding-left: 1rem;
    padding-right: 1rem;
}
 .modal {
    color: white;
    font-size: 1.2rem;
 }

 .popup-photos-download{
    width: 5vw !important;
 }
@media screen and (max-width: 768px) {
    .gallery img {
        margin: 2px;
        width: 30vw;
        height: auto;
    }
    .modal.open {
        flex-direction: column;
    }
    .open img {
        width: 80vw;
    }
    .popup-photos-back, .popup-photos-next {
        bottom: 2rem;
    }
}
