@font-face {
    font-family: 'SA2 Bold';
    src: url(fonts/SA2Bold.otf) format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
  font-family: 'Pirkkala';
  src: url(fonts/pirkkala.ttf) format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Rodin';
  src: url(fonts/rodin.otf) format('opentype');
  font-style: normal;
}

@font-face {
  font-family: 'Tiny5';
  src: url(fonts/Tiny5.otf) format('opentype');
  font-style: normal;
}

body {
  margin: auto;
  width: 100vw; height: 100vh;
  font-family: Verdana;
  color: white;
  align-content: center;
  background-color: #3a0101;
  background-image: 
    linear-gradient(45deg, #5a0000 25%, transparent 25%), 
    linear-gradient(-45deg, #5a0000 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #5a0000 75%), 
    linear-gradient(-45deg, transparent 75%, #5a0000 75%);
  background-size: 100px 100px;
  background-position: 0 0, 0 50px, 50px -50px, -50px 0px;
  animation: diagonalScroll 6s linear infinite;
}

@keyframes diagonalScroll {
  0% {
    background-position: 0 0, 0 50px, 50px -50px, -50px 0px;
  }
  100% {
    background-position: 100px 100px, 100px 150px, 150px 50px, 50px 100px;
  }
}
  
  .mainbox {
  width:85%; height:85%;
  border-color: #f84040;
  border-width: 6px;
  border-style: solid;
  border-radius: 36px;
  box-shadow: 0px 0px 1vw black;
  margin: auto auto;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.logo {
  width: 50%;
  height:24%;
  font-size: 1.3vw;
  font-family:SA2 Bold;
  font-style: italic;
  position: absolute; 
  right: 1vw; top: 1.2vw;
  margin: 0;
  text-align: center;
  letter-spacing: .6vw;
  transform: scaleY(1.1);
  color: white;
  z-index:100;
  text-shadow: 0px 0px 2vw black;
}

.logo:first-line {
  font-size: 3.4vw;
  text-decoration: underline;
  color: #f84040;
}

.animationbox {
  width: 100%;
  height:75%;
  background-color:black;
  overflow: hidden;
  display: flex;
  background-image: url(images/riwaybg.png);
  background-repeat: repeat-x;
  animation: bgscroll 120s linear infinite;
  background-size: auto 100%;
  background-position: top;
  flex-wrap: wrap;
}

@keyframes bgscroll {
  from {background-position: 0%;}
  to {background-position: 4500%;}
}

.wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.backarrow {
  position: absolute;
  left: 1.2vw; top: 2.2vh;
  width: 3vw; height: 7vh;
  background-image: url(images/backarrow.png);
  background-size: contain; background-repeat: no-repeat;
  z-index: 10;
}

.backarrow:hover {
  cursor: pointer;
}

.playpause {
  position: absolute;
  left: 1.2vw; top: 11.2vh;
  width: 3vw; height: 7vh;
  background-image: url(images/playpause.png);
  background-size: contain; background-repeat: no-repeat;
  z-index: 10;
}

.playpause:hover {
  cursor: pointer;
}

.titlebox {
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  margin: auto;
  margin-top: -1vh;
  width: 100%;
}

.titlebox > h1{
  color: white;
  font-size: 60px;
  text-decoration: underline;
  text-align: center;
  font-family: SA2 Bold;
}

.vmu {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  align-content: center;
  display: block;
  z-index: 12;
  pointer-events: none;
}

.vmudisplay {
  width: 100%;
  max-width: 456px;
  height: 384px;
  margin: 0 auto;
  background: #2C845E;
  background: radial-gradient(circle,rgba(44, 132, 94, 1) 72%, rgba(37, 116, 100, 1) 100%);
  z-index: 6;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 228px;
  overflow-y: auto;
  overflow-x: hidden;
}

.vmutext {
  font-family: Tiny5;
  font-size: 24px;
  color: black;
  text-align: justify;
  padding: 6px 18px;
}

/** Title Header */
.vmutext > h1 {
  margin: 0;
  font-size: 48px;
  text-align: center;
}

/** Line */
.vmutext > h2 {
  top: -20px;
  margin: 0 0 0 -12px;
  font-size: 66px;
  text-align: center;
  letter-spacing: -3px;
  line-height: 0;
  word-break: break-all;
}

.vmutext > p > a {
  color: black;
}

.charportrait {
  width: 100%;
  max-width: 420px;
}

.smallchar {
  width: 100%;
  max-width: 120px;
  float: right;
  margin: 0 6px 0 12px;
}

.smallchar-left {
  width: 100%;
  max-width: 120px;
  float: left;
  margin: 0 12px 0 6px;
}

.vmucontainer {
  height: 100%;
  width: 700px;
  margin: 0 auto;
  position: relative;
}