main{
    position: relative;
}

.scroll-to-top-wrapper {
    position: sticky;
    bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: end;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.cta-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    bottom: 0rem;
    right: 4rem;
}

@media (max-width: 1199.98px) {
    .scroll-to-top-wrapper {
        z-index: 9;
    }
}

.scroll-to-top-wrapper.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
 
.scroll-to-top {
    background-color: #ffffff;
    border: 1px solid black;
    height: 56px;
    width: 56px;
    color: black;
    border-radius: 50%;
    padding: 0.75rem;
    cursor: pointer;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}
 
.scroll-to-top-text {
    border-radius: 4px;
    padding: 0 4px;
    background-color: #ffffff;
    margin-top: 8px;
    color: #000;
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0.2px;
    display: none;
}
 
@media (min-width: 992px) {
    .scroll-to-top-text {
        display: block;
    }
}
 
@media (max-width: 768px) {
    .scroll-to-top-wrapper {
        bottom: 2rem;
    }

    .cta-wrapper{
        right: 2rem;
    }
}
 
.scroll-to-top svg {
    display: block;
    margin: auto;
}