.scrolltop {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    cursor: pointer;
    z-index: 100;
    justify-content: center;
    align-items: center;
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.scrolltop.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.scrolltop:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.scrolltop .svg-icon {
    color: #ffffff;
    height: 1.5rem;
    width: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
