:root {
  --head: #7C444F;
  --content: #9F5255;
  --head-text: #E16A54;
  --content-text: #F39E60;
  --dark: #9F5255;
  --success: #57e389;
  --info: #62a0ea;
  --warning: #f8e45c;
  --font-pixel: 'VT323', monospace;
}

body {
  background: #fff;
  color: #fff;
  font-size: 0.875em;
  font-family: "VT323", monospace;
  padding: 0;
  margin: 0;
  background: url(sky_2.png);
  height: 100vw;
  background-attachment: fixed;
  /*background-position: center; */
	/*background-size: cover;*/
  /*background: url("/space_1.png");*/
}
  
.wrapper {
  background: none;
  top: 0;
  margin: 0 auto;
  width: 870px;
}
  
.sidebar-left, .sidebar-right {
  width: 175px;
}
  
.main {
  width: 500px;
  margin-left: 185px;
}
  
.sidebar-left {
  margin-left: 0px;
}
  
.wrapper, .links a {
  color: #ddd;
}
  
.box {
  border: 3px double #333;
  background: #222;
  padding: 0;
  border-radius: 15px;
}
  
.header {
  background: var(--head);
  color: var(--head-text);
  text-align: center;
  margin-top: 15px;
  top: 0;
  height: auto;
  border-radius: 15px;
}
  
.links {
  margin-top: 1em;
}
  
.title { /*suppress title, since we're putting the title as text in the header box*/
  display: none;
}

.footer {
  height: 0;
}

.box h2 { 
  border-radius: 10px 10px 0px 0px;
}
  
.box h1, .box h2, .box h3, .box h4 {
  background: var(--head);
  color: var(--head-text);
  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;
  background: var(--content);
  color: var(--content-text);
  border-radius: 0px 0px 10px 10px;
}

canvas {
  border-radius: 0px 0px 10px 10px;
}

#draggable {
  position: absolute;
  z-index: 9;
  background-color: var(--content);
  color: var(--content-text);
  text-align: center;
  border-radius: 15px;
  border: 3px double #333;
}

#draggableheader {
  padding: 10px;
  cursor: move;
  z-index: 10;
  background-color: var(--head);
  color: var(--head-text);
  border-radius: 10px 10px 0px 0px;
  border-bottom: 3px double #333;
}

#dragimage {
  position: absolute;
  z-index: 11;
  text-align: center;
}

#dragimageheader {
  cursor: move;
  z-index: 12;
}
  
  
/* 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;
    }
  }