
.header {
    height: 55px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(232, 231, 231);
    z-index: 100;
}

.left-section {
    display: flex;
    align-items: center;
}

.hamburger-menu {
    height: 24px;
    margin-left: 24px;
    margin-right: 24px;
}
.youtube-logo {
    height: 20px;
}

.middle-section {
    display: flex;
    flex: 1;
    margin-left: 70px;
    margin-right: 35px;
    max-width: 500px;
    align-items: center;
}

.search-bar {
    border-radius: 2px;
    border: none;
    font-size: 16px;
    border-width: 1px;
    flex: 1;
    border-style: solid;
    height: 36px;
    padding-left: 10px;
    border-color: rgb(192, 192, 192);
    box-shadow: inset 1px 2px 3px
     rgba(0, 0, 0, 0.04);
    width: 0;
}

.search-bar::placeholder {
    font-family: Roboto, Arial;
    font-size: 16px;
}

.search-button {
    height: 39px;
    width: 66px;
    font-size: 16px;
    padding-top: 4px;
    background-color: #F7f7f7;
    border-color: rgb(192, 192, 192);
    border-style: solid;
    border-width: 1px;
    margin-left: -1px;
    margin-right: 10px;
}

.search-button, 
.voice-search-button, 
.upload-icon-container,
.youtube-apps-icon-container,
.notifications-icon-container {
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-button .tooltip, 
.voice-search-button .tooltip, 
.upload-icon-container .tooltip,
.youtube-apps-icon-container .tooltip,
.notifications-icon-container .tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 2px;
    padding-top: 4px;
    padding-bottom: 4px;
    color: white;
    font-size: 12px;
    padding-right: 8px;
    padding-left: 8px;
    font-family: Roboto, Arial;
    bottom: -30px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none; 
    white-space: nowrap;
}

.search-button:hover .tooltip, 
.voice-search-button:hover .tooltip,
.upload-icon-container:hover .tooltip,
.youtube-apps-icon-container:hover .tooltip,
.notifications-icon-container:hover .tooltip {
    opacity: 1;
}

.search-icon {
    height: 25px; 
}

.voice-search-button {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    border-style: solid;
    border: none;
    background-color: rgb(245, 245, 245);
}

.voice-search-icon {
    height: 23px;
}

.right-section {
    width: 180px;
    display: flex;    
    align-items: center;
    justify-content: space-between;
    margin-right: 20px;
    flex-shrink: 0;
}

.upload-icon {
    height: 24px;
}

.youtube-apps-icon {
    height: 24px;
}

.notifications-icon-container {
    position: relative;
}

.notifications-count {
    position: absolute;
    background-color: rgb(211, 7, 7);
    color: white;
    top: -3px;
    right: -3px;
    font-size: 10px;
    border-color: white;
    border-width: 1px;
    border-style: solid;
    font-family: roboto, Arial;
    border-radius: 15px;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 1px;
    padding-bottom: 1px;
    
}

.notifications-icon {
    height: 24px;
}

.current-user-picture {
    height: 32px;
    border-radius: 40px;
}

