.foto {
    position: relative;
    display: inline-block;
    margin-bottom: 2vh;
}

.product-image {
    width: 100%;
}

button.prev-btn {
    position: absolute;
    top: 50%;
}

button.next-btn {
    position: absolute;
    top: 50%;
    right: 0;
}

button.prev-btn,
button.next-btn {
    cursor: pointer;
    padding: 10px;
    margin: 0 2px;
    display: none;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
}

.foto:hover button.prev-btn, .foto:hover button.next-btn {
    display: block;
}

.foto h3 {
    justify-self: center;
    color: var(--grey);
    font-size: 1.5vw;
    padding-top: 2vh;
}

/* fullscreen */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    background-color: var(--lighter-grey);
}

@media (max-width: 800px) {
    .foto h3 {
        font-size: 6vw;
    }

    button.prev-btn, button.next-btn {
    display: block;
}
}