.content {
    position: relative;
    color: $black;
    font-size: 54px;
    line-height: 120%;

    @include for-sm-desktop {
        font-size: 44px;
    }

    @include for-mobile {
        font-size: 36px;
    }

    h1,
    h2,
    h3 {
        font-weight: 700;
        line-height: 120%;
    }

    h4,
    h5 {
        font-weight: 700;
        line-height: 130%;
        margin-bottom: 0.1em;
        margin-top: 0.1em;
    }

    h1 {
        font-size: 1em;
        margin-top: 0.1em;
        margin-bottom: 0.14em;
    }

    h2 {
        font-size: 0.85em;
        margin-top: 0.08em;
        margin-bottom: 0.12em;
    }

    h3 {
        font-size: 0.75em;
        margin-top: 0.06em;
        margin-bottom: 0.1em;
    }

    h4 {
        font-size: 0.6em;
    }

    h5 {
        font-size: 0.45em;
    }

    p,
    a {
        font-size: 16px;
        line-height: 130%;
        margin-bottom: 14px;

        &:last-child {
            margin-bottom: 0;
        }

        a {
            display: inline-block;
        }
    }

    a {
        display: block;
        color: $active;
        text-decoration: underline;

        &:hover {
            color: $activeHover;
        }

        &:visited {
            color: $activeVisited;
        }
    }

    table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        line-height: 120%;
        font-size: 16px;
        margin: 0.1em 0;
    }

    table th,
    table td {
        padding: 10px;
        border: 1px solid #ddd;
    }

    table th {
        background-color: #f2f2f2;
        text-align: left;
    }

    table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    ul,
    ol {
        line-height: 120%;
        margin: 0.2em 0;
        padding: 0 0 0 20px;

        li {
            display: block;
            line-height: 120%;
            margin: 12px 0;
            font-size: 16px;
        }
    }

    ul {
        list-style-type: disc;

        li {
            &:before {
                position: relative;
                content: "";
                display: inline-block;
                vertical-align: middle;
                margin-right: 8px;
                border-radius: 50%;
                width: 6px;
                height: 6px;
                background-color: #1d1d1d;
            }
        }
    }

    ol {
        counter-reset: count;
        list-style-type: decimal;

        li {
            &::before {
                content: counter(count) ". ";
                counter-increment: count;
            }
        }
    }

    blockquote {
        display: block;
        margin: 0.2em;
        padding: 0.2em;
        border-left: 5px solid #ccc;
        font-style: italic;
        line-height: 120%;
    }

    img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0.1em;
        font-size: 16px;
        line-height: 120%;
    }

    video {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0.1em;
        font-size: 16px;
        line-height: 120%;
    }

    pre {
        background-color: #f0f0f0;
        padding: 10px;
        border-radius: 5px;
        overflow-x: auto;
        font-size: 16px;
        line-height: 120%;
     }
     
     code {
        display: block;
        font-family: monospace;
        white-space: pre-wrap;
        font-size: 16px;
        line-height: 120%;
        margin: 0.2em;
     }

    hr {
        border: none;
        line-height: 120%;
        border-top: 1px solid #ccc;
        margin: 0.4em 0;
    }
}
