body {
  margin: 0;
  font-family: sans-serif;
  display: flex;
  overflow-x: hidden;
}

.left-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 16vw;
  height: 100%;
  background: url('https://i.imgur.com/jNk4bGr.jpeg') no-repeat right top;
  z-index: 0;
}

.left-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 16vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
}

.char-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.character {
  position: absolute;
  top: 50vh;
  transform: translate(-50%, -50%);
  left: calc(max(60vh, 60vw) * -1);
  max-height: 90%;
  max-width: 50vw;
  transition: left 1s ease, transform 1s ease;
}

.character.visible {
  top: 50vh;
  left: 16vw;
  transform: translate(-50%, -50%);
}

.right-panel {
  margin-left: 35vw;
  margin-right: calc(max(8vw, 10vh));
  width: 74vw;
  padding: 0px 5vw;
  align-items: center;
}

.character-info {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #ccc;
}

.character-info h2 {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-weight: 600;
  font-size: calc(max(3.6vw, 4vh));
}

.character-info p {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-weight: 300;
  font-size: calc(max(1.8vw, 2vh));
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;             
  padding: 1vh 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.bottom-bar svg {
  height: 10vh;
  width: auto;
  background-color: rgba(0,0,0,0.0);
  border-radius: 1vh;
  padding: 1.5vh;  
}

@media (prefers-color-scheme: dark) {
  body {
	background: #303030;
	color: white;
  }
}

@media (prefers-color-scheme: light) {
  body {
	background: #FFF;
	color: black;
  }
}
