html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background-color: #FFF;
    color: #444;
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif;
    font-size: 87.5%;
}

a {
    color: #3354AA;
    text-decoration: none;
}

a:hover, a:active {
    color: #444;
}

pre, code {
    background: #F3F3F3;
    font-family: Menlo, Monaco, Consolas, "Lucida Console", "Courier New", monospace;
    font-size: .92857em;
}

code {
    padding: 2px 4px;
    color: #B94A48;
}

pre {
    padding: 8px;
    overflow: auto;
    max-height: 400px;
}

pre code {
    padding: 3px;
    color: #444;
}

blockquote {
    margin: 1em 0;
    padding-left: 1.5em;
    border-left: 4px solid #eee;
    color: #666;
}

table {
    border: 1px solid #ddd;
    width: 100%;
}

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

table th {
    background: #f3f3f3;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea {
    padding: 5px;
    border: 1px solid #E9E9E9;
    width: 100%;
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.post-meta a, .post-content a, .widget a, .comment-content a {
    border-bottom: 1px solid #EEE;
}

.post-meta a:hover, .post-content a:hover, .widget a:hover, .comment-content a:hover {
    border-bottom-color: transparent;
}

.browsehappy {
    padding: 8px 0;
    background: #FBE3E4;
    color: #8A1F11;
    text-align: center;
}

.browsehappy a {
    color: #8A1F11;
    text-decoration: underline;
    font-weight: bold;
}

#header {
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #EEE;
}

#logo {
    color: #333;
    font-size: 2.5em;
    filter: drop-shadow(0 0 5px white) drop-shadow(0 0 5px white) drop-shadow(0 0 5px white);
}

.site-name #logo img {
    max-height: 180px;
    max-width: 70%;
}

.site-name-row {
    height: 100%;
    align-items: center;
    margin-top: -36px;
}

.site-name {
    text-align: center;
    margin-top: 90px;
}

.description {
    margin: .5em 0 0;
    color: #999;
    font-style: italic;
}

#nav-menu {
    margin: 0;
    padding: 0;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.4);
    height: 36px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.26);
    line-height: 36px;
    display: flex;
    text-transform: uppercase;
}

#nav-menu a {
    padding: 0 22px;
    color: #444;
    text-shadow: 0 0 2px #FFF, 0 0 2px #FFF;
    transition: background-color 0.2s;
    background-color: transparent;
}

#nav-menu a:hover {
    transition: background-color 0.2s;
    background-color: rgba(255, 255, 255, 0.4);
}

#search {
    position: relative;
    margin-top: 15px;
}

#search input {
    padding-right: 30px;
}

#search button {
    position: absolute;
    right: 4px;
    top: 2px;
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    background: transparent url(../img/icon-search.png) no-repeat center center;
    direction: ltr;
    text-indent: -9999em;
}

@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi) {
    #search button {
        background-image: url(../img/icon-search@2x.png);
        -webkit-background-size: 24px 24px;
        -moz-background-size: 24px 24px;
        -o-background-size: 24px 24px;
        background-size: 24px 24px;
    }
}

.container {
    padding-top: 20px;
}

#posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 15px;
}

.post-thumb .post-thumb-box {
    width: 100%;
    display: block;
    position: absolute;
}

.post-thumb .post-thumb-date {
    right: 40px;
    bottom: 15px;
    position: absolute;
}

.post-thumb #thumb-bg {
    z-index: -50;
}

.post-thumb #thumb-texts {
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.4);
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    text-align: center;
    transition: opacity 0.2s;
    opacity: 0.0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.post-thumb .post-thumb-title {
    color: #424242;
    text-shadow: 0 0 2px #FFF, 0 0 2px #FFF;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 8px;
    padding-right: 8px;
    line-height: 1.4;
    font-size: 14px;
}

.post-thumb-title a {
    color: #444;
    text-decoration: none;
}

.post-thumb #thumb-link {
    z-index: 100;
    height: 100%;
}

.post-thumb #thumb-steam {
    z-index: 0;
    width: 100px;
    filter: drop-shadow(0 0 5px white) drop-shadow(0 0 5px white) drop-shadow(0 0 5px white) drop-shadow(0 0 5px white);
    top: 8px;
    right: 8px;
}

.post-thumb {
    border: 1px solid #dcdcdc;
    background: rgb(255, 255, 255);
    background: radial-gradient(circle, rgb(255, 255, 255) 0%, rgb(239, 239, 239) 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    width: 400px;
    height: 200px;
    margin: 24px;
    transition: box-shadow 0.2s;
    box-shadow: 0 0 10px 0 #e8e8e8;
}

@media (max-width: 767px) {
    .post-thumb {
        margin: 12px 2px 12px 2px;
        width: 350px;
        height: 175px;
    }
}

@media (max-width: 991px) {
    .post-thumb {
        margin: 12px 2px 12px 2px;
        width: 350px;
        height: 175px;
    }
}

.post-thumb:hover {
    transition: box-shadow 0.2s;
    box-shadow: 0 0 10px 0 #bcbcbc;
}

.post-thumb:hover > #thumb-texts {
    transition: opacity 0.2s;
    opacity: 1.0;
}

