.video-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    z-index: 2000;
    padding: 0;
    margin: 0;
    border: none;
}
.video-dialog:modal {
    max-width: 100%;
    max-height: 100dvh;
}

.video-dialog[open] {
    animation: fadein 0.2s ease-in forwards;
}

.video-dialog-body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.video-dialog button {
    outline: none;
    border-radius: 50%;
    border: 1px solid #ffffff;
    color: #ffffff;
    background-color: #00000090;
    width: 2em;
    height: 2em;
    font-size: 2em;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: all 300ms ease-in-out;
    z-index: 1;
}
.video-dialog button:hover {
    color: #000000;
    background-color: #ffffff;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        background-color: #000000;
    }
}
