
.video,
.anime-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    z-index: 1;
    overflow: hidden;
    border-radius: 3px;
    margin: .5rem 0;
}

.video iframe,
.anime-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container {
    background: rgb(0, 0, 0, .7);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: .5rem;

}

.onhover {
    opacity: 0;
    transition: all 250ms ease-in-out;
}

.anime-video:hover .onhover {
    opacity: 1;
}

.video-info {
    width: calc(100% - 1rem);
    margin: 0 auto;
    color: white;
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 1rem;
    align-items: center;
    line-height: 0;
}

.video-buttons {
    display: flex;
    align-items: center;
}

.video-buttons *+* {
    margin-left: .5rem;
}

.video-info svg {
    width: 1em;
    fill: white;
    cursor: pointer;
    padding: .4rem .7rem;
    box-sizing: content-box;
}

.video-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, .3);
    border-radius: 5px;


}

.video-progress {
    height: 4px;
    background: rgba(255, 255, 255, .5);
    border-radius: 5px;

}