@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100..900&display=swap');

:root {


}


a {
    color: #00376e;
    text-decoration: none;

    &:hover {
        color: #0068ca;
    }
}


body {
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    @media (max-width: 480px) {
        font-size: 0.9rem;
    }
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 300;
    line-height: 1.5em;
    word-spacing: 0.2ch;
    letter-spacing: 0.1ch;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2em;
}

header {
    background-image: url("/assets/img/bg-720.jpg");
    background-size: cover;
    min-height: 25vh;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;


    .title {
        padding: 1em;
        font-size: 4rem;
        font-weight: 500;
        color: #fff;
        text-align: center;
        line-height: 1.2em;

        @media (max-width: 480px) {
            text-align: left;
            padding: 1rem;
            font-size: 2.5rem;
        }
    }

    .links {
        display: flex;
        justify-content: flex-end;
        padding: 0.5rem;

        .nav-link {
            padding: 0.5rem;
        }
    }

    a {
        color: #cacaca;
    }
}


.content {
    margin: 0 auto;
    max-width: 100ch;
    padding: 2rem 1.5ch;
}


.docs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    gap: 1rem;
    margin: 0 auto;
    max-width: 100ch;
    padding: 0;

    .doc {
        a {
            font-weight: bold;
        }

        font-size: 1.2rem;
        padding: 1rem;
        border-radius: 0.5rem;
        background-color: #fff;
        box-shadow: 2px 2px 2px 0 rgb(0 0 0 / 20%);
        border: 1px solid black;
        min-height: 5em;
        flex: 1 1 25%;
        @media (max-width: 600px) {
            flex: 1 1 100%;
        }
    }
}


.terms {
    text-align: justify;

    ol, ul {
        padding-top: 1em;
        padding-left: 4ch;

        li {
            padding-bottom:1em;

            p {
                padding: 0;
                margin: 0;
            }
        }
    }


    /*Fixing nested lists, 1.1, 1.2.*/
    ol {
        /* Reset the counter for the main list and remove default styling */
        counter-reset: section;
        list-style-type: none;

        ol {
            /* Reset the sub-counter for nested lists */
            counter-reset: subsection;
            /*margin-left: 20px; !* Indent sub-items for clarity *!*/

            li {
                /* Increment the sub-counter */
                counter-increment: subsection;

                &::before {
                    /* Display the main counter, a dot, the sub-counter, and a space */
                    content: counter(section) "." counter(subsection) " ";
                    margin-left: -6ch;
                }
            }
        }

        li {
            /* Increment the counter for each list item */
            counter-increment: section;

            &::before {
                /* Display the main counter followed by a dot and space */
                content: counter(section) ". ";
                display: inline-block;
                position: absolute;
                margin-left: -4ch;
            }
        }
    }


    table {
        border-collapse: collapse;
        margin: 1rem auto;

        tr {
            td, th {
                border: 1px solid rgba(0, 0, 0, 0.79);
                padding: 1ch;
                vertical-align: baseline;
            }

            th {
                vertical-align: bottom;
            }
        }
    }
}

footer {


    display: flex;
    /*flex-direction: row;*/
    padding: 2em;
    color: #fff;

    a {
        color: #bababa;
    }

    background-color: rgb(6, 30, 55);
    min-height: 20vh;

    .addr {
        padding: 1rem;
    }

    @media (max-width: 480px) {
        flex-direction: column;
    }
}



