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

body {
    background-color: #F1F1F1;
    color: #000;
    font-family: system-ui, Helvetica, Arial;
    text-align: center;
    padding: 20px;
}

.container {
    text-align: left;
    filter: drop-shadow(0px 8px 10px rgba(0, 0, 0, 0.10));
    padding: 20px;
    border-radius: 15px;
    background-color: #fff;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-container h1 {
    font-size: 3em;
    font-weight: 900;
}

.article-container blockquote {
    border-radius: 15px;
    background-color: #F1F1F1;
}

.article-container blockquote p {
    padding: 10px;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 20px;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    justify-content: left;
    text-align: left;
}

header .site-name {
    font-style: normal;
    font-weight: 900;
    font-size: 2.5em;
}

header .site-description {
    display: block;
    font-style: normal;
    font-weight: 900;
    font-size: 1.3em;
}

.profile {
    width: 100px;
    height 100px;
    filter: drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.25));
    border-radius: 20px;
    margin-right: 20px;
}

header a {
    text-decoration: none;
}

nav {
    margin-top: 20px;
}

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

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

p {
    margin-bottom: 10px;
}

a {
    color: inherit;
}

.description {
    margin-bottom: 40px;
}

.footer-description {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.footer-description-dedications {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    font-weight: bold;
}

.ai-recital {
    margin-left: 0 auto;
}

.ai-recital p {
    opacity: 50%;
    font-size: 12px;
    margin-right: 10px;
    font-weight: medium;
}

.article-footer {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.read-more {
    opacity: 50%;
    font-weight: bold;
    margin-top: 10px;
}

.item-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-gap: 20px;
}

.item-list a {
    text-decoration: none;
}

.item-list > li {
    display: block;
}

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

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

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

.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-list-detail {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 10px;
}

.time {
    opacity: 70%;
    font-weight: bold;
}

.item-list-detail .time {
    display: inline-block;
    margin-right: 10px;
}

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

.content {
    margin-bottom: 40px;
}

.content p {
    margin-top: 20px;
    margin-bottom: 20px;
}

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

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

ul {
    list-style-position: inside;
}

footer {
    color: #8a8a8a;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #222;
    }
    
    body,
    header .site-name {
        color: #fff;
    }
    
    .container {
        background-color: #2c2c2c
    }
    
    .article-container blockquote {
        background-color: #222
    }
}

@media(max-width: 600px) {
    header .site-name {
        font-size: 8vw;
    }
    
    .item-list {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}
