body {
  display: flex;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  border: 0;
  margin: 0;
  padding: 0;
}

.navbar {
  background-color: #000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  width: 100vw;
}

.lista_navbar {
  color: white;
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0;
}

li {
  padding-left: 40px;
}
a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}
.lista_menu > a {
        text-decoration: none;
        color: #000;
        font-weight: bold;
        transition: color 0.3s;
}
a:hover {
  color: #ff6600;
}

.search {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.search i {
  font-size: 20px;
}

.search {
  display: flex;
  align-items: end;
  padding-right: 10px;
  background-color: transparent;
  border: none;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
}

.lista_menu {
  display: none;
}

.logo {
  font-size: 20px;
  cursor: pointer;
  position: relative;
}

.lista_menu {
  color: #000;
  position: absolute;
  background-color: transparent;
  min-width: 160px;
  font-size: 16px;
  
}

.lista_menu > a {
  padding: 15px;
}

.logo:hover .lista_menu {
  display: flex;
  flex-direction: column;
}


.fa-bars {
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

.fa-search {
  padding-right: 10px;
}

.barra_search {
  color: white;
  background-color: transparent;
  border: 0.5px solid #ff6600;
}



/* pantalla */

@media (max-width: 768px) {
  .navbar {
    display: block;
    background-color: #000;
    color: #fff;
    padding: 0;
    width: 100vw;
    height: 100vh;
  }


  .lista_navbar {
      display: none;
  }

  .logo .fa-bars {
    display: none;
  }

.lista_menu {
      display: flex ;
      flex-direction: column;
      color: #fff;
      align-items: start;
      height: 100vh;
      justify-content: space-between;
      gap: 20px;
    font-size: 3em;
  }

  .lista_menu > a {
    color: #fff;
  }

  a:hover {
    color: #ff6600;
  }
  

  .search {
    display: none;
  }



}
