* {
  box-sizing: border-box;
  /* line-height: 1.5em; */
}
a {color: white;}
h1, h2, h3, h4 { font-weight: normal; }
body {
  margin: 0;
  background: black;
  color: white;
  font-family: Rokkitt, Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  overflow: hidden;
}
canvas {
  display: block;
}
.fullscreen-el {
  position: fixed;
  width: 100%;
  height: 100%;
}
.ui-container {
  z-index: 2;
  position: fixed;
}

.info-screen {
  background: #0000007d;
  padding: 2rem;
  font-size: 1.2rem;
  overflow-y: scroll;
  padding-bottom: 6em;
}
.title {
  margin-bottom: 8rem;
}
@keyframes glitch {
  0% { opacity: 0; }
  1% { opacity: 1; }
  2% { opacity: 1; }
  3% { opacity: 0; }
  4% { opacity: 0; }
  5% { opacity: 1; }
  6% { opacity: 1; }
  7% { opacity: 0; }
  9% { opacity: 0; }
  10% { opacity: 1; }
  15% { opacity: 1; }
  16% { opacity: 0; }
  18% { opacity: 0; }
  19% { opacity: 1; }
  52% { opacity: 1; }
  53% { opacity: 0; }
  66% { opacity: 0; }
  67% { opacity: 1; }
  73% { opacity: 1; }
  74% { opacity: 0; }
  77% { opacity: 0; }
  78% { opacity: 1; }
  99% { opacity: 1; }
  100% { opacity: 0; }
}
.glitch-name {
  animation: glitch 5s infinite alternate;
}
.instruction {
  margin: 3rem 0;
  display: flex;
  justify-content: space-between;
}
.instruction h4 {
  display: flex;
  align-items: center;
  height: 2rem;
  width: 100%;
}
.instruction-text {
  width: 7rem;
}
.about {
  font-size: 1rem;
  color: #ccc;
}
@keyframes breath {
  from {opacity: 0.3;}
  to {opacity: 1;}
}
.text-loading {
  animation: breath 1s linear infinite alternate;
}
.btn-play {
  text-decoration: underline;
  font-style: italic;
  cursor: pointer;
}
.btn-play-container {
  position: fixed;
  bottom: 1rem;
  width: 100%;
  text-align: center;
  padding-right: 4rem; /* make up for the 2rem padding */
}
.icon-button {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.5rem;
  border-radius: 7px;
  width: 2rem;
  border: 2px solid #FFFFFF;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-button-container {
  position: fixed;
  top: 3rem;
  right: 3rem;
  display: flex;
  justify-content: space-between;
  width: 5rem;
}

.chat-input-container {
  width: 80vw;
  display: flex;
  font-size: 1.2rem;
  position: fixed;
  bottom: 4rem;
  left: 10vw;
}
.chat-input {
  width: 100%;
  border: none;
  padding: 10px 20px;
  border-radius: 1em 0 0 1em;
  font-size: inherit;
  color: #C5C5C5;
  background: #0000007d
}
.chat-input-button {
  font-size: inherit;
  border: none;
  border-radius: 0 1em 1em 0;
  padding: 0 .7em;
  background: white;
  color: black;
  transition: background 0.4s ease-out;
  cursor: pointer;
}
.chat-input-button:disabled {
  background: #ffffff7d;
}
.chat-display-container {
  position: fixed;
  left: 10vw;
  top: 3rem;
  width: 30vw;
  height: 70vh;
  overflow-y: hidden;
  display: flex;
  flex-direction: column-reverse;
  pointer-events: none;
}
.chat-display-container>ul {
  width: 100%;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  line-height: 1.7em;
}
.chat-user-name {
  font-weight: bold;
  padding-right: .6em;
}
.video-player {
  display: none;
}
.btn-forward {
  cursor: pointer;
  position: fixed;
  bottom: 1rem;
  margin: 0 auto;
  left: 0;
  right: 0;
  user-select: none;
  width: 70px;
  height: 70px;
  background-image: url(img/mobile-move.png);
}
.disable-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}


@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .title {
    margin-bottom: 0;
  }
  .chat-display-container {
    height: 60vh;
    width: 65vw;
  }
  .info-screen { font-size: 1rem; }
  .instruction {
    display: block;
  }
  .about { font-size: 0.7rem; }
}
