/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #3CA887;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none;
  /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: rgb(46, 46, 46);
}

body {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 70em;
}


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  font-family: 'Playfair Display';
  font-weight: 400;
  font-style: italic;
  font-size: 50px;
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link+.nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }

  .nav-masthead {
    float: right;
  }
}


/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}

.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}


/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}

.hero-container {
  width: auto;
}

.terminal-container {
  font-family: courier new, monospace;
  color: #0f8;
  height: auto
}

.window {
  width: auto;
  height: 200px;
  background-color: rgba(37, 37, 37, 0.85);
  border: 1px solid #c9c9c9;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  transition: all ease-in-out 0.3s;
}

.window-content {
  display: grid;
  grid-template-rows: auto 100%;
}

.window.window--maximized {
  width: 100%;
  flex-grow: 1;
}

.window.window--minimized {
  height: 25px;
  width: auto;
}

.window.window--minimized .window-content {
  display: none;
}

.window.window--destroyed {
  opacity: 0;
  width: 0;
  height: 0;
}

.window-header {
  background-color: #eee;
  height: 25px;
}

.window-controls {
  display: flex;
  height: 100%;
  justify-content: flex-end;
  align-items: center;
}

.window-controls .control-item {
  width: 25px;
  height: 25px;
  text-align: center;
  color: #333;
  transition: all ease-in 0.15s;
  cursor: pointer;
}

.window-controls .control-item:hover {
  background-color: #ccc;
}

.control-item.control-close {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.control-item.control-close:hover {
  background-color: #ec6060;
  color: #fff;
}

.control-item.control-maximize {
  line-height: 19px;
}

.control-item.control-minimize {
  line-height: 22px;
}

.window-cursor {
  display: grid;
  margin: 5px;
  grid-auto-flow: column;
  grid-template-columns: auto 100%;
}

.bmd-form-group {
  padding-top: 0;
}

.window-cursor .i-cursor-indicator {
  color: #fff;
  font-size: 1em;
  font-family: 'Consolas', monospace;
  margin: 0 2px 0 5px;
}

.window-cursor .i-cursor-underscore {
  width: 10px;
  height: 3px;
  background-color: #fff;
  align-self: flex-end;
  margin-right: 5px;
  -webkit-animation: blink 1s steps(2, start) infinite;
  animation: blink 1s steps(2, start) infinite;
}

.window-input {
  min-width: 95%;
  background-color: inherit;
  border: none;
  outline: 0;
  color: transparent;
  text-shadow: 0 0 0 #fff;
  font-family: 'Consolas', monospace;
  flex: 1;
}

textarea {
  resize: none;
  box-sizing: border-box;
  min-height: auto;
}

.window-input:focus {
  outline: none;
}

.i-prompt {
  width: 62px;
  height: 62px;
  background: url("https://cdn4.iconfinder.com/data/icons/small-n-flat/24/terminal-48.png") no-repeat center;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  box-shadow: 0 3px 1px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all ease-in-out 0.15s;
}

.i-prompt:hover {
  background-position: center 4px;
}

.i-prompt.hidden {
  width: 0;
  height: 0;
  opacity: 0;
}

@-webkit-keyframes blink {
  to {
    visibility: hidden;
  }
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

@media (max-width:767px) {
  .inner {
    display: grid;
    grid-template-columns: 1fr !important;
  }
}