.guide {
    position: fixed;
    z-index: 99;
    left: 50%;
    bottom: var(--theme--gutter--normal);
    transform: translate(-50%, 0);
}

.guide__down,
.guide__top {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme--color--background);
    color: var(--theme--color--text--secondary);
    font-size: var(--theme--font-size--medium);
    border-radius: 999px;
    border: 2px solid var(--theme--color--text--secondary);
}

.guide__down {
    animation: 4s ease 0s normal none infinite running down;
}

.guide__top {
    animation: 4s ease 0s normal none infinite running top;
}

.guide__down[href]:hover,
.guide__down[href]:focus,
.guide__down[href]:active,
.guide__top[href]:hover,
.guide__top[href]:focus,
.guide__top[href]:active {
    text-decoration: none;
}

@media (min-width: 992px) {
    .guide {
        left: 8px;
        transform: translate(0, 0);
    }

    .guide__down,
    .guide__top {
        width: 44px;
        height: 44px;
    }
}

@keyframes down {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(5px);
    }
    50% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes top {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-5px);
    }
    50% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}
