/* Horizontal Video Sidebar */
.video-sidebar {
	position: fixed;
	width: 100vw;
	top: 50%;
	left: 50%;
	background: transparent;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
	z-index: 1000;
	cursor: pointer;
	transform: translate(-50%, -50%); /* Centered from the beginning */
}

/* Sidebar Container - gets the transform applied */
.sidebar-container {
	white-space: nowrap;
}

.sidebar-video {
	display: inline-block;
    padding-right: 20px;
    flex-shrink: 0;
    vertical-align: middle;
}

.sidebar-video:first-child {
    padding-left: 200px;
}

.sidebar-video:last-child {
    padding-right: 200px;
}

/* Video Title */
.video-title {
	color: white;
	font-family: 'ABCMonumentGrotesk', 'Arial', sans-serif;
	font-size: 25px;
	font-weight: bold;
	text-align: left;
	margin-bottom: 8px;
	white-space: nowrap;
	overflow: hidden;
	opacity: 0.2;
}

.sidebar-video.hovered .video-title {
    opacity: 0.8;
}

.sidebar-video video {
    border-radius: 0;
	height: 250px;
	object-fit: cover;
	display: block;
    opacity: 0.5;
	transition: transform 0.3s ease, height 0.2s ease;
}

.sidebar-video.active video {
    
}

/* Video Caption */
.video-caption {
	color: white;
	font-family: 'ABCMonumentGrotesk', 'Arial', sans-serif;
	font-size: 12px;
	font-weight: normal;
	text-align: left;
	margin-top: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
    opacity: 0.4;
}

/* Progress Bar */
.progress-bar {
	width: 100%;
	height: 1px;
	background-color: rgb(59, 59, 59);
	margin-top: 26px;
	position: relative;
	overflow: hidden;
}

.progress-line {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background-color: white;
	opacity: 1;
}

/* Hide progress line when not hovered */
.sidebar-video:not(.hovered) .progress-line {
	opacity: 0;
}

/* Hover states with sibling classes */
.sidebar-video.hovered video {
    height: 300px;
    opacity: 1;
}
.sidebar-video.hovered .video-caption {
    opacity: 1;
}

.sidebar-video.hovered-next video {
    /*height: 190px;*/
}

.sidebar-video.hovered-next-2 video {
    /*height: 180px;*/
}