* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  background-color: #9d0000;
  overflow: hidden;
  font-family: 'Taviraj', serif;
}

/* INTRO SCREEN */
#intro {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #9d0000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
  animation: fadeOutIntro 1s ease-out 2s forwards;
}

#intro g {
  font-family: Garamond, serif;
  font-size: 5vw;
  color: #ffffff;
  text-shadow: 0 0 5px #fff;
}

#intro x {
  font-family: Garamond, serif;
  font-size: 2vw;
  color: #000000;
  letter-spacing: 10px;
}

@keyframes fadeOutIntro {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* MAIN CONTAINER */
.container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('https://i.imgur.com/ayjttdu.png') center center / cover no-repeat;
  opacity: 0;
  animation: fadeInBackground 2s ease-out 3s forwards;
}

@keyframes fadeInBackground {
  to {
    opacity: 1;
  }
}

/* LEFT-TO-RIGHT QUOTE FADE-IN */
.wavefade-quote {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  font-family: Garamond, serif;
  font-size: 20px;
  color: #ffffff;
  text-shadow: 0 0 5px #fff;
  z-index: 2;
  overflow: hidden;
}

.wavefade-quote a {
  display: inline-block;
  text-decoration: none;
  color: transparent;

  background: linear-gradient(to right, #ffffff, #ffffff);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left;
  background-clip: text;
  -webkit-background-clip: text;

  animation: fadeReveal 5s ease-in-out 3s forwards;
  -webkit-animation: fadeReveal 5s ease-in-out 5s forwards;
}

.wavefade-quote a:hover {
  color: #9d0000;
  background: none;
}

@keyframes fadeReveal {
  0% {
    background-size: 0% 100%;
  }
  100% {
    background-size: 100% 100%;
  }
}

@-webkit-keyframes fadeReveal {
  0% {
    background-size: 0% 100%;
  }
  100% {
    background-size: 100% 100%;
  }
}
