/*
 * Loader component
 */

.loader {
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba($primary-color, 0.9);
  color: $white;
  font-size: 1.8rem;
  text-align: center;

  .message {
    position: absolute;
    top: 40%;
    left: 50%;
    right: auto;
    bottom: auto;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
}

/*
 * Loader component
 */

.loader {
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba($primary-color, 0.9);
  color: $white;
  font-size: 1.8rem;
  text-align: center;
  z-index: 1;

  .message {
    position: absolute;
    top: 40%;
    left: 50%;
    right: auto;
    bottom: auto;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
}

Add z-index: 1 on Loader
Add z-index: 1 on Loader
