.logo,
.nav,
.nav-toggle {
  /*flex: 1;*/
  display: flex;
  align-items: center;
}

.logo {
  justify-content: flex-start;
  text-transform: uppercase;
}

.nav,
.nav-toggle {
  justify-content: flex-end;
}

.nav-toggle {
  cursor: pointer;
  padding: 6px;
  z-index: 1000000;
  font-size: 25px;
}

.nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0px;
  background: rgba(0, 0, 0, 0.75);
  z-index: 998;
  padding: 15px 15px 15px;
  visibility: hidden;
}

.nav-link {
  color: #817cff;
  width: 200px;
  padding: 15px;
  position: relative;
  display: block;
  text-align: right;
  font-weight: 400;
}

.nav-link:hover {
  color: white;
  transition: color 0.5s;
}

.nav-link .link-text {
  position: relative;
  display: inline-block;
}

.nav-link:hover .link-text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  width: auto;
  border-bottom: 2px solid;
  border-color: #a88fee;
}

.nav-link.underlined:hover .link-text::after {
  border-color: #ffad61;
}



@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    flex-direction: row;
    visibility: visible;
    position: relative;
    padding: 0px;
    background: transparent;
    top: -5px;
  }

  .nav-link {
    width: 160px;
    transform: translate(0px, 0px) !important;
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .nav-link{
    width: 200px;
  }
}
