.modal {
    --bs-modal-margin: 0rem !important;
}

.modal-dialog {
    margin: 0 !important;
    max-width: none;
}

.modal-dialog .video-container {
    margin: 0 !important;
    border-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.modal-dialog .video-container span#videoDuration {
    background: #00000080;
}

.modal-dialog .video-container #remoteVideo {
    width: auto;
    height: 99vh;
}

.modal-dialog .video-container #localVideo {
    width: auto;
    height: 25vh;
    position: absolute;
    bottom: 0;
    right: 0;

}

.modal-dialog .video-container .video-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #00000080;
}

@media screen and (max-width: 992px) {

    .modal-dialog .video-container #remoteVideo {
        width: 99vw !important;
        height: auto;
    }

    .modal-dialog .video-container #localVideo {
        height: 15vh;
    }

}

@media screen and (max-width: 768px) {

    .modal-dialog {
        margin: 0px;
        width: 100%;
        height: 100%;

    }

    .modal-dialog .video-container #localVideo {
        height: 12vh;
    }
}

@media screen and (max-width: 576px) {
    .modal-dialog .video-container #localVideo {
        height: 10vh;
    }
}