/* Back to Top section style */

.back-top.content-container > *{
    grid-column: 2 / 4;
}

.back-top {
    position: relative;
}

.back-top__content {
    background: var(--secondary-main);
    display: flex;
    justify-content: center;
}

.back-top__content.no-bg {
    background: transparent;
}

.back-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 2.625rem;
    width: 2.625rem;
    margin-block: 2rem;
    background: var(--primary-main);
    text-decoration: none;
    transition: .35s;
}

.back-top a:hover {
    text-decoration: none;
}

.back-top i {
    color: var(--secondary-main);
}

.back-top h5 {
    display: none;
    margin: 0;
}

.back-top .infinite-bg {
    background: var(--secondary-main);
}

@media screen and (max-width: 900px) {
    .back-top .infinite-bg {
        background: white;
    }

    .back-top__content {
        color: var(--primary-dark);
        background-color: white;
    }

    .back-top a {
        width: unset;
        height: unset;
        background: none;
    }

    .back-top i {
        color: var(--primary-main);
        padding-right: 1rem;
    }

    .back-top h5 {
        display: flex;
        font-size: 1rem;
        font-weight: 500;
        color: var(--primary-dark)
    }
}
