.modal.image {
    --bs-modal-width: unset;
    width: unset;
    height: unset;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.modal.pdf {
    --bs-modal-width: 60% !important;
}

.modal.video {
    --bs-modal-width: 60% !important;
}
