.header {
  height: 50px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  color: rgb(214, 212, 212);
  background-color: white;
  flex-direction: row;
  justify-content: space-between; 
}

.left-section {
  display: flex;
  align-items: center;
}

.hamburger-menu,
.youtube-logo {
  height: 20px;
}

.hamburger-menu {
  margin-left: 24px;
  margin-right: 24px;
}

.middle-section {
  display: flex;
  margin-left: 70px;
  margin-right: 35px;
  align-items: center;
  max-width: 500px;
  flex: 1;
}

.search-bar {
  flex: 1;
  width: 0;
  height: 36px;
  font-size: 16px;
  padding-left: 10px;
  border: 1px solid  rgb(189, 183, 183);
  border-radius: 2px;
  box-shadow: inset 0.5px 0.4px 2px rgba(0, 0, 0.03);
}

.search-bar::placeholder {
  font-size: 16px;
}


.search-button {
  height: 40px;
  width: 66px;
  background-color: rgb(240, 240, 240);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(189, 183, 183);
  margin-left: -1px;
  margin-right: 10px;
}

.search-button,
.voice-search-button,
.upload-icon-container,
.youtube-apps-icon-container,
.notifications-icon-container,
.current-user-picture-container{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}




.search-button .tool-tip,
.voice-search-button .tool-tip,
.upload-icon-container .tool-tip,
.youtube-apps-icon-container .tool-tip,
.notifications-icon-container .tip,
.current-user-picture-container .tool-tip{
  position: absolute;
  background-color: gray;
  color: white;
  padding: 4px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 2px;
  font-size: 12px;
  bottom: -30px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
  white-space: nowrap;
}

.search-button:hover .tool-tip,
.voice-search-button:hover .tool-tip,
.upload-icon-container:hover .tool-tip,
.youtube-apps-icon-container:hover .tool-tip,
.notifications-icon-container:hover .tip,
.current-user-picture-container:hover .tool-tip{
  opacity: 1;
}


.search-icon {
  height: 25px;
}

.voice-search-button {
  height: 40px;
  width: 40px;
  border-radius: 20px;
  border: none; 
  background-color: rgb(245, 244, 244);
}

.voice-search-icon {
  height: 24px;
}

.right-section {
  width: 180px;
  display: flex;
  margin-right: 20px;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
}

.upload-icon {
  height: 24px;
}

.youtube-apps-icon {
  height: 24px;
}

.notifications-icon {
  height: 24px;
}



.notifications-count {
  position: absolute;
  top: -2px;
  right: -5px;
  background-color: rgb(204, 2, 2);
  color: white;
  font-family: Roboto, Arial;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 10px;
}

.current-user-picture {
  height: 32px;
  border-radius: 16px;
}