* {
    margin: 0;
    padding: 0;
    outline: none;
}

@import url('https://fonts.googleapis.com/css?family=Roboto');

:root {
    --black: #000;
    --white: #fff;

    --progress-bar: rgb(59, 130, 221);

    --transition: 0.3s;
}

#player {
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}

#player,
#player video {
    position: absolute;
    width: 100%;
    height: 100%;
}

#player video {
    z-index: 50;
}

#controls {
    transition: var(--transition);
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(12, 12, 12, 0.6));
    opacity: 1;
}

#controls #controls-bar {
    display:flex;
}

#controls #left-c {
    position: relative;
    width: 50%;
    display: flex;
}

#controls #left-c * {
    position: relative;
    left: 0;
}

#controls #right-c {
    position: relative;
    width: 50%;
    display: flex;
}

#controls #right-c * {
    position: absolute;
    right:0;
}

#gettime {
    position: absolute;
    top: -25px;
    padding: 2.5px 5px;
    background: var(--progress-bar);
    font-family: 'Roboto', sans-serif;
    font-size: 12.5px;
    transition: var(--transition);
    opacity: 0;
}

#controls button {
    height: 50px;
    width: 50px;
    color: #fff;
    border: none;
    background: transparent;
}

#controls #time {
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    margin: auto 5px;
}

#controls #progress-bar {
    margin: 0 auto;
    height: 5px;
    max-width: 97.5%;
    background: transparent;
    padding: 10px 5px;
}

#controls #progress-bar:hover {
    cursor: pointer;
}

#controls #background-bar {
    position: absolute;
    background: rgba(50, 50, 50, 0.5);
    width: 97.5%;
    height: 5px;
}

#controls #current-bar {
    background: var(--progress-bar);
    height: 5px;
    width: 1px;
    position: absolute;
    z-index: 25;
}

#controls #current-bar::after {
  content: '';
  display: inline-block;
  height: 20px;
  width: 20px;
  border-radius: 100px;
  background: var(--progress-bar);
  float: right;
  position: relative;
  top: -7.5px;
  left: 10px;
  transition: 0.3s;
}

#controls #buffer-bar {
    background: rgba(255, 255, 255, 0.5);
    height: 5px;
    width: 1px;
    position: absolute;
    z-index: 5;
}

#controls #volume-progress-bar {
    margin: auto 5px auto 0;
    height: 5px;
    background: rgba(50, 50, 50, 0.5);
    width: 75px;
    padding: 0 2.5px;
}

#controls #volume-progress-bar:hover {
    cursor: pointer;
}

#controls #volume-bar {
    background: var(--white);
    height: 5px;
    width: 1px;
    position: absolute;
    z-index: 25;
}