.Scenary {
    position: relative;
    width: 100%;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0px 20px 20px 20px;
    gap: 20px;
    overflow: hidden;
}

/* Container of Screen and Dish */
.Conference {
    display: flex;
    flex: 1;
    border-radius: 10px;
    gap: 20px;
    max-height: 100%;
    max-width: 100%;
}

/* Container of Cameras */
.Dish {
    /* overflow: scroll; */
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex: 1;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
}

/* Camera */
.Dish>div {
    position: relative;
    vertical-align: middle;
    align-self: center;
    border-radius: 10px;
    overflow: hidden;
    display: inline-block;
    box-shadow: var(--shadow-dark);
    background: #414141;
    animation: show 0.4s ease;
    /* cursor: pointer; */
}

/* Video (check the nice property object-fit) */
.Dish>div video, #video_yt {
    position: absolute;
    right: 0;
    object-fit: contain;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    left: 0;
    top: 0;
    background-size: cover;
    overflow: hidden;
    -webkit-transition: margin-top 1s ease-in-out;
    -moz-transition: margin-top 1s ease-in-out;
    -o-transition: margin-top 1s ease-in-out;
    transition: margin-top 1s ease-in-out;
}

/* Animation of Loading Video */
/* .Dish>div video.loading {
    margin-top: 100%;
} */

/* Username */
.Dish div.camera:after, .Screen div.camera:after {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.4);
    font-weight: 900 !important;
    border-radius: 10px;
    padding: 2px 7px;
    font-size: 13px;
    position: absolute;
    bottom: 20px;
    left: 10px;
    font-weight: 100;
    content: attr(username);
    display: none;
}

.Dish #camera_yt:after {
    content: none !important;
}

.Dish div.camera:hover:after, .Screen div.camera:hover:after {
    display: block;
}

.Dish div:hover div.video-controls, .Screen div:hover div.video-controls {
    display: block;
}

.Dish div:hover div.yt-video-controls, .Screen div:hover div.yt-video-controls {
    display: flex;
    align-items: center;
}

.yt-video-controls input[type="range"] {
    flex-grow: 1;
    margin: 0 10px;
    accent-color: red;
}

.yt-video-controls div {
    color: rgba(255, 255, 255, 0.9) !important;
}

.Dish div.video-controls, .Screen div.video-controls {
    position: absolute;
    right: 10px;
    top: 20px;
    z-index: 1;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    padding: 0 .5rem;
    display: none;
    user-select: none;
}

.Dish div.yt-video-controls, .Screen div.yt-video-controls {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 10px;
    z-index: 1;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 10px;
    padding: 0 1rem;
    display: none;
    user-select: none;
}

.Dish div.video-controls:hover, .Screen div.video-controls:hover, .Dish div.yt-video-controls:hover, .Screen div.yt-video-controls:hover {
    background: rgba(0, 0, 0, 0.8);
}

.material-icons.video-control-icon.yt {
    margin: 10px 10px 10px 0;
}

.material-icons.video-control-icon {
    margin: 10px;
    font-size: 30px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9) !important;
}

.material-icons.video-control-icon.disabled {
    margin: 10px;
    font-size: 30px;
    cursor: auto;
    color: rgba(199, 199, 199, 0.9) !important;
}

.video-control-volume {
    display: inline-block;
}

.video-control-volume-slider {
    -webkit-appearance: none; /* Remove default styling */
    appearance: none;
    position: relative;
    top: -11px;
    margin-left: 10px;
    height: 5px;
    width: 75px;
    border-radius: 5px;
    background: #a7a7a7;
    display: none;
}

.video-control-volume-slider:disabled {
    display: none !important;
}

.video-control-volume:hover .video-control-volume-slider {
    display: inline-block;
}

.video-control-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
}

.yt-slider {
    width: 100%;
}

/* Gray Diagonal */
/* .Dish div:before {
    position: absolute;
    height: 100%;
    background: url(./../general/diagonal.jpg);
    background-size: 100% 100%;
    width: 100%;
    opacity: 0.3;
    font-weight: 100;
    content: '';
    display: block;
} */

/* Screen */
.Screen {
    flex: 5;
    background: #000;
    border-radius: 10px;
    vertical-align: middle;
}

.Screen>div {
    position: relative;
    vertical-align: middle;
    align-self: center;
    border-radius: 10px;
    overflow: hidden;
    display: inline-block;
    box-shadow: var(--shadow-dark);
    background: #414141;
    animation: show 0.4s ease;
    cursor: pointer;
}

/* Video (check the nice property object-fit) */
.Screen>div video, #video_yt {
    position: absolute;
    right: 0;
    object-fit: contain;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    left: 0;
    top: 0;
    background-size: cover;
    overflow: hidden;
    -webkit-transition: margin-top 1s ease-in-out;
    -moz-transition: margin-top 1s ease-in-out;
    -o-transition: margin-top 1s ease-in-out;
    transition: margin-top 1s ease-in-out;
}

/* Animation of Cameras */
@keyframes show {
    0% {
        opacity: 0;
        transform: scale(0.4) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}