@font-face {
  font-family: 'Undertale';
  src: url('../fonts/undertale-font-rus-eng.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  overflow-y: auto;
  font-family: 'Undertale', sans-serif;
}

.hidden {
  display: none;
}

.centerText {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 24px;
  line-height: 1.25;
}

#soul {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer; 
  z-index: 5;
  display: none;  
}

#dump {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer; 
  z-index: 5;
  display: none;  
}

body[style*="#84357d"] .centerText {
  color: #b962b9;
}

body[style*="#85a3d8"] .centerText {
  color: #cfdbff;
}

body[style*="#1b215a"] .centerText {
  color:#362f79
}

body[style*="#b55515"] .centerText {
  color:#ffa200 
}

body[style*="#8f8f8f"] .centerText {
  color:#a6a6a6
}


