header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 0;
  text-align: center;
}

#logo,
#contact {
  width: clamp(160px, 30vw, 220px);
  border-radius: 10px;
  color: black;
  filter: hue-rotate(8deg);/* Groen ietsjes blauwer maken */
  transition: all 0.2s ease-in-out 0s;
}

#logo img {
  width: 100%;
  height: 100%;
}

#logo:hover,
#contact:hover {
  background-color: hsl(60, 1%, 92%);
  box-shadow: 10px 0 0 10px hsl(60, 1%, 92%),
              -10px 0 0 10px hsl(60, 1%, 92%);
}

#menu-toggle {
  position: fixed;
  right: 20px;
  display: none;
  background-color: var(--blue);
  box-shadow: 0px 2px 6px hsla(0, 0%, 0%, 0.2),
              0px -3px 0px hsla(0, 0%, 0%, 0.2) inset;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background-color .5s,
              border-radius .5s,
              box-shadow .2s;
  z-index: 2;
}

#menu-toggle:hover {
  box-shadow: 0px 2px 6px hsla(0, 0%, 0%, 0.2),
              0px -3px 0px hsla(0, 0%, 0%, 0.2) inset,
              0px 100px 0px hsla(0, 0%, 100%, 0.1) inset;
}

#menu-toggle:active {
  box-shadow: 0px 2px 6px hsla(0, 0%, 0%, 0.2),
              0px 3px 0px hsla(0, 0%, 0%, 0.2) inset,
              0px 100px 0px hsla(0, 0%, 0%, 0.05) inset;
}

#menu-toggle span {
  color: white;
  font-size: 2.5rem;
  filter: drop-shadow(0px 1px 1px hsla(0, 0%, 0%, .4));
  user-select: none;
}

/*===[ Search ]===*/
#search {
  display: flex;
  height: 40px;
  background-color: white;
  box-shadow: 0px 2px 6px hsla(0, 0%, 0%, 0.2);
  border-radius: 50px;
  transition: box-shadow .2s ease-in-out 0s;
}

#search:hover {
  box-shadow: 0px 4px 8px hsla(0, 0%, 0%, 0.2);
}

#search:hover button {
  color: var(--blue);
}

#search input[type="text"] {
  width: clamp(100px, 10vw, 200px);
  background: none;
  border: none;
  padding: 0 15px;
  color: var(--gray3);
  outline: none;
  transition: color .2s ease-in-out 0s;
}

#search:hover input[type="text"],
#search input[type="text"]:focus {
  color: var(--blue);
}

#search input[type="submit"] {
  background: none;
  border: none;
  padding: 0 4px;
  color: var(--gray2);
  font-size: 24px;
  cursor: pointer;
  transition: color .2s ease-in-out 0s, transform .2s ease-in-out 0s;
}

#search input[type="submit"]:hover {
  transform: rotate(90deg);
}

@media screen and (max-width: 800px) {

  #search {
    opacity: 0;
  }

  #search input[type="text"] {
    width: 0;
  }

  #menu-toggle {
    display: block;
  }

}
