@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', cursive;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #fff2b6;
  /*background-image: url('../img/flat-lay-back-school-still-life-assortment.jpg');
  background-size: cover;*/
  margin: 0;
}

/* TextAlive App API basic example CSS */

#overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #000C;
    background-image: url(../img/tutorialMiku.png);
    background-position: bottom right;
    background-size: 50vh;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    color: white;
    font-size: 3vh;
    padding: 1em;
    z-index: 100;
  }

  #loadingButtons {
    display: flex;
    width: 50%;
  }

  #loadingButtons button {
    padding: 1em;
    font-size: 3vh;
    display: inline-block;
  }

  #languageBtn {
    padding: 1em;
    font-size: 3vh;
    position: absolute;
    right: 0;
    top: 0;
  }

  #container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #lyrics {
    font-size: 6em;
  }
  
  #media {
    display: none;
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px;
    background: rgba(0,0,0,0.2);
  }
  
  #header {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
  }

  #position {
    display: none;
  }
  
  #meta {
    margin: 10px;
    padding: 5px;
    background: rgba(0,0,0,0.2);
  }
  
#tabletContainer {
  width: 1399px;
  height: 892px;
  position: relative;
  transform-origin: top left;
}

#tabletSuperContainer {
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

#tabletFront {
  height: 892px;
  position: absolute;
  pointer-events: none;
}

#tabletMask {
  width: 1080px;
  height: 780px;
  position: absolute;
  left: 156px;
  top: 67px;
}

#tabletBack {
  width: 1080px;
  height: 780px;
  position: absolute;
  left: 156px;
  top: 67px;
}

svg {
    font-size: 64px;
    font-family: 'Noto Sans JP','Arial', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.5s linear;
    position: absolute;
    inset: 0;
    height: 100%;
}

svg rect {
    mask: url(#myText);
}

#beat {
  background-color: aqua;
}

#actionButtons {
  position: absolute;
  top: 75;
  right: 65;
  width: 100px;
}

#actionButtons button {
  font-size: 28px;
}

.tabletButton {
  width: 95px;
  height: 95px;
}