header{
  width: 100%;

  transition: 1s ease;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 800;
  opacity: 1;
  
  background: 
  linear-gradient(180deg, #040C1B 0%, rgba(4, 12, 27, 0) 100%),
  linear-gradient(180deg, #040C1B 0%, rgba(4, 12, 27, 0) 100%),
  linear-gradient(180deg, #040C1B 0%, rgba(4, 12, 27, 0) 100%);
}

nav{
  max-width: $container-l;
  margin: 0 auto;

  padding: 30px 24px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-menu{
  list-style: none;
  display: flex;
  
  li{
    margin: 8px 16px;
  }

  @include responsive(s){
    display: none;
  }
}

.nav-link{
  position: relative;

  text-transform: uppercase;
  padding: 10px;

  &::after{
    content: '';
    position: absolute;

    top: -100%;
    left: 50%;

    width: 2px;
    height: 0px;
    //transform: translate(-50%, -50%);

    background: linear-gradient(180deg, rgba(146, 7, 10, 0) 0%, #EA1D22 100%);

    transition: .7s ease;
  }

  &:hover{
    &::after{
      height: 40px;
    }
  }
}


.active-header{
  opacity: 1;
}