body {
  font-family: 'Baskerville';
  font-size:1.1em;
}

div.intro{
    max-width: 25%;
    position: fixed;
    bottom:0;
    right:0;
}

.poem {
  font-family: 'Times New Roman';
  font-size: 1.1em;
/*        white-space: pre;*/
  padding: 10px;
  line-height: 1;
  margin: 1px;
  outline: none;
  border: 1px solid black;
  width: 500px;
  height: 500px;
}


div.container {
  position: relative;
}

div.child {
  position: absolute;
  top: 0;
  margin-top:3em;
  margin-left:auto;
  margin-right:auto;
  left: 0; /*NEW*/
  right: 0; /*NEW*/
  width: 550px;
  height: 750px;
  box-shadow: 8px 8px 21px #000000;
  background-color: white;
  padding: 1em;
}

/* button stuff */

button {
width: 80px;
  
}

/* text animation stuff */
.gone {
  opacity: 0;
}

@keyframes fadeAway {
  0% {opacity: 1;}
  50% {opacity: .5;}
  100% {opacity: 0;}
}

@keyframes fadeIn {
  0% {opacity: 0;}
  50% {opacity: .5;}
  100% {opacity: 1;}
}

/* modal */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* for slider */
.slider {
  -webkit-appearance: slider-vertical;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 15px; /* Specified height */
  background: #d3d3d3; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 15px; /* Set a specific slider handle width */
  height: 15px; /* Slider handle height */
  background: black; /* Green background */
  cursor: pointer; /* Cursor on hover */
  outline: none;
}

.slider::-moz-range-thumb {
  width: 15px; /* Set a specific slider handle width */
  height: 15px; /* Slider handle height */
  background: black; /* Green background */
  cursor: pointer; /* Cursor on hover */
  outline: none;
}

/* speed selection slider stuff */
datalist {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  writing-mode: vertical-lr;
  width: 300px;
}

option {
  padding: 0;
}

input[type="range"] {
  width: 300px;
  margin: 0;
}