nav {
  z-index: 1000000;
}

.top-navigation-bar {
  position: absolute;
  background: #0b0d11df;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  min-height: 60px;
  align-items: center;
  padding: 10px 60px;
}

.top-navigation-bar-solid {
  position: relative;
  background: #151921;;
}

.navbar-mid {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
}

.nav-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  position: relative;
  font-size: 12px;
  line-height: 19px;
  letter-spacing: 2px;
  margin: 0.5em -3px 0.5em 0;
}

.nav-item .nav-link {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.nav-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 2.75px);
  height: 100%;
  border-bottom: 3px solid #a72943;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
  z-index: -1;
}

.nav-item:hover {
  color: inherit;
  text-decoration: none;
}

.nav-item:hover::after {
  opacity: 1;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}

.top-navigation-bar.animate {
  position: fixed;
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out,
    opacity 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out,
    -webkit-box-shadow 0.25s ease-in-out;
  animation: slide-down 1s forwards;
}

.top-navigation-bar.fadeIn {
  position: fixed;
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out,
    opacity 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out,
    -webkit-box-shadow 0.25s ease-in-out;
  animation: fadeIn 1s forwards;
}

.top-navigation-bar.animate .nav-item .nav-link {
  color: black;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.top-navigation-bar.animate .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(9, 3, 36, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slide-down {
  from {
    background: transparent;
    opacity: 0;
    transform: translateY(-200px);
  }
  to {
    color: black;
    background: #ededed;
    opacity: 1;
    transform: translateY(0px);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  }
}

@media only screen and (max-width: 768px) {
  .nav-item {
    margin: 0;
  }

  .top-navigation-bar {
    padding-left: 20px;
    padding-right: 20px;
  }
}