.back-to-top {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px #b67ce623;
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: fixed;
    bottom: 20px;
    right: 20px;
    transition:
            opacity .3s ease,
            bottom .3s ease,
            width .3s ease,
            border-radius .3s ease,
            background-color .3s ease,
            box-shadow .3s ease;
}

.svgIcon {
    width: 12px;
    transition-duration: 0.3s;
}

.svgIcon path {
    fill: white;
}

.back-to-top:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: #B77CE6;
    align-items: center;
}

.back-to-top:hover .svgIcon {
    /* width: 20px; */
    transition-duration: 0.3s;
    transform: translateY(-200%);
}

.back-to-top::before {
    position: absolute;
    bottom: -20px;
    content: "Retour en haut";
    color: white;
    /* transition-duration: .3s; */
    font-size: 0px;
}

.back-to-top:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    /* transform: translateY(-30px); */
    transition-duration: 0.3s;
}