.header{
    display:flex;
    flex-direction: row;
    height:57px;
    justify-content: space-between;
    position: fixed;
    top:0;
    left:0;
    right:0;
    background-color:white;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(221, 221, 221);
    z-index: 100;
}

.left-section{
    display: flex;
    align-items: center;
    padding-left: 4px;
    
}

.hamburger-icon{
    height: 26px;
    margin-left: 20px;
    margin-right: 20px;
    cursor: pointer;
}

.youtube-logo{
    height:20px;
    padding-left: 5px;
    cursor: pointer;
}

.middle-section{
    flex:1;
    margin-left: 70px;
    margin-right: 35px;
    max-width: 500px;
    display: flex;
    align-items: center;
}

.search-bar{
    flex:1;
    height: 36.5px;
    padding-left: 15px;
    border-radius: 2px;
    border: solid 1px rgb(174, 173, 173);
    width: 0;
    box-shadow: inset 1px 2px 3px rgba(0,0,0,0.05);
}

.search-bar::placeholder{
    font-size: 16px;
}

.search-button{
    width:64px;
    height: 40px;
    margin-right: 10px;
    border: solid;
    border-width: 1px;
    border-color: rgb(174, 173, 173);
    border-radius: 2px;
    margin-left: -1px;
    background-color: rgb(240, 240, 240);
}

.search-button, .voice-button, .upload-container, .apps-container, .notifications-container, .current-user-icon{
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-button .tooltip,
.voice-button .tooltip,
.upload-container .tooltip,
.apps-container .tooltip,
.notifications-container .tooltip{
    position: absolute;
    background-color: rgba(112, 112, 112, 0.8);
    padding: 4px 8px;
    border-radius: 2px;
    color: white;
    bottom: -30px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: nowrap;
    font-size: 12px;
}

.search-button:hover .tooltip,
.voice-button:hover .tooltip,
.upload-container:hover .tooltip,
.apps-container:hover .tooltip,
.notifications-container:hover .tooltip{
    opacity: 1;
}

.voice-button{
    width:40px;
    height: 40px;
    background-color: rgb(240, 240, 240);
    border: none;
    border-radius: 20px;
}

.search-icon{
    height: 25px;
}

.voice-icon{
    height: 24px;
}


.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{
    height: 24px;
}

.notifications-container{
    position:relative;
}

.notifications-number{
    position: absolute;
    top:-2px;
    right:-9px;
    background-color: rgb(215, 1, 1);
    padding: 2px 5px;
    color: white;
    font-size: 10px;
    border-radius: 100px;
}

.current-user-icon{
    height: 24px;
    border-radius: 16px;
}