.richtext {
    font-family: "Roboto Slab", sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 30px;
    color: #222;
}

.richtext p,
.richtext img,
.richtext hr,
.richtext blockquote,
.richtext h1,
.richtext h2,
.richtext h3,
.richtext h4,
.richtext h5,
.richtext h6,
.richtext ul,
.richtext ol {
    margin-top: 30px;
    margin-bottom: 30px;
}

.richtext p:first-child,
.richtext img:first-child,
.richtext hr:first-child,
.richtext blockquote:first-child,
.richtext h1:first-child,
.richtext h2:first-child,
.richtext h3:first-child,
.richtext h4:first-child,
.richtext h5:first-child,
.richtext h6:first-child,
.richtext ul:first-child,
.richtext ol:first-child {
    margin-top: 0;
}

.richtext p:last-child,
.richtext img:last-child,
.richtext hr:last-child,
.richtext blockquote:last-child,
.richtext h1:last-child,
.richtext h2:last-child,
.richtext h3:last-child,
.richtext h4:last-child,
.richtext h5:last-child,
.richtext h6:last-child,
.richtext ul:last-child,
.richtext ol:last-child {
    margin-bottom: 0;
}

.richtext img {
    max-width: 100%;
    display: block;
}

.richtext ul,
.richtext ol {
    margin-left: 50px;
}

.richtext ul {
    list-style-type: disc;
}

.richtext li {
    margin-top: 10px;
    margin-bottom: 10px;
}

.richtext hr {
    border: none;
    border-top: 1px solid #CCC;
}

.richtext a {
    color: #418FDE;
}

.richtext a:hover {
    text-decoration: underline;
}

.richtext blockquote {
    font-style: italic;
    margin-left: 40px;
    margin-right: 40px;
}

.richtext h1,
.richtext h2,
.richtext h3,
.richtext h4,
.richtext h5,
.richtext h6 {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 400;
}

.richtext h1 {
    font-size: 60px;
    line-height: 64px;
}

.richtext h2 {
    font-size: 48px;
    line-height: 52px;
}

.richtext h3,
.richtext h4,
.richtext h5,
.richtext h6 {
    font-size: 32px;
    line-height: 36px;
}

@media (max-width: 600px) {
    .richtext {
        font-size: 16px;
        line-height: 24px;
    }

    .richtext li {
        margin-top: 6px;
        margin-bottom: 6px;
    }

    .richtext p,
    .richtext img,
    .richtext hr,
    .richtext blockquote,
    .richtext h1,
    .richtext h2,
    .richtext h3,
    .richtext h4,
    .richtext h5,
    .richtext h6,
    .richtext ul,
    .richtext ol {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .richtext h1 {
        font-size: 36px;
        line-height: 36px;
    }

    .richtext h2 {
        font-size: 30px;
        line-height: 30px;
    }

    .richtext h3,
    .richtext h4,
    .richtext h5,
    .richtext h6 {
        font-size: 24px;
        line-height: 24px;
    }
}
