.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
}

.modal-content {
    display: inline-block;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    position: relative;
    width: auto;
    max-width: 90%;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.close {
    color: black;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 7px;
    top: 12px;
    width: 50px;
    height: 41px;
    background-color: #fff;
    box-shadow: none;
    line-height: 40px;
    border-radius: 10px;
    transition: color 0.25s ease-in-out;
}

.close:hover,
.close:focus {
    color: #aaa;
    text-decoration: none;
    cursor: pointer;
}

.iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#videoFrame {
    max-width: 100%;
    max-height: 100%;
}