#tuit_sidebar {
    position: fixed;
    top: 25vh;
    right: 0;
    width: 3.5vw;
    height: 50vh;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 20px 0px 0px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    -webkit-transition: width 300ms;
    -moz-transition: width 300ms;
    -ms-transition: width 300ms;
    -o-transition: width 300ms;
    transition: width 300ms;
    overflow: hidden;
}

#tuit_sidebar .sidebar-chapter__text {
    display: none;
    /* text */
    text-decoration: none;
    color: white;
    font-size: 1vw;
    -webkit-transition: color 300ms;
    -moz-transition: color 300ms;
    -ms-transition: color 300ms;
    -o-transition: color 300ms;
    transition: color 300ms;
    cursor: pointer;
    text-align: center;
    padding: 0px 10%;
}

/* Hover on chapter text */
#tuit_sidebar .sidebar-chapter__text:hover {
    opacity: 0.8;
}

#tuit_sidebar .sidebar-default__text {
    /* text */
    text-decoration: none;
    color: white;
    font-size: large;
}

/* Sliding behaviour */
/* 
    TODO
        - Check smooth scrolling on Safari.
        - Check smooth scrolling on Mozilla firefox.

 */
#tuit_sidebar:hover {
    width: 15vw;
}

#tuit_sidebar .sidebar-chapter__text {
    display: none;
}

#tuit_sidebar:hover .sidebar-default__text {
    display: none;
}

#tuit_sidebar:hover .sidebar-chapter__text {
    display: inline;
}
