a {
  text-decoration: none;
  color: #f3f3f3;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Estilo */

.navbar {
  position: absolute;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 1000;
}

.list {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}

.list li a {
  position: relative;
  padding: 20px;
  font-weight: 200;
  font-size: 1.2em;
  transition: 0.3s ease;
}

.list li a::before {
  content: "";
  display: inline-block;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  width: 2px;
  height: 20px;
  background-color: #f3f3f3;
  transition: all 0.3s;
}

.list li a:hover:before {
  opacity: 1;
}

.list li a:hover {
  font-weight: 700;
}

.home {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 1.2em;
  z-index: 1001;
}

.home::after {
  content: "";
  opacity: 0;
  display: block;
  position: absolute;
  top: -50px;
  left: -100px;
  transform: rotate(0.38turn);
  width: 0px;
  height: 0px;
  background-color: #0066cc;
  transition: all 0.3s ease;
  border-top: 5px solid #f3f3f3;
  z-index: -1;
}

.home:hover::after {
  opacity: 1;
  width: 200px;
  height: 100px;
}

@media (max-width: 600px) {
  .navbar {
    position: absolute;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .navbar.active {
    transform: translateX(0);
  }

  .list {
    text-align: center;
    justify-content: center;
  }

  .list li {
    padding: 50px 20px;
  }

  .list li a {
    padding: 50px 0px;
  }
  .list li a::before {
    content: "";
    display: none;
  }

  .list li a::after {
    content: "";
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 40px;
    height: 2px;
    background-color: #f3f3f3;
  }

  .bars {
    opacity: 1;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 1.2em;
    z-index: 10001;
    cursor: pointer;
    color: #f3f3f3;
    transition: 0.3s ease;
  }

  .mark {
    opacity: 0;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 1.2em;
    z-index: 10000;
    cursor: pointer;
    color: #f3f3f3;
    transition: 0.3s ease;
  }

  .bars.active {
    opacity: 0;
  }

  .mark.active {
    opacity: 1;
  }
}
