html, body {
  height: 100%;
  min-height: 100%;
  background: #191a1d;
	color: #dcddde;
  font-family: lato, lato, sans-serif;
  margin: 0px;
  left: 0px;
  justify-content: left;
  align-items: left;
  padding-left: 0px;
  padding-bottom: 3000px;
}

main {
  margin-left: 3px;
  margin-right: 3px;
}

@media (min-width: 50em) {
  
  nav {
    display: block;
  }
  
  main {
    margin-left: 16em;
  }
}

@media (min-width: 110em) {
  
  main {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Add a black background color to the top navigation */
.topnav {
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  padding: 10px;
  background-color: rgb(0, 0, 0);
  overflow: hidden;
  color: #fff;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 10px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #3004aa;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: left;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
    height: 800px;
  }
  .topnav.responsive a.icon {
    float: right;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/* Style page content */
.main {
  margin-left: 10px;
  padding: 0px 10px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

textarea {
   background: #000000;
   color: #b5b7ba;
   width: 90%;
   max-width: 100em;
   font-size: 1rem;
}

input[type="button"] {
	background: #000000;
  border: #000000;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
	color: #ffffff;
    min-height: 6mm;
    margin: 1mm;
	font-size: smaller;
}

@media only screen and (min-width: 40em) {
    body {
        margin: 0;
        padding: 0;
    }
    #gui {
        margin: 2rem;
        padding: 0;
        width: 20rem;
    }
    #output-container {
        display: block;
        font-size: .8rem;
        position:fixed;
        left: 24rem;
        right: 0 !important;
        width: auto;
        max-width: none;
        top: 0;
        bottom: 0;
        margin: 0;
    }
    textarea {
        width: 100%;
        height: 100%;
    }
}

/* unvisited link */
a:link {
  color: #c3c3c3;
}

/* visited link */
a:visited {
  color: #c3c3c3;
}

/* mouse over link */
a:hover {
  color: rgb(172, 172, 172);
}

/* selected link */
a:active {
  color: rgb(172, 172, 172);
}

#content pre {
  font-size: 12px;
  padding: 5px;
  background: #fff;
  margin: 15px 0;
  display: block;
  border:1px solid #ccc;
  border-width: 0 1px 1px 0;
}


h2 { text-align: left }

table, th, td {
  border: 1px solid rgb(0, 0, 0);
  border-radius: 5px;
  border-collapse: collapse;
  padding: 15px;
  overflow-x: auto;
}

th {
  background: #282A3A;
  position: sticky;
  top: 0px; /* Don't forget this, required for the stickiness */
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

tr {
  background-color: #3C415C;
  color: #B4A5A5;
}

tr:hover {
  background-color: #4f5370;
}

th:hover {
  position: sticky;
  top: 0px; /* Don't forget this, required for the stickiness */
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: rgb(68, 68, 68);
  color: rgb(199, 199, 199);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
  background-color: rgb(63, 47, 90);
}

/* Style the collapsible content. Note: hidden by default */
.content {
  padding: 0 18px;
  background-color: rgb(47, 42, 61);
  max-height: 0;
  overflow-x: auto;
  transition: max-height 0.2s ease-out;
}

.collapsible:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: rgb(111, 33, 255);
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}
