.navigator {
  background-color: transparent;
  font-size: 1em;
  /* min-height: 100vh; */
  min-width: 100dvw;
  text-align: center;
  position: fixed;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.navigator:hover {
  background-color: rgba(0, 0, 0, 0.25);
}

.nav-header {
  padding-left: 4rem;
  text-shadow: 1px 1px 1px #757575, 1px 2px 1px #757575, 1px 3px 1px #757575;
}
.nav-header h1 {
  font-size: 1.5rem;
  cursor: pointer;
}

.navigator ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  list-style: none;
  height: 100%;
  padding-right: 4rem;
  cursor: pointer;
  /* position: relative; */
  /* top: 30vh; */
}

.navigator ul li {
  /* margin-bottom: 30px; */
  /* padding-right: 2.5rem; */
  padding: 1rem;
  transition: all 0.5s ease-in-out;
  /* border-left: 1px solid #ae413d3f; */
}

/* .navigator ul li:last-child {
  border-right: 1px solid #ae413d3f;
} */

.navigator ul li a {
  text-decoration: none;
  color: #f5f6fa;
  text-transform: uppercase;
  padding: 10px;
  position: relative;
}

.navigator ul li a:hover {
  color: #b3f20d;
  border-bottom: 1px solid #b3f20d;
}

/* if the navigator link doesn't keep the effect, remember to delete lines 41 & 42 */
.navigator ul li:hover,
.navigator ul li a:link,
.navigator ul li a:visited,
.navigator ul li a:active {
  transition: 1s ease-in-out;
  animation: float 1s ease-in-out infinite;
}

.navigator ul li a:focus {
  box-shadow: 0px 0px 5px 2px rgba(151, 155, 141, 0.3) inset;
}

/* hamburger menu */

.burguer-menu {
  display: none;
}

.display-none {
  display: none !important;
}

/* Animation */
@keyframes float {
  0% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(10px);
  }

  100% {
    transform: translateX(0px);
  }
}

/* Media Querie */

@media screen and (max-width: 768px) {
  .navigator {
    /* background-color: rgba(246, 247, 248, 0.7); */
    font-size: 1em;
    /* min-height: 100vh; */
    min-width: 100dvw;
    /* justify-content: space-evenly;
    align-items: baseline; */
    position: relative;
  }

  .navigator ul {
    display: none;
  }

  .nav-header {
    padding: 1rem;
  }

  /* Hamburguer menu */
  .burguer-menu {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: fit-content;
    height: fit-content;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    /* padding: 20px; */
    transition: transform 0.4s ease-in-out;
  }

  .burguer-menu .lines {
    display: block;
    background-color: white;
    height: 4px;
    width: 25px;
    margin: 2px;
    border-radius: 10px;
    z-index: 1;
    transition: transform 0.4s ease-in-out;
  }

  .burguer-menu .menu-checkbox {
    position: relative;
    z-index: 2;
    top: 20px;
    height: 100%;
    cursor: pointer;
    opacity: 0;
    height: 20px;
  }

  .burguer-menu #line1 {
    transform-origin: 0% 0%;
  }

  .burguer-menu #line3 {
    transform-origin: 0% 100%;
  }

  .burguer-menu input[type="checkbox"]:checked ~ #line1 {
    transform: rotate(45deg);
  }

  .burguer-menu input[type="checkbox"]:checked ~ #line2 {
    transform: scaleY(0);
  }

  .burguer-menu input[type="checkbox"]:checked ~ #line3 {
    transform: rotate(-45deg);
  }
}
