html {
    scroll-behavior: smooth;
}

.terms-body {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    background-color: whitesmoke;

    &>h1, &>h2 {
        margin: 3rem auto;
        text-align: center;
    }

}

.terms-navigator {
    display: flex;
    flex-direction: row;
    text-align: center;
    margin: 2rem 1rem;
    gap: 2rem;

    &>button {
        padding: .5rem;
        width: 100%;
        border-radius: 5px;
        box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.2);
        font-weight: 600;
        transition: all 100ms;

        &:active {
            transform: scale(.97, .97);
            box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.2);
        }

        &.active {
            background-color: red;
            color: whitesmoke;
            font-weight: 600;
        }
    }
}


.terms-content {
    display: flex;
    flex-direction: row;

}

strong {
    font-weight: 600;
}


.terms-content-index {
    min-width: 370px;

    &>span {
        text-transform: capitalize;
        font-weight: bold;

    }

    & ul {
        padding-left: 1rem !important;
        list-style: none;
        margin-bottom: 1rem;

        &>li {




            &>a {

                display: flex;
                flex-direction: row;
                align-items: baseline;
                text-decoration: none;
                color: black;
                font-size: 12px;
                padding: .1rem .5rem;


                &>span {
                    font-size: 12px;
                    margin-right: 1ch;
                }


                &:hover {
                    background-color: rgba(0, 0, 0, 0.2);
                }


            }


        }
    }
}




.terms-content-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex-grow: 1;

    padding: 0 2rem;


    & * {
        font-size: 14px;

    }

}

.terms-content-version {
    display: flex;
    flex-direction: column;
}

.terms-content-section {
    display: flex;
    flex-direction: column;
    scroll-margin-top: 100px;
    gap: 1rem;
    margin-bottom: 2rem;

    &>h2 {
        size: 16px;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    &>p>a {
        text-decoration: underline;
        /* color: black; */
        font-weight: 500;
    }

    &>.terms-content-section {
        padding-left: 2rem;
    }

}

.terms-link {
    margin: auto;
    display: block;
    text-align: center;
    width: fit-content;
}

.terms-paragraph {
    padding: 1rem;
}


.terms-table-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    padding: 2rem 1rem;
}


.terms-table-wrap-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 2rem 1rem;
}


.terms-table {
    text-align: center;
    width: 100%;
    border-collapse: collapse;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin: auto;

    &.fit {
        width: 200px;
        margin: 0 auto;
        height: fit-content;
        flex-grow: 1;
    }

    &>tbody>tr {

        &:nth-child(odd) {
            background-color: rgba(0, 0, 0, 0.05);
        }

        &>th {
            font-weight: 600;
            text-transform: capitalize;
            padding: 1rem;
            /* font-size: 14px; */
            text-align: center;
        }

        &>td {
            font-weight: 500;
            text-transform: capitalize;
            padding: 1rem;
            font-size: 14px;

        }
    }
}


.wallet-support-table-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 3rem;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.01);


    &>h2 {
        text-align: center;
        font-size: 1.5rem;
    }
}