.demo-active {
  background: #000;

  #demo-app {
    min-height: 100%;
  }

  #header,
  #sidebar,
  #hero,
  #container,
  #footer,
  .sidebar-overlay {
    display: none;
  }
}

.demo-overlay {
  background: black;
  width: 100%;
  height: 100%;
  min-height: 100%;
  line-height: 1.3;
  overflow: auto;
  color: #DDDDDD;
  display: block;
  font-size: 15px;
  font-family: $font-family-monospace;
  @include box-shadow(0px -2px 30px 0px rgba(0, 0, 0, 0.40));
  z-index: 50;
}

.instruction-wrapper {
  background: #000;
  width: 100%;
  padding: 20px;
  position: fixed;
  top: 0;
  z-index: 100;
}

.instruction {
  overflow: auto;
  padding: 10px;
  max-width: 800px;
  min-width: 400px;
  margin: 0 auto;
  background-color: darken($vault-blue, 28%);

  code {
    background: none;
    color: inherit;
    font-weight: 700;
    padding-left: 10px;
  }

  a {
    color: white;
    text-decoration: underline;
  }

  p:last-child {
    margin-bottom: 0px;
  }

  ul {
    padding-left: 15px;
  }

  li {
    list-style-type: none;
  }
}

.close-terminal{
  display: inline-block;
  position: fixed;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  color: #8B8A8F;
  text-align: center;
  line-height: 60px;
  font-size: 40px;
  transition: all 250ms ease-in;
  cursor: pointer;
  z-index: 100;

  &:hover{
    text-decoration: none;
    color: $white;
    transition: all 250ms ease-in;
  }
}


.demo-terminal {
  background-color: black;
  padding: 25px 65px 0 25px;
  padding-top: 250px;
  padding-bottom: 50px;
  min-height: 100%;
  width: 100%;
  display: block;
  overflow: auto;
  position: relative;
  z-index: 90;

  &.fullscreen {
    min-height: 300px;
    padding-top: 20px;
    z-index: 6;
  }

  .log {
    white-space: pre;
  }

  input.shell {
    padding: 0;
    margin: 0;
    display: inline-block;
    bottom: 0;
    width: 90%;
    background-color: black;
    border: 0;
    outline: 0;

    &.hidden {
      opacity: 0;
    }
  }
}
