body {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  background: #e7bec1;
  color: #1f1a19;
}

/* Seems necessary to make iframes work on itch.io on mobile iOS :-( */
#container {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;

  height: 100%;
  width: 100%;
  top: 5em;
  left: 0;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
}

#story {
  position: relative;
  margin: 0 auto;
  height: 100%;
  width: 700px;
  min-width: 60vw;
  max-width: 80vw !important;
  transition: opacity 2s ease;
  padding: 0em 1em 0em 1em;
}

.background-waves {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 99.5vw;
	position: relative;
	right: 50%;
	width: 100vw;
  height: 100px;
  background-repeat: repeat-x;
  background-image: url('back-waves.png');
  margin-bottom: -20px;
}

.background {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 99.5vw;
	position: absolute;
  z-index:-1;
	right: 50%;
	width: 100vw;
  height: 105em;
  background-repeat: repeat;
  background-image: url('back.png');
}


/* ================================================================= */

p {
  margin-block-start: 0px !important;
  font-size: 1.4em;
  line-height: 1.4;
}

p,
p>* {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

br {
  margin-bottom: 0.5em;
}

img {
  max-width: 100%;
  max-height: 100%;
  image-rendering: pixelated;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  margin-bottom: 2em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}