:root {
    --thumbnailWidth: 250px;
    --videoWidth: 400px;
}

.current-video .highlight,
.highlight:hover {
    opacity: .8;
}

.current-video .highlight {
    background-color: black;
}

.current-video .highlight:hover {
    background-color: black;
}

.current-video p:before {
    content: "Now Playing:";
    display: block;
    font-weight: bold;
    margin-bottom: 1em;
}

.highlight {
    height: 100%;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    width: 100%;
}

.highlight:hover {
    background-color: darkcyan;
}

iframe {
    border: none;
}

.thumbnail {
    background-position: center;
    background-size: cover;
    cursor: pointer;
    display: inline-block;
    height: calc(9 * var(--thumbnailWidth) / 16);
    overflow: hidden;
    position: relative;
    width: var(--thumbnailWidth);
}

.thumbnail .title {
    color: white;
    font-family: verdana, helvetica, arial, sans-serif;
    font-size: 10px;
    line-height: 1.5em;
    margin: 1.5em;
    pointer-events: none;
    position: relative;
}

#video,
#video iframe {
    height: calc(9 * var(--videoWidth) / 16);
    width: var(--videoWidth);
}
