#sidebarRight{
    --offset: 10vh;
    height:calc(100% - var(--offset));
    overflow-y:auto;
    overflow-x: hidden;
    min-width:450px;
    width:25%;
    max-width:600px;
    position:fixed;
    bottom:0;
    right:0;
    background:linear-gradient(105deg,#fafafa, #f1f1f1);
    padding:2rem 1rem;
    border-left:1px solid var(--underline);
    transition: transform 0.5s;
    transform: translateX(100%);
    z-index: 15;
}

#sidebarRight[data-state=open]{
    transform: translateX(0);
}

#sidebarRight h4{
    margin-top:0.5rem;
}

#sidebarRight p{
    font-size: 0.8rem;
    margin:0.5rem 0.7rem;
}

#sidebarRight p:last-of-type{
    margin:0.5rem 0.7rem 1rem;
}

#sidebarRight #closeSidebarRight{
    background-color: #23232322;
    color:#0008;
    font-size: 0.8rem;
    position: absolute;
    top:0.5rem;
    right:0.5rem;
    width:25px;
    height:25px;
    border-radius: 50%;
    padding:0;
}

#sidebarRight #closeSidebarRight:hover{
    color:var(--primaryColour);
}

.openSidebarRight{
    cursor: pointer;
    font-weight: 600;
    color:var(--tertiaryColour);
}

.openSidebarRight:hover{
    color:var(--primaryColour);
}

@media only screen and (max-width:767px){
    #sidebarRight{
        min-width: 100%;
        width:100%;
        max-width:100%;
        top:0;
        z-index: 99;
    }
}