#nescss > .container {
    max-width: 980px;
    margin: 0 auto;
    margin-top: 150px;
  }

body {
    padding: 20px;
    margin: 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    border-bottom: 4px solid #D3D3D3;
    background-color: white;
    padding-left: 20px;
    padding-right: 20px;
}

header > .container {
    display: flex;
    align-items: baseline;
    max-width: 980px;
    margin: 0 auto;
    padding-top: 1rem;
    transition: all 0.2s ease;
}
  
header > .container > .nav-brand {
    margin-right: auto;
}

header > .container > .social-button {
    margin-left: auto;
}

.nav-brand .brand-logo {
    margin-right: 1rem;
}

.nav-brand > a {
    color: #212529;
    text-decoration: none;
}
  
.social-buttons p {
    margin-bottom: 0;
}
  
  /* Header-sticky */
header.sticky > .container {
    font-size: 0.8rem;
    padding: 0;
    align-items: center;
}
header.sticky .nav-brand h1 {
    margin: 0;
}
header.sticky .nav-brand p {
    display: none;
    margin-bottom: 0;
    font-size: 0.6rem;
}


/* Main */
.main-content {
    margin-bottom: 4rem;
  }
  
  /* Footer */
  footer {
    text-align: center;
    margin-bottom: 2rem;
  }
  footer a {
    color: #333;
    text-decoration: none;
  }
  
  h2 > a {
    margin-right: 1rem;
  }
  
  .topic {
    margin-bottom: 3rem;
  }

/* Showcase */
section.showcase {
    margin-top: 2.5rem;
  }
  section.showcase > section.nes-container {
    padding-bottom: 2.5rem;
  }
  section.showcase > section.nes-container,
  section.showcase > section.samplecode {
    position: relative;
  }
  .nes-btn.showcode {
    position: absolute;
    font-size: 12px;
    bottom: 0px;
    right: -4px;
  }
  .nes-btn.copycode {
    position: absolute;
    font-size: 12px;
    top: 0;
    right: 0px;
  }
  
  section.showcase > section.samplecode > pre code {
    font-size: 13px;
    line-height: 1.5;
    padding: 1.5rem;
  }
  
  .item {
    margin-bottom: -1rem;
  }
  .item > * {
    margin-bottom: 1.5rem !important;
  }
  
  /* Containers */
  .item.containers > .nes-container {
    display: inline-block;
    max-width: 400px;
  }
  