/**
 *  stevenyuser's Publish website theme
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
    position: relative;
    background: #D3D4D3;
    color: #000;
    font-family: 'Poppins', sans-serif;
    /*font-family: 'Noto Sans SC', sans-serif;*/
    text-align: center;
    /*min-height:100vh;
    display: flex;
     flex-direction: column;*/
    min-height: 100%;

    padding-bottom: 6rem;
}

.wrapper {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
}

header {
    background-color: #000000;
    color: #FECB01;
}

header .wrapper {
    /*padding-top: 30px;
     padding-bottom: 30px;*/
    padding: 0px;
    text-align: center;
    max-width: 95%;
    
    height: 100px;
}

header a {
    text-decoration: none;
}

header .title {
    font-size: 2em;
    font-weight: bold;
    display: inline;
    float: left;
    height: 100px;
    
    /*border: 3px solid black;*/
    vertical-align: middle;
    text-align: center;
    line-height: 100px;
}

header .navigation {
    display: inline;
    float: right;
    
    /*border: 3px solid black;*/
    vertical-align: middle;
    text-align: center;
    line-height: 100px;
}

nav {
    /*margin-top: 0px;*/
    height: 100px;
    color: #fff;
}

nav li {
    display: inline-block;
    margin: 0 10px;
    line-height: 1.5em;
}

nav li a.selected {
    background-color: #464646;
    padding:5px;
    border-radius: 5px;
}

h1 {
    margin-bottom: 20px;
    font-size: 2em;
}

h2 {
    margin: 20px 0;
}

p {
    margin-bottom: 10px;
}

a {
    color: inherit;
}

.main-intro {
    display: block;
    padding: 20px;
    border-radius: 20px;
    background-color: #eee;
    margin-bottom: 40px;
}

.description {
    /*margin-bottom: 40px;*/
}

.item-list > li {
    display: block;
    padding: 20px;
    border-radius: 20px;
    background-color: #eee;
    margin-bottom: 20px;
}

.item-list > li:last-child {
    margin-bottom: 0;
}

.item-list h1 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.item-list p {
    margin-bottom: 0;
}

.tag-list {
    margin-bottom: 15px;
}

.tag-list li,
.tag {
    display: inline-block;
    background-color: #000;
    color: #ddd;
    padding: 4px 6px;
    border-radius: 5px;
    margin-right: 5px;
}

.tag-list a,
.tag a {
    text-decoration: none;
}

.item-page .tag-list {
    display: inline-block;
}

.content {
    margin-bottom: 40px;
}

.browse-all {
    display: block;
    margin-bottom: 30px;
}

.all-tags li {
    font-size: 1.4em;
    margin-right: 10px;
    padding: 6px 10px;
}

footer {
    background-color: #2C2C2C;
    color: #fff;
    
    height: 50px;
    margin-top: auto;
    margin-top: auto;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

footer .wrapper {
    max-width: 95%;
    text-align: center;
    
    height: 50px;
    padding: 0px;
}

footer li {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
}

footer a {
    padding-bottom: 6px;
    text-align: center;
}

footer a img {
    vertical-align: middle;
}

footer ul {
    display: inline;
    float: left;
    
    vertical-align: middle;
    text-align: center;
    line-height: 50px;
}

footer p {
    display: inline;
    float: right;
    
    vertical-align: middle;
    text-align: center;
    line-height: 50px;
}

pre {
    margin-bottom: 1.5em;
    background-color: #1a1a1a;
    padding: 16px 0;
    border-radius: 16px;
}

pre code {
    font-family: monospace;
    display: block;
    padding: 0 20px;
    color: #a9bcbc;
    line-height: 1.4em;
    font-size: 0.95em;
    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
}

pre code .keyword {
    color: #e73289;
}

pre code .type {
    color: #8281ca;
}

pre code .call {
    color: #348fe5;
}

pre code .property {
    color: #21ab9d;
}

pre code .number {
    color: #db6f57;
}

pre code .string {
    color: #fa641e;
}

pre code .comment {
    color: #6b8a94;
}

pre code .dotAccess {
    color: #92b300;
}

pre code .preprocessing {
    color: #b68a00;
}

/*
@media (prefers-color-scheme: dark) {
    body {
        background-color: #222;
    }
    
    body {
        color: #ddd;
    }
    
    .item-list > li {
        background-color: #333;
    }
    
    .main-intro {
        background-color: #333;
    }
}
*/

@media(max-width: 600px) {
    .wrapper {
        padding: 40px 20px;
    }
    
    header .wrapper {
        max-width: 90%;
    }
    
    header .title {
        font-size: 1.5em;
    }
    nav li {
        margin: 0 5px;
    }
    
    footer {
        background-color: #2C2C2C;
        color: #fff;
        
        height: 100px;
        margin-top: auto;
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    footer .wrapper {
        max-width: 90%;
        text-align: center;
        
        height: 100px;
        padding: 0px;
    }

    footer li {
        display: inline-block;
        margin-left: 10px;
        margin-right: 10px;
        text-align: center;
    }

    footer a {
        padding-bottom: 6px;
        text-align: center;
    }

    footer a img {
        vertical-align: middle;
    }

    footer ul {
        display: block;
        float: none;
        
        vertical-align: middle;
        text-align: center;
        line-height: 50px;
    }

    footer p {
        display: block;
        float: none;
        
        vertical-align: middle;
        text-align: center;
        line-height: 50px;
    }
}
