﻿.video-player
{
    --accent: #19b5fe;
    --border-width: 5;
    background: var(--accent);
    overflow: hidden;
    position: relative;
}
.video-player__action
{
    position: absolute;
    font-weight: bold;
    font-size: 2rem;
    color: #fff;
    -webkit-transform: scale(0);
    transform: scale(0);
    background: transparent;
    border: 0;
    cursor: pointer;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    outline-color: transparent;
    outline: 0;
}
.video-player__action svg
{
    height: 2.5rem;
    fill: #fff;
}
.video-player__indicator
{
    position: absolute;
    background: var(--accent);
}
.video-player__indicator:nth-of-type(1), .video-player__indicator:nth-of-type(3)
{
    height: calc(var(--border-width) * 1px);
    width: 100%;
    -webkit-transform-origin: left;
    transform-origin: left;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
}
.video-player__indicator:nth-of-type(2), .video-player__indicator:nth-of-type(4)
{
    height: 100%;
    width: calc(var(--border-width) * 1px);
    -webkit-transform-origin: bottom;
    transform-origin: bottom;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
}
.video-player__indicator:nth-of-type(1)
{
    top: 0;
}
.video-player__indicator:nth-of-type(3)
{
    bottom: 0;
}
.video-player__indicator:nth-of-type(2)
{
    top: 0;
    right: 0;
    bottom: 0;
}
.video-player__indicator:nth-of-type(4)
{
    top: 0;
    left: 0;
    bottom: 0;
}
.video-player video
{
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    width: 600px;
    outline-color: transparent;
    height: 255px;
}
#app
{
    width: 50%;
    float: left;
}
