nav {
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  position: sticky;
  border-radius: 5px;
  padding: 10px;

  ul .navElem a {
    color: white;
    padding: 0 1rem;
    vertical-align: middle;

    &:hover {
      color: rgb(96 59 255) !important;

      .swap {
        svg path {
          transition: color 0.5s 0.5s;
        }

        .primary {
          opacity: 0;
        }

        .secondary {
          opacity: 1;
        }
      }
    }

    img,
    .swap,
    .swap svg {
      width: 32px;
      height: 32px;
      border-radius: 100%;
      max-width: initial;
      max-height: initial;
    }

    .swap {
      position: relative;

      > * {
        transition: opacity 0.5s;
        position: absolute;
      }

      img {
        margin: 0;
      }

      .secondary {
        opacity: 0;
      }
    }

    span,
    > svg path {
      transition: color 0.5s;
    }

    .lower {
      margin-top: 2px;
    }
  }

  @media (min-width: 768px) {
    justify-content: space-between;

    ul {
      height: 72px;
    }
  }
}
