.navigation {
  width: 100%;
}

/* ---------------------------------------- Top Navigation ------------------------------------ */

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 30px 0;

  filter: invert(1);
  mix-blend-mode: difference;
  z-index: 10;
}

.top-nav .logo-container {
  width: 72px;
  cursor: pointer;
}

.top-nav .logo-container .logo {
  width: 100%;
  height: 100%;
}

.top-nav nav {
  width: 40%;
}

/* ---------------------------- NAV STYLES ----------------------------- */

nav {
  width: 100%;
}

nav ul {
  list-style: none;

  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
}

nav ul a {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 400;
  color: #000;

  display: inline-block;

  transition: all 0.3s ease-out;
}

nav ul a::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(-25px);
  display: inline-block;

  width: 0;
  height: 1.5px;
  background: #000;
  opacity: 0;
  transition: all 0.25s ease-out;
}

nav ul a:hover {
  transform: translateX(10px);
}

nav ul a:hover::before {
  width: 20px;
  opacity: 1;
}

nav ul .active a {
  transform: translateX(10px);
}

nav ul .active a::before {
  width: 20px;
  height: 2px;
  opacity: 1;
}

nav ul button {
  padding: 0;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}

nav ul button img {
  width: 24px;
  padding: 0;
}

/* ---------------------------------------- Side Nav ------------------------------------ */

.side-nav nav {
  width: 420px;
  max-width: 420px;
}

.side-nav {
  filter: invert(1);
  mix-blend-mode: difference;
  z-index: 10;
  position: fixed;
  transform: rotate(90deg) translateX(100%) translateX(-50%);
  top: 50%;
  right: 4%;
  transform-origin: top right;
}

.side-nav nav button {
  transform: rotate(-90deg);
}

/* ---------------------------------------- Bottom Nav ------------------------------------ */

.bottom-nav nav a::before {
  display: none;
}

.bottom-nav nav a:hover,
.bottom-nav nav .active a {
  transform: translateX(0);
}

.bottom-nav {
  width: 100%;
}

.bottom-nav nav {
  width: 100%;
}

.bottom-nav {
  position: fixed;
  bottom: 36px;
  left: 50%;
  z-index: 999;
  transform: translateX(-50%);

  width: 90%;
  padding: 16px 32px;

  font-weight: 500;

  background-color: #fff;
  box-shadow: 0 0.7px 0.5px rgba(0, 0, 0, 0.07),
    0 1.9px 1.3px rgba(0, 0, 0, 0.046), 0 4.5px 3px rgba(0, 0, 0, 0.035),
    0 15px 10px rgba(0, 0, 0, 0.024);
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.045);
}

/* -========================================== MEDIA QUERY ======================================== */

@media only screen and (min-width: 992px) {
  .bottom-nav {
    display: none;
  }

  .side-nav {
    display: block;
  }
}

@media only screen and (max-width: 992px) {
  .bottom-nav {
    display: block;
  }

  .side-nav {
    display: none;
  }

  .top-nav nav {
    display: none;
  }
}
