.modal {
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    gap: 30px
}

.modal-container-gallery {
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    gap: 30px;
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 10px;
}

.modal-caption{
    color: var(--white-color);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-control{
    display: flex;
    position: fixed;
    gap: 30px;
    top: 90%;
}

.prev, .next {
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.prev{
    left: 15%;
}

.next{
    right: 15%
}