body {
    color: white;
    
}

.video-thumbnail {
    margin-top: 50px;
    
}
.video-thumbnail video {
    width: 80%;
    height: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 640px;
    object-fit: contain;
}   


.video-metadata {
    text-align: left;
    margin-left: 150px;
    margin-right: 150px;
}

.video-title {
    text-align: left;    
    font-size: 20px;
}

.video-id {
   text-align: right;
   font-size: 15px;
   position: relative;
   bottom: 25px;
}

.video-date {
    position: relative;
    text-align: right;
    font-size: 10px;
    bottom: 25px;
    color: #cccccc;
    
}

.channel-id {
    position: relative;
    bottom: 30px; 
    color: #cccccc;
}

.video-description {
    position: relative;
    text-align: left;
    font-size: 10px;
    padding: 5px;
    border-radius: 3px;
    max-height: 40px;
    overflow: hidden;
    cursor: pointer;
    color: #7d7d7d;
    bottom: 30px; 
    white-space: pre-line;
    transition: background-color 0.5s ease, transform 0.3s ease;
}

.video-description:hover {
    background-color: #383838;
  
}  

.video-description:not(.expand)::after {
    content: '...';
    position: absolute;
    font-size: 10px;
    bottom: 0;
    right: 0;
    color: #7d7d7d;
    padding-left: 10px;
}

.expand {
    max-height: none;
}
 

.video-tags {
    text-align: left;
    font-size: 10px;
    max-width: 800px;
    float: right;
}

.video-rating {
 text-align: left;
 font-size: 12px;
 color: #42a632;
 display: block;
 position: relative;
 bottom: 50px;
    
}

.video-views {
 position: relative;
 text-align: left;
 font-size: 20px;
 display: block;
 bottom: 50px;
}

.video-comments {
 position: relative;
 text-align: left;
 font-size: 12px;
 bottom: 50px;
 display: block; 
}

.videoError {
 text-align: center;
 margin-top: 50px;
}

.hidden {
 visibility: hidden;
}

.video-extra-metadata-container {
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: #383838;
    transform: translate(-50%, -50%);
    padding: 10px;
    border-radius: 8px;
    z-index: 1000;
    width: 300px;
    height: 400px;
}


.video-extra-metadata-container div {
    font-size: 12px;
    font-family: Arial;
    margin-right: 5px;
}


.video-emc-title {
 text-align: center;
 margin-bottom: 5px;	

}


.emc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.video-extra-metadata-btn {
 float: right;
 clear: right;
 font-size: 10px;
 cursor: pointer;
 margin-bottom: 15px;
}


.video-dl-btn {
 background-color: #194fff;
 border-radius: 5px;
 width: 120px;
 padding: 5px;
 font-size: 10px;	
 color: white;
 position: relative;
 top: 50px;
 pointer-events: auto;
 display: flex;
 align-items: center;
 gap: 5px;
}

.video-dl-btn img {
 width: 14px;
 height: 14px;
}