@use '../utilities' as *;

#scroll-to-top
{
    position: fixed;
    bottom: 5%;
    right: 3%;
    background: $secondary_white;
    padding: 0;
    border: none;
    border-radius: 4px;
    @include flexBox (center, center, row);
    display: none;
    z-index: 1000;
}

.scroll-to-top {
    height: 40px;
    width: 40px;
    border: 1px solid $secondary_black;
    border-radius: 4px;
    @include flexBox (center, center, row);
    background: none;
    color: $secondary_black;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all .3s ease-in-out;
}

.scroll-to-top:hover {
    background: $secondary_black;
    border: 1px solid $secondary_black;
    color: $secondary_white;
    transition: all .3s ease-in-out;
}