.headersection {
    height: 55px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    /* we want header to be at very top of page */
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-bottom-width: 1px;
    border-bottom-width: solid;
    border-bottom-color: rgb(228, 228, 228);
    z-index: 100;
}

.left-header-section {
    /* left and right section we have kept fixed value as its not gorwing when we inc or dec the screen size  according to our desing */

    display: flex;
    align-items: center;
}

.center-header-section {
    /* search bar is changing as we inc /dec size */
    flex: 1;
    /* when we change size of screen max size the search bar can grow is 300px */
    max-width: 500px;
    margin-left: 70px;
    margin-right: 35px;

    display: flex;
    align-items: center;
}

.right-header-section {
    justify-content: space-between;
    width: 180px;
    margin-right: 20px;
    display: flex;
    align-items: center;

    /* no flexing at all */
    flex-shrink: 0;

}

.hamburger-menu {
    height: 24px;
    margin-left: 24px;
    margin-right: 24px;
}

.youtube-logo {
    height: 20px;

}

.search-bar {
    /* block : takes entire line on page
    inline-block : takes the space which is needed by the element and not full space */
    /* display: block; */
    flex: 1;
    height: 36px;
    padding-left: 10px;
    font-size: 16px;
    border-color: grey;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.05);
    width: 0;
}

.search-bar ::placeholder {
    font-family: Roboto, arial;
    font-size: 16px;
    background-color: gray;

}

.search-button {
  
    height: 40px;
    width: 66px;
    border-width: 1px;
    border-style: solid;
    margin-left: -1px;
    margin-right: 10px;
    border-color: rgb(192, 192, 192);
    background-color: rgb(240, 240, 240);
}

/* all outer container we set position as relative and inner we set as absolute */

.voice-search-button,
.search-button,
.upload-icon-container,
.youtube-apps-container{
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
}


.search-button .tooltip,
.voice-search-button .tooltip ,
.upload-icon-container .tooltip,
.youtube-apps-container .tooltip{
    font-family: Roboto, Arial;
    position: absolute;
    background-color: gray;
    color: white;
    padding-top: 4px;
    padding-bottom: 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 .tooltip,
.voice-search-button:hover .tooltip,
.upload-icon-container:hover .tooltip,
.youtube-apps-container:hover .tooltip{
    opacity: 1;
}

.search-icon {
    height: 25px;
    margin-top: 4px;

}


.voice-search-button {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    border: none;
    /* background-color:gray; */
}

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

}

.upload-icon {
    height: 24px;
}

.youtube-app-icon {
    height: 24px;
}

.notifications-icon {
    height: 24px;
}

.notification-icon-container {
    position: relative;

}

.notificationcount {
    position: absolute;
    top: -2px;
    right: -5px;
    background-color: red;
    color: white;
    font-family: roboto, Arial;
    font-size: 11px;
    padding-left: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 5px;
    border-radius: 10px;
}

.myphoto-icon {
    height: 32px;
    border-radius: 16px;
    margin-right: 20px;

}