body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
.navigation {
  height: 70px;
  background: linear-gradient(45deg, #4199fe, #74b4fe);
}
.brand {
  position: absolute;
  padding-left: 20px;
  float: left;
  line-height: 55px;
  text-transform: uppercase;
  font-size: 2em;
  margin-top: 10px;
  opacity: 0;
  animation: fadeUp 0.4s linear forwards;
}
.brand a,
.brand a:visited {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.nav-container {
  max-width: 1000px;
  margin: 0 auto;
}
nav {
  float: right;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  float: left;
  position: relative;
}
nav ul li a,
nav ul li a:visited {
  display: block;
  padding: 0 20px;
  line-height: 30px;
  color: #fff;
  background: #262626;
  text-decoration: none;
  transition: all 0.3s;
  opacity: 0;
  animation: fadeUp 0.5s linear forwards;
  animation-delay: calc(0.3s * var(--index));
}
nav ul li a {
  margin-top: 0.5rem;
  background: transparent;
  color: #fff;
}

nav ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10;
  width: 0;
  height: 2px; /* Border thickness */
  background-color: blue; /* Border color */
  transition: width 1s;
}

nav ul li a:hover::before,
nav ul li a:visited:hover::before {
  /* background: #7e0c4d;
     color: #ffffff; */
  /* border-bottom: 3px solid red;
     transition: all 0.5s; */
  width: 100%;
}

nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
  padding-left: 4px;
  content: " \025BE";
}

/* Mobile navigation */
.nav-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  height: 55px;
  width: 70px;
}
@media only screen and (max-width: 700px) {
  .nav-mobile {
    display: block;
  }
  nav {
    width: 100%;
    padding: 40px 0 15px;
  }
  nav ul {
    display: none;
  }
  nav ul li {
    float: none;
  }
  nav ul li a {
    padding: 15px;
    line-height: 20px;
    background: #262626;
  }

  @media screen and (min-width: 700px) {
    .nav-list {
      display: block !important;
    }
  }
  #navbar-toggle {
    position: absolute;
    left: 18px;
    top: 15px;
    cursor: pointer;
    padding: 10px 35px 16px 0px;
  }
  #navbar-toggle span,
  #navbar-toggle span:before,
  #navbar-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 3px;
    width: 30px;
    background: #ffffff;
    position: absolute;
    display: block;
    content: "";
    transition: all 300ms ease-in-out;
  }
  #navbar-toggle span:before {
    top: -10px;
  }
  #navbar-toggle span:after {
    bottom: -10px;
  }
  #navbar-toggle.active span {
    background-color: transparent;
  }
  #navbar-toggle.active span:before,
  #navbar-toggle.active span:after {
    top: 0;
  }
  #navbar-toggle.active span:before {
    transform: rotate(45deg);
  }
  #navbar-toggle.active span:after {
    transform: rotate(-45deg);
  }
}


@keyframes fadeUp{
  from{
    opacity: 0;
    transform: translateY(10px);
  }
  to{
    opacity: 100%;
    transform: translateY(0);
  }
}