.top-header {
  height: 55px;
  display: flex;
  flex-direction: row;
  position: fixed;
  top: 0px;
  right: 0px;
  left: 0px;
  background-color: white;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgb(228,228,228);
  z-index: 100;
}

.left-section {
  display: flex;
  align-items: center;
}

.hamburger-logo {
  height: 24px;
  margin-left: 23px;
  margin-right: 23px;
  cursor: pointer;
}

.youtube-logo {
  height: 20px;
  margin-left: 1.5px;
  cursor: pointer;
}

.middle-section {
  flex: 1;
  margin-left: 355px;
  margin-right: 30px;
  max-width: 510px;
  justify-content: space-between;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.search-bar {
  height: 36px;
  flex: 1;
  padding-left: 10px;
  font-size: 17px;
  border-width: 1px;
  border-color: gray;
  border-style: solid;
  border-radius: 3px;
  box-shadow: inset 1px 2px 3px rgba(0,0,0,0.15);
  width: 0;
}

.search-bar::placeholder {
  font-family: Roboto, Arial;
  font-size: 16px;
}

.search-button {
  height: 39px;
  width: 60px;
  border-color: gray;
  border-style: solid;
  border-width: 1px;
  margin-left: -2px;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
}

.search-button .tool-tip {
  position: absolute;
  background-color: gray;
  color: white;
  width: 50px;
  height: 20px;
  padding-top: 8px;
  padding-bottom: 4px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 2px;
  font-size: 12px;
  bottom: -58px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.search-button:hover .tool-tip {
  opacity: 1;
}

.voice-button {
  height: 40px;
  width: 40px;
  border-radius: 20px;
  border: none;
  margin-right: 3px;
  background-color: rgb(248,248,248);
  cursor: pointer;
}

.voice-button .tool-tip {
  position: absolute;
  background-color: gray;
  color: white;
  width: 140px;
  height: 22px;
  padding-top: 9px;
  border-radius: 2px;
  font-size: 12px;
  bottom: -45px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  margin-left: -53px;
}

.voice-button:hover .tool-tip {
  opacity: 1;
}

.search-icon {
  height: 26px;
  margin-top: 5px;
}

.voice-search-icon {
  height: 24px;
  margin-top: 4px;
}

.right-section {
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 200px;
  flex-shrink: 0;
}

.upload-icon-container {
  margin-right: 25px;
  margin-top: 4px;
  cursor: pointer;
}

.upload-icon-container .tool-tip {
  position: absolute;
  background-color: gray;
  color: white;
  width: 40px;
  height: 22px;
  padding-left: 6px;
  padding-top: 9px;
  padding-right: 5px;
  border-radius: 2px;
  font-size: 13.5px;
  bottom: -35px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  margin-left: -13px;
}

.upload-icon-container:hover .tool-tip {
  opacity: 1;
}

.upload-icon {
  height: 24px;
}

.apps-icon-container {
  margin-right: 28px;
  margin-top: 4px;
  cursor: pointer;
}

.apps-icon-container .tool-tip {
  position: absolute;
  background-color: gray;
  color: white;
  width: 88px;
  height: 22px;
  padding-left: 8px;
  padding-top: 9px;
  padding-right: 5px;
  border-radius: 2px;
  font-size: 13.5px;
  bottom: -35px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  margin-left: -33px;
}

.apps-icon-container:hover .tool-tip {
  opacity: 1;
}

.apps-icon {
  height: 24px;
}

.notifications-icon {
  height: 24px;
}

.notifications-icon-container {
  position: relative;
  margin-right: 27px;
  margin-top: 4px;
  cursor: pointer;
}

.notifications-counter {
  position: absolute;
  top: -1.5px;
  right: -5px;
  background-color: rgb(200, 0, 0);
  color: white;
  font-family: Roboto, Arial;
  font-size: 10px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 2px;
  padding-bottom: 6px;
  border-radius: 50%;
  height: 8px;
  left: 13px;
}

.notifications-icon-container .tool-tip {
  position: absolute;
  background-color: gray;
  color: white;
  width: 78px;
  height: 22px;
  padding-left: 8px;
  padding-top: 6px;
  padding-right: 5px;
  border-radius: 2px;
  font-size: 13.5px;
  bottom: -44px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  margin-left: -33px;
}

.notifications-icon-container:hover .tool-tip {
  opacity: 1;
}

.google-acc-pic {
  margin-right: 25px;
  height: 32px;
  border-radius: 17.5px;
  margin-top: 0px;
  cursor: pointer;
}


@media (max-width: 700px) {
  .top-header {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }
  .left-section,
  .middle-section,
  .right-section {
    margin: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .middle-section {
    max-width: 100%;
    margin: 10px 0;
  }
  .search-bar {
    min-width: 0;
    width: 100%;
    font-size: 15px;
  }
  .right-section {
    justify-content: flex-start;
    width: 100%;
  }
}
