/* 
   hd-www 
   style.css
   mpd 2016/06/20
*/

body {
  background-color: black;
  margin: 0;
  padding: 0;
}

video {
  position: fixed;
  top: 50%; left: 50%;
  z-index: 2;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
}

video .background {
  z-index: 1;
}

a {
  text-decoration: none;
  color: #885;
}

a:hover {
  text-decoration: none;
  color: #996;
}

a:active {
  text-decoration: none;
  color: #552;
}

.fakelink {
  text-decoration: none;
  color: #885;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.fakelink:hover {
  text-decoration: none;
  color: #996;
}

.fakelink:active {
  text-decoration: none;
  color: #552;
}

.toolbar {
  position: absolute;
  padding: 0;
  margin: 0;
  width: 160px;
  height: 80px;
  margin-top: 40px;
  display: none;
}

.toolbar button {
  float: right;
  color: #777;
  border: 0;
  margin-left: 3px;
  margin-bottom: 3px;
  padding: 0;
  background-color: rgba(64, 64, 64, 1.0);
  height: 37px;
  width: 77px;
  font-size: 12px;
  font-weight: bold;
}

button:focus { outline: none; }
button:hover { background-color: rgba(80, 80, 80, 1.0); }
button:active { background-color: rgba(110, 110, 110, 1.0); }

#about {
  background-color: rgba(64, 64, 64, 1.0);
  position: absolute;
  left: 0;
  bottom: 4em;
  width: 50%;
  margin-top: 40px;
  padding-top: 25px;
  padding-left: 40px;
  padding-right: 30px;
  padding-bottom: 40px;
  font-size: 20px;
  display: none;
  color: #777;
  -webkit-clip-path: polygon(0 5%, 100% 0%, 98% 84%, 0 100%);
  clip-path: polygon(0 5%, 100% 0%, 98% 84%, 0 100%);
  z-index: 40000;
  font-family: Montserrat, Helvetica;
}

svg {
  z-index: 30000;
  position: absolute;
  margin: 2em;
  display: none;
}

svg#title {
  left: 0;
  top: 0;
  width: 40%;
}

svg#bpm {
  right: 0;
  bottom: 0;
  width: 15%;
  cursor: pointer;
}

svg#info {
  left: 0;
  bottom: 0;
  width: 15%;
  cursor: pointer;
}

#container {
  display: inline-block;
}

#renderCanvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.IIV::-webkit-media-controls-play-button,
.IIV::-webkit-media-controls-start-playback-button {
    opacity: 0;
    pointer-events: none;
    width: 5px;
}