/* Font */
@import url(https://fonts.googleapis.com/css?family=Lato:400,700);

/* Main style */

body {
  background-color: #111;
  font-family: 'Lato', sans-serif;
  margin: 0;
  overflow: hidden;
}

p  {
  margin: 0;
}

video {
  display: block;
  min-height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: auto;
}

/* Links */

.link a {
  display: block;
  padding-top: 4px;
  padding-bottom: 4px;
  color: #111;
  text-decoration: none;
  transition: color 0.15s;
}

.link a:hover {
  color: #E54B00;
}

/* Controls */

.displayTopRight {
  position: fixed;
  padding: 15px;
  top: 10px;
  right: 0px;
  font-size: 26px;
  background-color: white;
  opacity: 0.5;
  display: none;
}

.controlsleft {
  position: fixed;
  padding: 15px;
  bottom: 0px;
  left: 0px;
}

.controlsright {
  position: fixed;
  padding: 15px;
  bottom: 0px;
  right: 0px;
}

/* Standard button thing */

.quadbutton {
  cursor: pointer;
  color: white;
  font-size: 22pt;
  padding: 3px;
  opacity: 0.2;
  transition: transform 45ms ease-in, opacity 0.5s;
  user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none;
  text-shadow: -1px -1px 0 #111, 1px -1px 0 #111, -1px 1px 0 #111, 1px 1px 0 #111;
}

.quadNotMobile {
  opacity: 1;
}

.quadbutton:active {
  transform: scale(0.9, 0.9);
  opacity: 1;
}

.quadbutton:hover {
  transform: scale(1.1, 1.1);
  opacity: 0.8;
}

.quadbutton:active.fa-flip-horizontal {
  transform: scale(-0.9, 0.9);
  opacity: 1;
}

.quadbutton:hover.fa-flip-horizontal {
  transform: scale(-1.1, 1.1);
  opacity: 0.8;
}

.fa-play {
  margin-right: 1.719px;
}

/* Menu */

#menubutton {
  position: fixed;
  padding: 15px;
  top: 10px;
  left: 8px;
}

#closemenubutton {
  color: black;
  text-shadow: inherit;
}

#site-menu {
  position: fixed;
  top: 16px;
  left: 10px;
  width: 540px;
  max-width: 80%;
  max-height: 80vh;
  font-size: 14pt;
  color: #111;
  background-color: white;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.8);
  padding: 5px 15px 15px 10px;
  overflow: auto;
}

#title, #source, #song, #subs {
  color: #555;
}

#title {
  font-size: 20pt;
  display: inline;
}

#source, #song, #subs {
  font-size: 14pt;
}

#linkarea {
  margin-top: 7px;
  margin-bottom: 7px;
  padding-left: 10px;
  margin-left: 5px;
  border-left: solid 3px rgba(0, 0, 0, 0.2);
  list-style: none;
}

.betanote {
  opacity: 0.5;
}

/* Hiding shit */

@keyframes appear {
  from {
    opacity: 0;
    transform: scale(0.5, 0.5);
  } to {
    opacity: 1;
    transform: scale(1, 1);
  }
}

@-webkit-keyframes appear {
  from {
    opacity: 0;
    transform: scale(0.5, 0.5);
  } to {
    opacity: 1;
    transform: scale(1, 1);
  }
}

.is-hidden {
  visibility: hidden;
}

.is-visible {
  opacity: 1;
  animation: appear 85ms;
  -webkit-animation: appear 85ms;
}

.mouse-idle {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0s 0.5s;
}

.mouse-idle:hover {
  visibility: visible;
}

/* Tooltip */
#tooltip {
  position: fixed;
  color: #555;
  padding: 5px;
  border-radius: 5px;
  bottom: 55px;
  background-color: white;
  box-shadow: 0px 0px 3px #111;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  max-width: 30%;
  font-size: 14pt;
}

/* Extra progressbar stuff */

.progressbar {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 20px;
}

.progressbar:hover .progress {
  height: 10px;
}

.progress {
  position: absolute;
  width: 100%;
  height: 2px;
  transition: height 0.1s ease-out, width 0.4s linear, background-color 0.5s ease-out;
}

.progress #bufferprogress {
  background: #CCC;
}

.progress #timeprogress {
  background: #E54B00;
}

.progress:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
