.sidebar{
    position: fixed;
    left: 0;
    bottom: 0;
    top: 55px;
    background-color: white;
    width: 70px;
    z-index: 200;
    padding-top: 5px;
}

@media (max-width: 800px) {
    .sidebar {
        display: none;
    }
    body {
        padding-top: 120px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .header,
    .second_header {
        left: 0;
    }
}


.sidebar-link{
    height: 78px;
    cursor: pointer;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.sidebar-link:hover{
    background-color: rgb(230, 230, 230);
}
.sidebar-link:active{
    background-color: rgb(215, 215, 215);
}

.home, .subscriptions{
    height: 26px;
    margin-bottom: 4px;
}

.sidebar-link .tooltip{
    position: absolute;
    bottom: 0px;
    right: -30px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border: 0.5px solid white;
    padding: 6px 8px;
    font-size: 11px;
    font-family: Roboto, Arial;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
/* Prevents tooltip from blocking mouse events */
    transition: opacity 0.2s ease-in-out;
    transition-delay: 0s;
    z-index: 10;
}
.sidebar-link:hover .tooltip{
    opacity: 1;
    transition-delay: 0.8s;
}
.sidebar-link:not(:hover) .tooltip {
    opacity: 0;
    transition-delay: 0s;
}

.sidebar-link .sub{
    position: absolute;
    bottom: -7px;
    right: -65px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: 0.5px solid white;
    padding: 6px 8px;
    font-size: 11px;
    font-family: Roboto, Arial;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
/* Prevents tooltip from blocking mouse events */
    transition: opacity 0.2s ease-in-out;
    transition-delay: 0s;
    z-index: 10;
}
.sidebar-link:hover .sub{
    opacity: 1;
    transition-delay: 1s;
}
.sidebar-link:not(:hover) .sib {
    opacity: 0;
    transition-delay: 0s;
}

.shorts{
    margin-bottom: 4px;
    height: 24px;
    position: relative;
}
.profile{
    height: 26px;
    margin-bottom: 4px;
    position: relative;
}

.sidebar-link div{
    font-family: Roboto, Arial;
    font-size: 10px;
}


    .link {
        display: block;
        text-decoration: none;
        color: inherit;
    }
    .link:focus {
        outline: none;
    }
