body {
  background: powderblue;
  font-size: 0.875em;
  font-family: monospace;
  padding: 0;
  margin: 0;
  background: linear-gradient(rgb(176, 224, 230, 0.15), rgb(176, 224, 230, 0.15)), url("https://riverscreek.neocities.org/pattern%20524.gif");
  }
  
.wrapper {
  background: none;
  top: 0;
  margin: 0 auto;
  width: 870px;
  }
  
.sidebar-left, .sidebar-right {
  width: 175px;
  top:0;
  }
  
.main {
  width: 500px;
  margin-left: 185px;
  }
  
.sidebar-left {
  position: absolute;
  margin-left: 0px;
  top:101px;
  left:200px;
  }
  
  .sidebar-right {
  position: absolute;
  margin-left: 0px;
  top:101px;
  right:200px;
  }
  
.wrapper, .links a {
  color: #4f3d46;
  }
  
.box {
  border: 3px double powderblue;
  background: #fff;
  padding: 0;
  }
  
.header {
  border: 3px double powderblue;
  background: linear-gradient(rgb(176, 224, 230, 0.5), rgb(176, 224, 230, 0.5));
  text-align: center;
  margin-top: 15px;
  top: 0;
  height: auto;
  }
  
.links {
  margin-top: 1em;
  display: flex;
  flex-direction: row; 
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: center;
  }
  
.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: powderblue;
  margin: 0;
  padding: 0.35em 0.25em 0.3em 0.25em;
  text-align: center;
  border-bottom: 3px double #333;
  }
  
.inner {
  padding: 0.25em 1em 0.3em 1em;
  font-size: 1.075em;
  }
  
  
/* 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;
    }
  }