@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

html,
body {
  overflow: hidden;
  color: #ffffff;
}

header {
  display: none;
}

body {
  margin: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

canvas {
  width: 100%;
  height: 100%;
  z-index: -999999999;
  opacity: 0.7;
}

.video-background {
  background: #000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -99;
}

.video-foreground,
.video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#vidtop-content {
  top: 0;
  color: #fff;
}

.vid-info {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 1rem;
  font-family: Avenir, Helvetica, sans-serif;
}

.vid-info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0;
  line-height: 1.2;
}

.vid-info a {
  display: block;
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.6s background;
  border-bottom: none;
  margin: 1rem auto;
  text-align: center;
}

@media (min-aspect-ratio: 16/9) {
  .video-foreground {
    height: 300%;
    top: -100%;
  }
}

@media (max-aspect-ratio: 16/9) {
  .video-foreground {
    width: 300%;
    left: -100%;
  }
}

@media all and (max-width: 600px) {
  .vid-info {
    width: 50%;
    padding: 0.5rem;
  }

  .vid-info h1 {
    margin-bottom: 0.2rem;
  }

  span {
    display: none;
  }

  #main-text {
    justify-content: center;
    flex-wrap: wrap;
  }

  #main-text a {
    flex-basis: 100%;
    margin: -10px 0px;
  }
}

@media all and (max-width: 500px) {
  .vid-info .acronym {
    display: none;
  }
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none !important;
}

center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#copyright {
  font-family: "Verdana";
  font-size: 10px;
  letter-spacing: 1px;
  position: fixed;
  text-align: right;
  bottom: 1px;
  width: 100%;
}

#main-text {
  font-family: "Roboto";
  font-size: 35px;
  letter-spacing: -1px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 140px;
}

#main-text a {
  flex: 1;
  text-align: center;
  padding: 10px;
}

#main-text span {
  font-size: 0.75em;
}

#mute {
  margin-top: 15px;
  cursor: pointer;
}
