html,
body {
    margin: 0;
    padding: 0;
    position: relative;
}

body {
    font-family: 'Titillium Web', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "liga" on;
    font-feature-settings: "liga" on;
    color: #082D0F;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto";
    color: #082D0F;
}

h2 {
    border-bottom: 2px solid #5CC8FF;
    padding-bottom: 5px;
}

h3 {
    color: #7D70BA;
}

h4 {
    color: #93867F;
}

a {
    outline: none;
}

.wrapper {
    overflow: hidden;
    position: relative;
}

.header {
    padding: 20px 0;
    position: relative;
    background: #5CC8FF;
    border-bottom: 1px solid #5CC8FF;
}

.nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Lato', sans-serif;
    text-align: right;
}

.nav-logo {
    float: left;
    margin-top: -11px;
    transition: transform 150ms ease-out;
}

.nav-logo:hover {
    transform: scale(1.1);
}

.nav-logo img {
    display: block;
    max-height: 40px;
    width: auto;
}

.nav-links {
    margin: 0;
    padding: 0;
    font-size: 14px;
    list-style: none;
}

.nav-links li {
    display: inline-block;
    margin: 0 0 0 15px;
    transition: transform 0.2s ease;
}

.nav-links li:first-child {
    margin-left: 0;
}

.nav-links li:hover {
    transform: translateY(-2px);
}

.nav-links a {
    text-decoration: none;
    color: #082D0F;
    font-weight: bold;
}

.nav-links a:hover {
    color: #7D70BA;
}

.content {
    max-width: 80%;
    margin: 60px auto 80px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #082D0F;
    background-color: rgba(92, 200, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(147, 134, 127, 0.1);
}

.content :not(pre) > code {
    font-family: "Fira Mono", monospace;
    background-color: rgba(125, 112, 186, 0.1);
    border: 1px solid #DEC1FF;
    border-radius: 3px;
    padding: 2px 4px;
}

.article-title {
    font-size: 34px;
    color: #082D0F;
    margin: 0;
    line-height: 1.3;
    border-bottom: 3px solid #5CC8FF;
    padding-bottom: 10px;
}

.article-date {
    color: #7D70BA;
    font-weight: bold;
}

.article-duration {
    margin-top: 12px;
    float: right;
    font-size: 10px;
    font-family: 'Lato', sans-serif;
    padding: 1px 5px;
    font-weight: bold;
    border-radius: 3px;
    background: #7D70BA;
    color: #fff
}

.article-content p {
    margin: 15px 0 25px;
}

.article-content a {
    text-decoration: none;
    color: inherit;
    border-bottom: 3px solid #5CC8FF;
    box-shadow: inset 0 -4px 0 #5CC8FF;
    background: transparent;
    transition: background 150ms ease;
}

.article-content a:hover,
.article-content a:focus {
    background: #5CC8FF;
}

.article-content hr {
    width: 150px;
    margin: 50px auto;
    height: 1px;
    overflow: hidden;
    border: none;
    background: #e5e5e5;
}

.article-link-prev {
    float: left;
}

.article-link-next {
    float: right;
}


.highlight {
    border-radius: 6px;
    position: relative;
    margin: 40px 0;
    font-size: 14px;
    border: 1px solid #5CC8FF;
    box-shadow: 0 2px 8px rgba(92, 200, 255, 0.2);
    overflow: hidden;
    background-color: #f6f8fa !important;
}

.highlight pre {
    padding: 15px;
    background-color: #f6f8fa !important;
}

.highlight pre code {
    background-color: transparent !important;
}

.archive {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.3em;
    text-align: center;
    color: #111;
}

.archive-title {
    font-size: 32px;
    margin-top: 60px;
}

.archive-item {
    margin: 5px 0 15px;
    padding: 0;
}

.archive-item-date {
    color: #7D70BA;
    font-size: 14px;
    padding: 5px 0;
    margin-top: 5px;
    display: block;
    font-weight: 600;
}

.archive-item-link {
    display: inline-block;
    text-decoration: none;
    font-size: 21px;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    color: #082D0F;
    padding: 5px 0;
    border-bottom: 1px solid #DEC1FF;
}

.archive-item-link:hover {
    border-bottom-color: #5CC8FF;
}

.terms { 
    font-size: .9em; 
    background-color: rgba(222, 193, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
}

.terms a {
    display: inline-block;
    background: #5CC8FF;
    color: #082D0F;
    padding: 2px 8px;
    margin: 2px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.85em;
    transition: background-color 0.2s ease;
}

.terms a:hover {
    background-color: #7D70BA;
    color: #fff;
}

.footer {
    padding: 25px 0;
    text-align: center;
    font-family: 'Lato', sans-serif;
    background-color: rgba(92, 200, 255, 0.1);
    border-top: 3px solid #5CC8FF;
    margin-top: 50px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #ccc;
    font-size: 14px;
}

.footer-links li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.footer-links a {
    color: #93867F;
    text-decoration: none;
    transition: color 150ms ease;
    margin: 0 15px;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #7D70BA;
}

.footer-links li::before {
    content: '/';
    position: relative;
    left: -2px;
}

.footer-links li:first-child::before {
    display: none;
}
.footer-links-kudos img {
    position: relative;
    top: 6px;
    margin-left: 2px;
}

@media (min-width: 600px) {
    .header {
        padding: 25px 0;
    }

    .nav-logo {
        margin-top: -13px;
    }

    .nav-logo img {
        max-height: 50px;
    }

    .nav-links {
        font-size: 18px;
    }

    .nav-links li {
        margin: 0 0 0 30px;
    }

    .content {
        font-size: 15px;
        line-height: 1.8;
        margin: 100px auto;
    }

    .highlight {
        font-size: 15px;
        margin: 40px -20px;
    }

    .archive {
        text-align: left;
    }

    .archive-title {
        font-size: 38px;
    }

    .archive-item-date {
        font-size: 19px;
        text-align: right;
        float: right;
    }

    .article-title {
        font-size: 42px;
    }

    .article-duration {
        font-size: 12px;
    }

    .footer-links {
        font-size: inherit;
    }
}
