header {
  box-sizing: border-box;
  display: flex;
  margin: 0 10%;
  padding: 1.5rem;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 25px;
}

.header_search {
  display: flex;
  position: relative;
  width: 70%;
  align-items: center;
}

.header_container_logo {
  display: flex;
  box-sizing: border-box;
  width: 50%;
  height: 100%;
  margin-right: 1rem;
}

.header__logo {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.header_barra_busqueda {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 10px;
  outline: none;
}

.header_busqueda_icono {
  padding: 0.5rem 0;
  position: absolute;
  right: 5px;
}

.carrito_container {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 51px;
  height: 51px;
}

.badge {
  cursor: pointer;
}

.carrito_img {
  display: flex;
  position: absolute;
  width: 51px;
  cursor: pointer;
}

.carrito_espacio {
  margin-bottom: 3.3rem;
}

.header_boton {
  width: 182px;
  height: 51px;
  border-color: var(--cor-azul);
  border-radius: 10px;
  color: var(--cor-azul);
}

.header_boton.opacity {
  filter: opacity(0);
}

a {
  text-decoration: none;
  color: var(--cor-de-link);
}

/*Tablet*/
@media screen and (max-width: 768px) {
  header {
    margin: 0 1rem;
  }

  .carrito_container {
    width: 80px;
    margin: 0 1rem;
  }
}

/*Mobile*/
@media screen and (max-width: 414px) {
  header {
    position: relative;
    justify-content: none;
    background-color: rgba(255, 255, 255, 1);
  }

  .header_search {
    width: 100%;
  }

  .header_container_logo {
    width: 150%;
    margin-right: none;
  }

  .header_barra_busqueda {
    display: none;
  }

  .header_busqueda_icono {
    display: none;
  }

  .header_busqueda_icono2 {
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 25px;
    height: 25px;
  }

  .carrito_container {
    position: absolute;
    width: 60px;
    margin: 0;
    top: 220%;
    left: 38px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
  }

  .header_boton {
    width: 118px;
    height: 51px;
    margin-right: 1rem;
  }

  .header_boton.opacity {
    margin-left: 2rem;
  }
}
