.back-to-top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(162, 13, 162);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    text-decoration: none;
    transition: 0.2s ease-out;
    overflow: hidden;
    padding: 0;
}

.back-to-top span {
    color: #fff;
    font-size: 2rem;
    transition: 0.2s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.back-to-top:hover {
    background-color: rgb(160, 58, 160);
}

.back-to-top:hover span {
    transform: translateY(-4px);
}
