.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 45px;
    padding-left: 10px;
    padding-top: 7px;
    background-color: white;
    z-index: 100;
}

.left {
    display: flex;
    align-items: center;
    width: 200px;
    height: 100%;
}

.hamberger {
    width: 42px;
    height: 42px;
    margin-left: 3px;
    border-radius: 50px;
    border: none;
    padding: 9px;
    background-color: white;
}

.youtube {
    width: 90px;
    margin-left: 15px;
    position: relative;
    cursor: pointer;
}

.np {
    position: absolute;
    margin-left: 155px;
    margin-bottom: 24px;
    font-size: 10px;
    cursor: pointer;
}

.middle {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-left: 50px;
    margin-right: 50px;
}

.searchbar {
    flex: 1;
    max-width: 540px;
    width: 0px;
    height: 42px;
    border-style: solid;
    border-width: 1px;
    border-color: lightgray;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    box-shadow: 0.1px 0.1px 2px rgba(96, 96, 96, 0.05);
    color: rgb(96, 96, 96);
    padding-left: 18px;
    font-size: 15px;
    margin-left: -20px;
    background-color: transparent;
    position: relative;
}

.searchi {
    width: 23px;
    position: absolute;
    left: 28%;
    display: none;
}

.searchbar:focus+.searchi {
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchbar:focus {
    outline: none;
    border-color: rgba(0, 0, 255, 0.4);
    box-shadow: inset 0.1px 0.1px 4px rgba(96, 96, 96, 0.22);
    background-color: transparent;
    margin-left: -50px;
    max-width: 570px;
    padding-left: 48px;
}

.searchicon {
    display: flex;
    align-items: center;
    height: 42px;
    width: 67px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    border: 1px solid;
    border-color: lightgray;
    box-shadow: 0.1px 0.1px 2px rgba(96, 96, 96, 0.05);
    padding: 11px 21px 11px 21px;
    background-color: rgba(242, 242, 242, 0.5);
    position: relative;
}

.searchicon,
.mic,
.upload,
.notification {
    display: flex;
    justify-content: center;
}

.tooltip {
    position: absolute;
    bottom: -35px;
    background-color: gray;
    padding: 8px 6px 8px 6px;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.searchicon:hover,
.mic:hover,
.upload:hover,
.notification:hover,
.hamberger:hover {
    background-color: rgba(242, 242, 242, 1);
    opacity: 1;
}

.searchicon:hover .tooltip,
.mic:hover .tooltip,
.upload:hover .tooltip,
.notification:hover .tooltip {
    opacity: 1;
}

.mic {
    width: 41px;
    height: 41px;
    border-radius: 50px;
    padding: 8px 8px 8px 8px;
    border: none;
    box-shadow: 0.1px 0.1px 2px rgba(96, 96, 96, 0.05);
    opacity: 90%;
    margin-left: 15px;
    background-color: rgba(242, 242, 242, 0.5);
}

.right {
    display: flex;
    align-items: center;
    justify-content: right;
    height: 100%;
    width: 145px;
    padding-right: 35px;
}

.upload {
    width: 42px;
    height: 42px;
    margin-right: 3px;
    border-radius: 50px;
    border: none;
    padding: 9px;
    background-color: white;
}

.notification {
    width: 42px;
    height: 42px;
    margin-right: 10px;
    border-radius: 50px;
    border: none;
    padding: 9px;
    background-color: white;
}

.mychannel {
    width: 42px;
    height: 42px;
    border-radius: 50px;
    border: none;
    opacity: 90%;
    background-color: white;
}

.profile {
    width: 33px;
    height: 33px;
    border-radius: 20px;
    border: none;
    box-shadow: inset 0.1px 0.1px 2px rgba(96, 96, 96, 0.1);
}

/* .tablist{
    display: flex;
    align-items: center;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    margin-top: 55px;
    margin-left: 90px;
    margin-right: 30px;
    position: fixed;
    height: 60px;
    width: 100%;
} */
.tablist::-webkit-scrollbar{
    display: none;
}

.tab{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    padding-left: 13px;
    padding-right: 13px;
    border-radius: 11px;
    border-style: none;
    color: white;
    background-color: black;
    margin-right: 10px;
}

@media only screen and (max-width:655px) {
    .middle {
        margin-right: 0px;
        margin-left: 0px;
        display: flex;
        justify-content: right;
        align-items: center;
    }

    .searchbar {
        width: 0px;
        flex: 0;
        opacity: 0;
    }

    .searchicon {
        width: 42px;
        height: 42px;
        margin-right: 0px;
        border-radius: 50px;
        border: none;
        padding: 9px;
        background-color: white;
    }

    .mic {
        width: 42px;
        height: 42px;
        margin-right: 0px;
        border-radius: 50px;
        border: none;
        padding: 9px;
        background-color: white;
    }
}

@media only screen and (max-width:430px) {
    .upload {
        margin-right: -15px;
    }

    .middle {
        margin-right: -70px;
    }

    .mic {
        width: 0px;
        opacity: 0;
    }

    .notification {
        width: 0px;
        opacity: 0;
    }
}