.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: white;
  text-align: left;
  z-index: 999;
}
.navbar .navbar-item-list li {
  padding: 5px 15px;
}

.logo {
  text-align: right;
}
.logo img{
position: relative;
right: 0;
}

.navbar .burger-label {
  height: var(--navbar-height);
  position: absolute;
  top: calc(var(--navbar-height) * 0.2);
  left: 3px;
  padding-left: 10px;
  font-size: 30px;
}

.navbar .burger-label:before {
  content: '';
  background-color: #333;
  width: 1em;
  height: 0.15em;
  position: absolute;
  left: 0.1em;
  top: 0.25em;
  box-shadow: 0 0.25em 0 0 #333, 0 0.5em 0 0 #333;
}

/* menú cerrado */
.navbar-list {
  display: none;
  margin: 0;
}

#burger-checkbox {
  display: none;
}

/* menú abierto */
#burger-checkbox:checked ~ .navbar-list {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  padding-left: 10px;
  background-color: rgba(20, 20, 20, 0.9);
  color: white;
  width: 50%;
}

.navbar-item  .navbar-item-enlace {
  line-height: 3rem;
  display: block;
  color: #d9dbd9;
}
.navbar input[type='search'] {
  width: 130px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: white;
  -webkit-transition: width 0.4s ease-in-out;
  transition: width 0.4s ease-in-out;
  font-size: 1.2em;
  padding-left: 10px;
}



@media all and (min-width: 895px) {
  .navbar {
    position: relative;
    display: flex;
    justify-items: space-between;
    margin-top: 20px;
  }
  .navbar .burger-label {
    display: none;
  }

  /*.logo {
    padding-left: 20px;
  }*/
  .navbar-list {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    flex-direction: row;
    /*height: var(--navbar-height);*/
    align-items: baseline;
  }
  .navbar-item {
    border-bottom: 1px solid #999;
  }
  .navbar-item > a {
    font-size: 15px;
    padding: 0 15px;
    /*line-height: var(--navbar-height);*/
  }
  .navbar-item > a:hover {
    color: #333;
  }
  .navbar-list .navbar-item-list {
    display: none;
    background-color: white;
  }
  .navbar-item:hover > .navbar-item-list {
    display: block;
    flex-direction: column;
    position: fixed;
    z-index: 999;
  }
  .navbar-item-list > li {
    padding: 5px 15px;
  }
  .navbar-item  .navbar-item-enlace {
  	color: #3b3b3b;
	}
}
