/* https://www.codeply.com/go/LDHQhWUG0x */
.affix {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
  }
  
  /* fixed to top styles */
  .affix.navbar {
    background-color: #333;
  }
  .affix.navbar .nav-item>a, 
  .affix.navbar .navbar-brand {
      color: #fff;
  }