html {
  background-color: #f5f5f5;
  font-family: sans-serif;
}
body {
  margin: 0;
}
#topbar {
  background-color: lightgray;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
}
.embed #topbar {
  display: none;
}
#nav {
  margin: 0 auto;
}
#topbar a {
  text-decoration: none;
  margin: 0 12px;
  font-size: 1em;
  color: black;
  text-transform: uppercase;
  font-style: sans-serif;
  letter-spacing: 1px;
}
#nav a.active {
  border-bottom: 1px solid #a0328b;
}
#nav a.scenes {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}
#content-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
  height: calc(100vh - 50px);
}
.embed #content-container {
  height: calc(100vh);
}
#player-container {
  border: 1px solid #a0328b;
  border-radius: 4px;
  width: 90vw;
  height: 75vh;
  padding: 4px;
}

#sources {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  margin-top: 12px;
  z-index: 20;
}

#sources a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

#scenes {
  position: relative;
  display: inline-block;
}

@font-face {
  font-family: "Simple-Line-Icons";
  src: url("https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.5.5/fonts/Simple-Line-Icons.eot");
  src:
    url("https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.5.5/fonts/Simple-Line-Icons.eot?#iefix")
      format("embedded-opentype"),
    url("https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.5.5/fonts/Simple-Line-Icons.woff")
      format("woff"),
    url("https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.5.5/fonts/Simple-Line-Icons.ttf")
      format("truetype"),
    url("https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.5.5/fonts/Simple-Line-Icons.svg#Simple-Line-Icons")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

:host {
  all: initial;
  display: block;
}

.eighti-container {
  z-index: 10;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  -o-user-select: none;
  user-select: none;
}

.player {
  width: 100%;
  height: 100%;
}

#canvas {
  cursor: -webkit-grab;
  cursor: -moz-grab;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#canvas:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
}

/* Progress bar styles */
.bar {
  position: relative;
  height: 5px;
  width: 96%;
  margin: 2px 2%;
  transition-duration: 0.3s;
  background-color: #ddd;
  overflow: hidden;
  cursor: pointer;
}
.bar:hover {
  height: 7px;
  margin: 1px 2%;
}
.bar .download {
  height: 100%;
  pointer-events: none;
  position: absolute;
  left: -200px;
  background-color: #fa9db5;
  animation: loading 2s linear reverse infinite;
}
@keyframes loading {
  from {
    left: -200px;
    width: 20%;
  }
  to {
    left: 96%;
    width: 20%;
  }
}
.bar .played {
  height: 100%;
  position: absolute;
  background-color: #d43a65;
  pointer-events: none;
}
/* Gets clicked on to seek through the video */
.bar .progress {
  position: absolute;
  height: 100%;
  width: 100%;
}

/* Collapsing panel for controls etc. */
.collapsing {
  bottom: 0px;
  position: absolute;
  width: 100%;
  height: auto;
  transition-duration: 0.5s;
}
.collapsing.hidden {
  /* Move off the bottom of the player. Looks better? */
  bottom: -100px;
}

/* Control bar styles */
.controls {
  color: white;
  bottom: 0;
  position: absolute;
  width: 100%;
  overflow: hidden;
  height: auto;
  text-shadow: 1px 1px 1px #232323;
  z-index: 5;
}
.controls .right {
  float: right;
  margin-right: 2%;
}
.controls .left {
  float: left;
  margin-left: 2%;
}
.controls .hidden {
  display: none;
}
.volume-unmuted:before {
  content: "\e0a0";
}
.volume-muted:before {
  content: "\e0a1";
}
.control-play:before {
  content: "\e071";
}
.control-pause:before {
  content: "\e072";
}
.control-forward:before {
  content: "\e073";
}
.control-end:before {
  content: "\e074";
}
.control-loop:before {
  content: "\e064";
}
.control-settings:before {
  content: "\e09a";
}
.size-fullscreen:before {
  content: "\e057";
}
.size-actual:before {
  content: "\e058";
}
.control-fps {
  width: 30px;
  height: 30px;
  padding: 10px;
  display: inline-block;
}
.control-fps:before {
  display: inline-block;
  content: "";
  padding: 0 0;
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-speedometer' viewBox='0 0 16 16'><path d='M8 2a.5.5 0 0 1 .5.5V4a.5.5 0 0 1-1 0V2.5A.5.5 0 0 1 8 2zM3.732 3.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707zM2 8a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8zm9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5zm.754-4.246a.389.389 0 0 0-.527-.02L7.547 7.31A.91.91 0 1 0 8.85 8.569l3.434-4.297a.389.389 0 0 0-.029-.518z'/><path fill-rule='evenodd' d='M6.664 15.889A8 8 0 1 1 9.336.11a8 8 0 0 1-2.672 15.78zm-4.665-4.283A11.945 11.945 0 0 1 8 10c2.186 0 4.236.585 6.001 1.606a7 7 0 1 0-12.002 0z'/></svg>");
  width: 30px;
  height: 30px;
}
.control-fps.inactive:before {
  display: inline-block;
  content: "";
  padding: 0 0;
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' fill-opacity='0.5' class='bi bi-speedometer' viewBox='0 0 16 16'><path d='M8 2a.5.5 0 0 1 .5.5V4a.5.5 0 0 1-1 0V2.5A.5.5 0 0 1 8 2zM3.732 3.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707zM2 8a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8zm9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5zm.754-4.246a.389.389 0 0 0-.527-.02L7.547 7.31A.91.91 0 1 0 8.85 8.569l3.434-4.297a.389.389 0 0 0-.029-.518z'/><path fill-rule='evenodd' d='M6.664 15.889A8 8 0 1 1 9.336.11a8 8 0 0 1-2.672 15.78zm-4.665-4.283A11.945 11.945 0 0 1 8 10c2.186 0 4.236.585 6.001 1.606a7 7 0 1 0-12.002 0z'/></svg>");
  width: 30px;
  height: 30px;
}
.control-head:before {
  content: "\e005";
}
.icon {
  font-family: "Simple-Line-Icons";
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  font-size: 30px;
  padding: 10px;
  display: inline-block;
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  -o-user-select: none;
  user-select: none;
  cursor: pointer;
  vertical-align: bottom;
}

@media only screen and (max-width: 220px) {
  .controls .right {
    float: left;
  }
}

.icon.inactive {
  color: rgba(255, 255, 255, 0.5);
}

.hide {
  display: none !important;
}

.fullscreen_hack {
  position: fixed;
  -webkit-transform: translate3d(0, 0, 0);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000000;
}
.fps {
  height: 30px;
  font-size: 18px;
  vertical-align: middle;
  padding: 10px 0;
}
.arvr .icon {
  padding-bottom: 6px;
  line-height: normal;
}
