.sidebar {
    position: absolute;
    top: 0rem;
    right: 1.5rem;
    width: 43rem;
}
#trending{
    padding-bottom: 6rem;
    width: inherit;
    background-color: white;
    box-shadow: 0px 0px 4px 2px gainsboro;
}
#trending ul{
    display: inline-block;
    width: inherit;
    box-shadow: 0px 0px 4px 2px gainsboro;
    background-color: white;
}
#trending ul li{
    width: calc(100%/3.45);
    text-align: center;
}
#trending ul li a { 
    color: rgb(126, 124, 124);
    padding: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 0;
    border-radius: 0;
    text-align: center;
}
#trending ul li a:hover{
    border: 0;
    background-color: white;
}
#trending ul li.active a{
    border: 0;
    border-bottom: 0.3rem solid green;
}


#trending .tab-content{
    display: inline-block;
    background-color: white;
    width: inherit;
    height: 55rem;
    box-shadow: 0px 5px 5px 0.3px gainsboro;
}
#trending .tab-content .tab-pane{
    position: relative;
    width: inherit;
    padding: 2rem;
}
.sticky {
    position: fixed;
    top: 8rem; 
}
.stickydown{
    position: fixed;
    top: 0;
}


@media screen and (max-width: 500px) {
    .sidebar, .sticky, .stickydown{
        position: relative;
        top: 1.5rem;
        left: 1.6rem;
    }
    .sidebar{
        width: 45rem;
    }
    #trending ul{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #trending ul li{
        width: calc(100%/3);
        display: inline-block;
    }
    
    #trending .tab-content .tab-pane{
        padding: 0.5rem;
    }
}