.header {
  height: 55px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;

  background-color: var(--clr-light);
  border-width: 1px;
  border-color: var(--clr-secondary);
  border-top-style: solid;
  border-bottom-style: solid;
}

/* LEFT */
.header-left-section {
  margin-left: 60px;
  display: flex;
  align-items: center; /* vertical */
  justify-content: space-between;
}

/* Dropdown menu */
.hamburger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0px;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    width: 30px;
    height: 30px;
    display: block;
  }
}

.dropdown-menu {
  position: absolute;
  top: 60px;
  left: 12px;
  background: var(--clr-dark-lighter);
  border-width: 1px;
  border-color: var(--clr-light);
  border-bottom-style: solid;
  display: none; /* hide */

  a {
    display: block;
    padding: 12px 12px;
    color: var(--clr-light);
    text-decoration: none;
  }
  a:hover {
    color: var(--clr-accent);
    font-weight: bold;
  }
}

.dropdown-menu.show {
  display: block; /* show */
}


/* MIDDLE */
.header-middle-section {
  flex: 1; /* applies to .header->flex */
  margin-left: 36px;
  margin-right: 36px;
  max-width: 500px;
  display: flex;
  align-items: center; /* vertical */
}

.search-bar {
  flex: 1; /* applies to .header->flex */
  width: 0;
  height: 36px;
  padding-left: 10px;
  padding-top: 1px;    /* Required for iOS/iPadOS (have different defaults) */
  padding-bottom: 1px; /* Required for iOS/iPadOS (have different defaults) */
  font-size: 16px;
  border: 1px solid var(--clr-secondary);
}

.search-bar::placeholder {
  font-size: 18px;
  color: var(--clr-secondary);

}

.search-button {
  height: 40px;
  width: 66px;
  background-color: var(--clr-light);
  border: 1px solid var(--clr-secondary);
  margin-left: -1px;
  margin-right: 10px;

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.search-button .tooltip {
  position: absolute;
  background-color: var(--clr-secondary);
  color: var(--clr-contrast);
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 2px;
  font-size: 12px;
  bottom: -20px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
  white-space: nowrap;
}

.search-button:hover .tooltip {
  opacity: 1;
}

.search-icon {
  height: 24px;
}


/* RIGHT */
.header-right-section { 
  flex-shrink: 0; /* fapplies to .header->flex */
  margin-right: 60px;
  max-width: 180px;
  display: flex;
  align-items: center; /* vertical */
  justify-content: flex-end;
}

.semantic-eye-logo {
  height: 36px;;
}


/* RESPONSIVENESS */
@media (max-width: 700px) {

  .header-left-section {
    margin-left: 12px;
  }

  .header-middle-section {
    margin-left: 36px;
    margin-right: 12px;
    max-width: 100%;
  }
  
  .header-right-section {
    display: none;
  }
}