html {
    background-color: rgb(80,80,100);
    color: black;
    font-size: 200%;
}

#story {
    padding: 2em;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
}

#linedstory {
    /*padding-bottom: 2em;*/
}

@font-face {
    font-family: Toki;
    src: url('Toki-Regular.ttf');
}
@font-face {
    font-family: Kris;
    src: url('Kris-Regular.ttf');
}
body {
    font-family: Toki;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */    

    /* Always show scrollbar */
    overflow-y:scroll;
}
header {
    /*margin: 1em 5% 1em;*/
    margin-bottom: 1em;
    color: white;
}

.hidden {
    visibility: hidden;
}

.fadein {
    animation: fadein 1s;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#scrollTarget {
    padding-bottom: 5em;
}

#scrollPadding {
    padding-bottom: 10em;
}

@keyframes blink {
    /**
     * At the start of the animation the dot
     * has an opacity of .2
     */
    0% {
      opacity: .2;
    }
    /**
     * At 20% the dot is fully visible and
     * then fades out slowly
     */
    20% {
      opacity: 1;
    }
    /**
     * Until it reaches an opacity of .2 and
     * the animation can start again
     */
    100% {
      opacity: .2;
    }
}

/*
a.choice {
    font-style: italic;
    color: #404080;
    text-decoration: underline solid #40408040;
    transition: text-decoration .5s ease;
}

a.choice:hover {
    color: #2060a0;
    text-decoration: underline solid #2060a0;
    transition: text-decoration .5s ease;
}

a.choice:active {
    color: #000000;
    text-decoration: underline solid #000000;
    transition: text-decoration 0s ease;
}
*/

@keyframes choice {
  0% {
    transform: translate(0%, 0%);
  }

  50% {
    transform: translate(5%, 0%);
  }

  100% {
    transform: translate(0%, 0%);
  }
}
@keyframes choicecolor {
  0% {
    color: rgba(50, 50, 150, 1);
  }

  50% {
    color: rgba(100, 100, 100, 1);
  }

  100% {
    color: rgba(50, 50, 150, 1);
  }
}


.choicediv {
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: 125%;
}

a.choice {
    animation: choicecolor 3s ease infinite;
    text-decoration: none;
    transition: color .5s ease;
    transition: text-shadow .25s ease;
}

a.choice:hover {
    animation: none;
    color: rgba(0, 0, 0, 1);
    transition: color .5s ease;
	text-shadow: 0px 0px 3px #000;
    transition: text-shadow .25s ease;
}

a.choice:active {
    color: rgba(50, 50, 50, 1);
    transition: color .5s ease;
    transition: text-shadow .25s ease;
}

.enddiv {
    margin-top: .5em;
    font-size: 400%;
    text-align: center;
}

a.end1 {
    text-decoration: none;
    transition: text-decoration .5s ease;
    transition: transform 1s ease;
    animation-play-state: paused;
    color: #ffffd0
}

a.end1b {
    text-decoration: none;
    transition: text-decoration .5s ease;
    transition: transform 1s ease;
    animation-play-state: paused;
    color: #ffffd0
}

a.end1b:hover {
    color: #c0c0a0
}

a.end1b:active {
    color: #808060
}

a.end1:hover {
    transform: translateY(-25%);
    transition: text-decoration .5s ease;
    transition: transform 1s ease;
    animation-play-state: paused;
    color: #c0c0a0
}

a.end1:active {
    transition: transform 1s ease;
    animation-play-state: paused;
    color: #808060
}

a.end2 {
    text-decoration: none;
    transition: text-decoration .5s ease;
}

a.end2:hover {
    transition: text-decoration .5s ease;
}

a.end2:active {
    transition: text-decoration 0s ease;
}

#overlay {
  background: black;
  z-index: 9999;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
}

.clickIndicator {
    font-size: 60%;
    opacity: .75;
}

@keyframes passing2 {
  0% {
    transform: translate(0%, -10%);
    opacity: 0;
  }

  10% {
    transform: translate(20%, -40%);
  }

  20% {
    transform: translate(40%, -10%);
    opacity: 1;
  }

  30% {
    transform: translate(60%, -40%);
  }

  40% {
    transform: translate(80%, -10%);
  }

  100% {
    transform: translate(250%, -40%);
    opacity: 0;
  }
}

.faa-passing2.animated,
.faa-passing2.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-passing2 {
  -webkit-animation: passing2 2s linear infinite;
  animation: passing2 2s linear infinite;
}

.faa-passing2.animated.faa-fast,
.faa-passing2.animated-hover.faa-fast:hover,
.faa-parent.animated-hover:hover > .faa-passing2.faa-fast {
  -webkit-animation: passing2 1s linear infinite;
  animation: passing2 1s linear infinite;
}

.faa-passing2.animated.faa-slow,
.faa-passing2.animated-hover.faa-slow:hover,
.faa-parent.animated-hover:hover > .faa-passing2.faa-slow {
  -webkit-animation: passing2 3s linear infinite;
  animation: passing2 3s linear infinite;
}

.headertitle {
    text-align: center;
}

.navbar {
    display: flex;
    justify-content: flex-end;
}

.navitem {
    width: 1.5em;
}

a {
    text-decoration: none;
    color: #ffffff;
}

a:hover {
    color: #c0c0c0;
}

a:active {
    color: #808080;
}

@keyframes pulseanim {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}

.pulse {
    animation: pulseanim 2s ease-in-out infinite;
}