/*--------------------- Navigation Bar ---------------------*/
nav {
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

nav .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  width: 80%;
  margin: auto;
}

/* Logo */
nav .wrapper .logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

nav .wrapper .logo img {
  position: absolute;
  width: 50px;
  left: 0;
  top: -10px;
}

nav .wrapper .logo h1 {
  font-family: 'BankGothic', sans-serif;
  margin-left: 70px;
  font-weight: 400;
}

/* Menu */
nav .wrapper ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--white);
  z-index: 1;
}

nav .wrapper ul li {
  margin: 0 1rem;
  font-family: 'BankGothic', sans-serif;
  font-weight: 400;
  letter-spacing: 0.15rem;
  cursor: pointer;
}

nav .wrapper ul li.current-page {
  padding: 5px 10px;
  border-bottom: 1px solid var(--white);
}

/* Menu Button */
nav .wrapper .menu-toggle {
  color: var(--white);
  display: none;
}

nav .wrapper .menu-toggle:hover {
  cursor: pointer;
  color: var(--purple);
}

.wrapper .menu-enabled {
  transform: scaleY(1);
}

/* Go to Top Button (Bottom right position)*/
.disabled {
  display: none;
}

.go-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 35px;
  height: 35px;
  background: linear-gradient(to top, #b91372, #6b0f1a);
  box-shadow: 0px 0px 10px -5px rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
}

.go-to-top:hover {
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.35);
}

.go-to-top i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
}

.go-to-top i {
  animation: MoveUpDown 0.5s ease-out infinite alternate;
}

@keyframes MoveUpDown {
  0% {
    top: 50%;
  }

  100% {
    top: 40%;
  }
}

/* Media Query */
/* Tablets (and same for smartphones) */
@media only screen and (max-width: 1200px) {
  nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 1000;
  }

  nav .wrapper {
    width: 90%;
  }

  nav .wrapper .menu-toggle {
    display: block;
  }

  nav .wrapper ul {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 0;
    width: 100%;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.3s ease-out;
    z-index: 1000;
  }

  nav .wrapper ul li,
  nav .wrapper ul li.current-page {
    padding: 15px 30px;
    width: 100%;
    background-color: var(--dark-grey);
    border-bottom: 1px solid var(--grey);
    transition: background-color 0.5s linear;
  }

  nav .wrapper ul li:last-child {
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
  }

  nav .wrapper ul li:hover {
    background-color: var(--purple);
  }
}
