.go-to-top {
    position: fixed;
    display: flex;
    align-items: center;
    bottom: 1.5em;
    right: 1.5em;
    width: 1em;
    height: 1em;
    z-index: 1;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5em;
    opacity: 0;
    transition: opacity 0.2s, background-color 0.2s;
    pointer-events: none;
}

.go-to-top.active {
    opacity: 1;
    pointer-events: all;
    cursor: pointer;
}

.go-to-top:hover {
    background-color: var(--orange);
}

@media (max-width: 1040px) {
    .go-to-top {
        bottom: 2vw;
        right: 2vw;
        width: 4vw;
        height: 4vw;
        max-width: 1.5em;
        max-height: 1.5em;
    }
}