@media (hover: none) {
    .post-thumb:hover {
        transition: none;
        box-shadow: 0 0 10px 0 #e8e8e8;
    }

    .post-thumb #thumb-texts {
        transition: none;
        opacity: 1.0;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .post-thumb:hover > #thumb-texts {
        transition: none;
        opacity: 1.0;
    }
}

.post-title {
    margin: .83em 0;
    font-size: 1.4em;
}

.post-meta {
    margin-top: -0.5em;
    padding: 0;
    color: #999;
    font-size: .92857em;
}

.post-meta li {
    display: inline-block;
    margin: 0 8px 0 0;
    padding-left: 12px;
    border-left: 1px solid #EEE;
}

.post-meta li:first-child {
    margin-left: 0;
    padding-left: 0;
    border: none;
}

.post-content {
    line-height: 1.5;
    min-height: 180px;
}

.post .tags {
    clear: both;
}

.post-near {
    list-style: none;
    margin: 30px 0;
    padding: 0;
    color: #999;
}

.post-near li {
    margin: 10px 0;
}

.archive-title {
    margin: 1em 0 -1em;
    padding-top: 20px;
    color: #999;
    font-size: 1em;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
}

.more {
    text-align: center;
}

.more a {
    border: none;
}

.protected .text {
    width: 50%;
}

.page-navigator {
    list-style: none;
    margin: 25px 0;
    padding: 0;
    text-align: center;
}

.page-navigator li {
    display: inline-block;
    margin: 0 4px;
}

.page-navigator a {
    display: inline-block;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
}

.page-navigator a:hover {
    background: #EEE;
    text-decoration: none;
}

.page-navigator .current a {
    color: #444;
    background: #EEE;
}

#comments {
    padding-top: 15px;
}

.comment-list, .comment-list ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li {
    padding: 14px;
    margin-top: 10px;
    border: 1px solid #EEE;
}

.comment-list li.comment-level-odd {
    background: #F6F6F3;
}

.comment-list li.comment-level-even {
    background: #FFF;
}

.comment-list li.comment-by-author {
    background: #FFF9E8;
}

.comment-list li .comment-reply {
    text-align: right;
    font-size: .92857em;
}

.comment-meta a {
    color: #999;
    font-size: .92857em;
}

.comment-author {
    display: block;
    margin-bottom: 3px;
    color: #444;
}

.comment-author .avatar {
    float: left;
    margin-right: 10px;
}

.comment-author cite {
    font-weight: bold;
    font-style: normal;
}

.comment-list .respond {
    margin-top: 15px;
    border-top: 1px solid #EEE;
}

.respond .cancel-comment-reply {
    float: right;
    margin-top: 15px;
    font-size: .92857em;
}

#comment-form label {
    display: block;
    margin-bottom: .5em;
    font-weight: bold;
}

#comment-form .required:after {
    content: " *";
    color: #C00;
}

#secondary {
    padding-top: 25px;
    word-wrap: break-word;
}

#secondary a {
    color: #272727;
    border-bottom: none;
}

#secondary a:hover {
    color: #b58a03;
}

.widget {
    margin-bottom: 20px;
}

.widget-list {
    list-style: none;
    padding: 0;
}

.widget-list li {
    margin: 5px 0;
    line-height: 1.6;
}

.widget-list li ul {
    margin-left: 15px;
}

#footer {
    padding: 1em 0 0.5em 0;
    line-height: 1.5;
    text-align: center;
    height: 96px;
    color: #757575;
    background-color: #f3f3f3;
    margin-top: 60px;
}

#footer .row {
    line-height: 38px;
}

#footer a {
    color: #757575;
}

#footer a:hover {
    color: #272727;
}

.error-page {
    margin-top: 100px;
    margin-bottom: 100px;
}

.post-content, .comment-content {
    line-height: 1.5;
    word-wrap: break-word;
}

.post-content h2, .comment-content h2 {
    font-size: 1.28571em;
}

.post-content img, .comment-content img, .post-content video, .comment-content video {
    max-width: 100%;
}

.post-content a img, .comment-content a img {
    background: #FFF;
    position: relative;
    bottom: -4px;
}

.post-content hr, .comment-content hr {
    margin: 2em auto;
    width: 100px;
    border: 1px solid #E9E9E9;
    border-width: 2px 0 0 0;
}

.aligncenter, div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

img.alignleft {
    margin: 0 15px 0 0;
}

img.alignright {
    margin: 0 0 0 15px;
}

@media (max-width: 767px) {
    body {
        font-size: 81.25%;
    }

    #nav-menu a {
        float: none;
        display: inline-block;
        margin: 0 -10px;
    }
}

@media (max-width: 374px) {
    #nav-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    #header, .post-title, .post-meta {
        text-align: center;
    }
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.sr-only {
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.sr-only.focusable:active, .sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.flex-box {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.flex-item {
    min-width: 100px;
    min-height: 100px;
    background: #ffffff;
    padding:0px 18px 18px 0px;
}
