/*
 * Globals
 */

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

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

/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;
  margin-left: auto;
  margin-right: auto;
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  text-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.5);
}

.cover-container {
  max-width: 1450px; /*42em;*/
}

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

.title {
  border-bottom: 1px solid;
  border-color: #666666;
  padding-bottom: 0.5em;
}

.title h3 {
  display: inline-block;
  font-size: 250%;
}

.title h4 {
  display: inline-block;
  font-size: 90%;
  margin-left: 2em;
  line-height: 1.5em;
}
.cover-container a {
  text-decoration: underline;
}

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

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, 0.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: 0.75rem 1.25rem;
  font-weight: 700;
}

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

#dosbox iframe {
  width: 100%;
  height: 450px;
  border: none;
  overflow: hidden;
}

#nasm iframe {
  border: none;
  height: 0px;
  margin: 0;
  padding: 0;
  display: none;
}

#ndisasm iframe {
  border: none;
  height: 0px;
  margin: 0;
  padding: 0;
  display: none;
}

#asmCode {
  width: 100%;
  height: 690px;
  font-size: 75%;
}

#base64code {
  width: 50%;
  height: 128px;
}

#base64length {
  background: black;
  width: 4em;
  display: inline-block;
  text-align: center;
  margin-left: 0.5em;
}

#link-group {
  display: none;
}

#copy-button,
#create-tweet {
  cursor: pointer;
}

#showOff {
  width: 100%;
  height: 75px;
}

.row {
  padding: 0;
  margin: 0;
}
