html {
    overflow-y: scroll;
}

@supports (scrollbar-gutter: stable) {
    html {
        overflow-y: auto;
        scrollbar-gutter: stable;
    }
}

@media only screen and (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 2.0;
    color: #414141;
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

a {
    color: #414141;
    text-decoration: none;
}

a:hover, a:focus {
    color: #0085a1;
}

.intro-header {
    background: no-repeat center center;
    background-color: #808080;
    background-attachment: scroll;
    background-size: cover;
    margin-bottom: 0;
    min-height: 280px;
    display: flex;
    align-items: center;
}

.intro-header .container {
    width: 100%;
}

.intro-header .site-heading,
.intro-header .post-heading,
.intro-header .page-heading {
    padding: 40px 20px;
    color: white;
    text-align: center;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.post-heading .tags {
    margin-bottom: 15px;
    text-align: left;
}

.post-heading h1 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 26px;
    line-height: 1.2;
    margin-top: 0;
}

.post-heading .meta {
    font-size: 14px;
    color: #f3f3f3;
    text-align: center;
    display: block;
}

.post-heading .tags .capsule-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.post-heading .tags .capsule-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.intro-header .site-heading h1,
.intro-header .page-heading h1 {
    margin-top: 0;
    font-size: 32px;
}

.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
    font-size: 16px;
    line-height: 1.1;
    display: block;
    font-weight: 300;
    margin: 10px 0 0;
}

@media only screen and (min-width: 768px) {
    .intro-header {
        margin-bottom: 20px;
        min-height: 480px;
    }

    .intro-header .site-heading,
    .intro-header .page-heading {
        padding: 80px 0;
    }

    .intro-header .post-heading {
        padding: 80px 0;
    }

    .intro-header .site-heading h1,
    .intro-header .page-heading h1 {
        font-size: 80px;
    }

    .intro-header .post-heading h1 {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .post-heading .tags {
        margin-bottom: 130px;
    }

    .post-heading .meta {
        font-size: 16px;
    }

    .intro-header .site-heading .subheading,
    .intro-header .page-heading .subheading {
        font-size: 18px;
    }
}

.layout-container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    float: none;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    min-height: 1px;
}

@media (min-width: 768px) {
    .layout-container {
        width: 85%;
    }
}

@media (min-width: 1200px) {
    .layout-container {
        width: 75%;
    }
}

.post-preview > a {
    color: #414141;
}

.post-container img {
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

@media (max-width: 767px) {
    .post-container img {
        margin: 15px auto;
    }
}

.no-home-header .container {
    padding-top: 80px;
}

footer {
    padding: 50px 0 65px;
}

footer .copyright {
    font-size: 14px;
    margin-bottom: 0;
}
