.header {
  height: 56px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  position:fixed;
  top: 0;
  left: 4px;
  right: 0;
  background-color: white;

  z-index: 100;
}

.left-section {
  display: flex;
  align-items: center;
}

.menu-box,
.notifications-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  margin: 0 20px 0 15px;
  height: 36px;
  width: 36px;
}

.menu-box:hover {
  background-color: rgb(230, 230, 230);
}

.hamburger-menu {
  height: 24px;
}

.youtube-logo {
  height: 20px;
}

.middle-section {
  display: flex;
  flex: 1;
  align-items: center;
  margin-left: 50px;
  margin-right: 20px;
  max-width: 650px;
}

.tooltip {
  background-color: rgba(53, 53, 53, 0.8);
  border-radius: 5px;
  color: white;
  font-family: Roboto, Arial;
  font-size: 12px;
  padding: 7px 5px;
  pointer-events: none;
}

.search-bar {
  height: 40px;
  width: 100%;
  border-radius: 30px 0 0 30px ;
  border: 0.5px solid rgb(168, 167, 167);
  margin-left: 10px;
  font-size: 16px;
  font-family: Roboto, Arial;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.search-bar::placeholder {
  font-family: Roboto, Arial;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(124, 123, 123);
  padding-left: 10px;
}

.search-bar:focus {
  outline: none;
  text-indent: 10px;
  border-color: rgb(10, 10, 204);
}

.search-button {
  height: 40px;
  width: 75px;
  margin-left: -1px;
  border-radius: 0 30px 30px 0;
  border: 0.5px solid rgb(168, 167, 167);
  background-color: rgb(243, 242, 242);
  cursor: pointer;
  position: relative;
}

.search-button:hover {
  background-color: rgb(230, 230, 230);
}

.search-button .tooltip {
  position: absolute;
  bottom: -40px;
  opacity: 0;
}

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

.search-icon {
  height: 24px;
  width: 24px;
  margin-top: 4px;
}

.voice-search-box {
  height: 40px;
  width: 50px;
  border-radius: 100%;
  border: none;
  background-color: rgb(243, 242, 242);
  cursor: pointer;
  margin-left: 15px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.voice-search-button:hover {
  background-color: rgb(230, 230, 230);
}

.voice-search-box .tooltip {
  position: absolute;
  bottom: -40px;
  opacity: 0;
  white-space: nowrap;
}

.voice-search-box:hover .tooltip {
  opacity: 1;
  transition: .3s;
}

.voice-search-icon {
  height: 24px;
  width: 24px;
}

.right-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.upload-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  height: 36px;
  width: 36px;
}

.upload-icon-box:hover {
  background-color: rgb(230, 230, 230);
}

.upload-icon-box .tooltip {
  position: absolute;
  bottom: -30px;
  opacity: 0;
}

.upload-icon-box:hover .tooltip {
  opacity: 1;
  transition: .3s;
}

.upload-icon {
  height: 24px;
}

.notifications-icon-box {
  position: relative;
}

.notifications-icon-box:hover {
  background-color: rgb(230, 230, 230);
}

.notifications-count {
  position: absolute;
  top: 1px;
  right: -3px;
  background-color: rgb(199, 11, 11);
  color: white;
  font-family: Roboto, Arial;
  font-size: 12px;
  font-weight: 500;
  padding: 0.5px 0.5px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 15px;
  width: 15px;
  border: 0.5px solid white;
}

.notifications-icon-box .tooltip {
  position: absolute;
  bottom: -40px;
  left: -20px;
  opacity: 0;
}

.notifications-icon-box:hover .tooltip {
  opacity: 1;
  transition: .3s;
}

.notifications-icon {
  height: 24px;
}

.user-pic {
  height: 35px;
  border-radius: 100%;
  margin-right: 20px;
  cursor: pointer;
}
