/**
*  Publish Foundation theme
*  Copyright (c) John Sundell 2019
*  MIT license, see LICENSE file for details
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fff;
    color: #000;
    font-family: Proxima Nova, Tahoma, Helvetica, Verdana, sans-serif;
    text-align: center;
}

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

header {
    background-color: #eee;
}

header .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: left;
}

header a {
    text-decoration: none !important;
}

header .site-name {
    font-size: 1.5em;
    color: #000;
    font-family: "Lucida Console", Monaco, "Courier New", Courier, monospace;
}

nav {
    margin-top: 20px;
}

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

nav li a.selected {
    text-decoration: underline;
}

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

h2 {
    margin: 20px 0;
}

p {
    margin-bottom: 10px;
}

a {
    color: inherit;
}

.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 h1 a:hover {
    text-decoration: none;
    color: #333652;
}

.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;
}

.about h2 {
    text-transform: uppercase !important;
}
.about .avatar {
    flex-grow: 0;
}
.about .row {
    justify-content: center;
}
.about .row .avatar img {
    width: 12em;
    height: 12em;
    border-radius: 50%;
    margin: 1em;
    min-width: 12em;
}
.about .info .row {
    justify-content: center;
}
.about .fa-yandex-international {
    padding: 0.2em;
    border-radius: 0.2em;
    background-color: red;
    color: white;
}

blockquote p {
    position: relative;
    background-color: #efefef;
    padding: 10px 10px 10px 15px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-left: 4px solid #fad02c;
}

footer {
    color: #8a8a8a;
}
footer div.row {
    justify-content: center;
}
footer p {
    margin-bottom: 0;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #222;
    }

    body,
    pre,
    header .site-name {
        color: #ddd;
    }

    .item-list > li {
        background-color: #333;
    }

    .btn-outline-dark {
        color: #ddd;
        border-color: #ddd;
    }

    .btn-outline-dark:hover {
        color: #333;
        background-color: #ddd;
        border-color: #ddd;
    }

    .item-list h1 a:hover {
        color: #fad02c;
    }

    header {
        background-color: #000;
    }

    blockquote p {
        background-color: #333;
    }
}

@media(max-width: 600px) {
    .wrapper {
        padding: 40px 20px;
    }
}
