@import 'https://fonts.googleapis.com/css?family=Ubuntu:700';
@import 'version.css';

body
{
  font-family: 'Ubuntu', sans-serif;
}

ul
{
  list-style: none;
}

#intro .title
{
  height: 60vh;
  width: 60vw;
  margin-top: 20vh;
  margin-left: 20vw;
  font-size: 5vw;
  background: rgb(161, 168, 246);
  color: #fff;
  border-radius: 5vw;
  text-shadow: 3px 3px 10px #555;
  text-align: center;
  box-shadow: 5px 5px 15px #555;
}
#intro .title :first-child
{
  color: rgb(163, 87, 185);
  padding-top: 15vh;
}
#version
{
  display: none;
  position: fixed;
  right: 1em;
  bottom: 0em;
  padding-bottom: 1em;
  text-align: right;
  font-size: 8pt;
  font-family: Arial;
}

/* The readout of matching strings typed in */
#typed
{
  line-height: 10vh;
  font-size: 10vh;
  text-align: center;
  vertical-align: middle;
  position: fixed;
  height: 10vh;
  width: 80vw;
  top: 0vh;
  left: 10vw;
  text-shadow: 3px 3px 10px #555;
}

#display
{
  display: none;
  font-size: 75vh;
  line-height: 75vh;
  margin-top: 10vh;
  margin-left: 25vw;
  width: 50vw;
  height: 80vh;
  text-align: center;
  vertical-align: middle;
  border-radius: 5vw;
  box-shadow: 5px 5px 15px #555;
}

#video
{
  display: none;
  margin-top: 10vh;
  margin-left: 10vw;
  height: 80vh;
  width: 80vw;
}
#video video
{
  height: 100%;
  border-radius: 2vw;
  box-shadow: 5px 5px 15px #555;
}

/* The animated word box starts hidden at the bottom of the video */
#word
{
  display: none;
  background-color: rgba(0,0,0,0);
  z-index: 10;
  position: fixed;
  height: 20vh;
  width: 100vw;
  left: 0vw;
  text-align: center;
  vertical-align: middle;
  text-shadow: 5px 5px 15px #555;
}

/* Spinning stars that fade between purple and pink in the word */
#word .star
{
  display: inline-block;
  font-size: 0.5em;
  vertical-align: top;
}
#word .star:first-child
{
  animation: spin-cw 1s linear infinite;
}
#word .star:last-child
{
  animation: spin-ccw 1s linear infinite;
}
@keyframes spin-cw
{
  0% { color: purple; }
  25% { color: pink; }
  50% { color: purple; }
  75% { color: pink; }
  100%
  {
    transform: rotate(360deg);
    color: purple;
  }
}
@keyframes spin-ccw
{
  0% { color: purple; }
  25% { color: pink; }
  50% { color: purple; }
  75% { color: pink; }
  100%
  {
    transform: rotate(-360deg);
    color: purple;
  }
}

/* The static image display region */
#image
{
  display: none;
  background-color: rgba(0,0,0,0);
  z-index: 5;
  position: fixed;
  width: 100vw;
  left: 0;
  text-align: center;
  vertical-align: middle;
}
#image img
{
  height: 100vh;
  max-height: 100vh;
}

/* The word list slides in from the right edge */
#word-list
{
  display:none;
  background-color: rgba(0,0,0,0);
  z-index: 7;
  position: fixed;
  height: 100vh;
  width: 30vw;
  top: 0;
  text-align: right;
  font-size: 5vh;
  line-height: 5vh;
  overflow: hidden; /* Just in case */
  text-shadow: 3px 3px 10px #555;
}
#word-list div
{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
#word-list div ul
{
  padding-right: 0.25em;
}
#word-list div ul li:first-child
{
  color: purple;
  margin-bottom: 0.3em;
  text-decoration: underline;
}

#help
{
  display: none;
  position: fixed;
  bottom: 0vh;
  
  font-size: 10pt;
  width: 17em;
  border-radius: 10pt 10pt 0 0;
  background-color: rgb(163, 87, 185);
  padding: 1em;
}
#help th
{
  text-align: left;
  padding-right: 1em;
}
#help td
{
  font-family: Arial;
}