body {
  font-size: 15px;
  font-family: monospace;
  padding: 0;
  margin: 0;
  background-image: url("Backgrounds/PILLZbg.png");
  animation: animate-bg 8.0s infinite linear;
  }
  
  @keyframes animate-bg {
  100% {
    background-position: 480px 480px;
  }
}

  @keyframes animate-ch {
  100% {
    background-position: 55px 55px;
  }
}
  
.wrapper {
  background: none;
  top: 0;
  margin: 0 auto;
  width: 1370px;
  }
  
.sidebar-left, .sidebar-right {
  width: 175px;
  }
  
.main {
  width: 1000px;
  margin-left: 185px;
  }
  
.sidebar-left {
  margin-left: 0px;
  }
  
.wrapper {
  color: #edc32c;
  }

.links a {
	color: #edc32c;
  text-shadow: 2px 2px 5px black;
}

.links a:hover {
	color: #fbe598;
}
  
.box {
  border: 3px solid #7DABC1;
  border-radius: 10px;
  background: #E1E6E9;
  background: linear-gradient(180deg,rgba(225, 230, 233, 1) 0%, rgba(170, 199, 240, 1) 100%);
  padding: 0;
  }
  
.header {
  font-size: 25px;
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
  border: 3px solid #333;
  border-radius: 25px;
  background: #140b3b;
  background: linear-gradient(360deg,rgba(20, 11, 59, 1) 0%, rgba(74, 109, 145, 1) 100%);
  text-align: center;
  margin-top: 15px;
  top: 0;
  height: auto;
  text-shadow: 2px 2px 5px black;
  }
  
.header h1 {
	margin-top: 10px;
	margin-bottom: 10px;
}
  
.links {
  background: #567EA8;
  background: linear-gradient(180deg,rgba(86, 126, 168, 1) 0%, rgba(9, 53, 99, 1) 100%);
  margin-top: 1em;
  border: 3px solid #333;
  border-radius: 10px;
  text-shadow: 2px 2px 5px black;
  }
  
.title { /*suppress title, since we're putting the title as text in the header box*/
  display: none;
  }

.footer {
  height: 0;
  }
  
.box h1, .box h2, .box h3, .box h4 {
  background: #7DABC1;
  background: linear-gradient(180deg,rgba(125, 171, 193, 1) 0%, rgba(41, 106, 163, 1) 100%);
  margin: 0;
  padding: 0.35em 0.25em 0.3em 0.25em;
  text-align: center;
  border-radius: 7px 7px 0px 0px;
  border-bottom: 5px solid #296AA3;
  text-shadow: 2px 2px 5px black;
  color: #edc32c;
  }
  
.box a {
	color: #12282f;
}

.box a:hover {
	color: #1468a7;
}

.box details {
	padding: 10px 10px 10px 10px;
	border: 3px double #333;
	background: #4a6d91;
	color: #edc32c;
	margin-bottom: 3px;
}

.character-box {
	margin-top: 10px;
	border: 3px double #333;
	padding: 10px 10px 10px 10px;
	background: black url("Backgrounds/BGC.png");
	color: green;
	animation: animate-ch 4.0s infinite linear;
}

.character-box img {
	border: 3px solid #333;
	float: left;
	margin-right: 20px;
	width: 150px;
	height: 150px;
}

.character-box p {
	font-size: 15px;
}

.character-box a {
	font-size: 15px;
	color: green;
}
  
.inner {
  padding: 0.25em 1em 0.3em 1em;
  font-size: 15px;
  }

.inner img {
	display: block;
  margin: auto;
  width: 50%;
}

.inner-scroller {
	padding: 0.25em 1em 0.3em 1em;
	font-size: 1.075em;
	height: 675px;
	overflow: auto;
}

#roles-image {
  width: 75%;
}

#char-image {
	display: block;
  margin: auto;
  width: 50%;
}
  
/* For narrow screens: slightly narrows sidebars, and makes the width
 * of the main/center div flexible (sized relative to viewport width.)
 */
@media(max-width:880px) {
  .wrapper {
    width: calc(340px + 50vw);
    }
  .sidebar-left, .sidebar-right {
    width: 160px;
    }
  .main {
    width: 50vw;
    margin-left: 170px;
    }
  }

/*Mobile compatibility. Just turns it all into a vertical layout.*/  
@media(orientation:portrait) {
  .wrapper {
    width: 96vw;
    margin: 0 auto;
    padding:0;
    position: relative;
    }
  .wrapper-2 {
    width: 94vw;
    margin: 0 auto;
    padding:0;
    position: relative;
    }
  .sidebar-left, .main, .sidebar-right {
    position: relative;
    width: 92vw;
    margin: 0.25rem 1vw;
    }
  }

  * {
	  scrollbar-width: thin;
	  scrollbar-color: #7dabc1 #e1e6e9;
  }
  