article h1 {
    text-align: center;
}

article img {
    margin-bottom: 1rem;
    max-width: 100%;
    border-radius: .3rem;
}

.article-card-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

.article-card {
    box-shadow: 0 0 15px #0003;
    overflow: hidden;
    transition: background-color 0.3s;
}

@media (hover: hover) {
    .article-card:hover {
        background-color: lightgray;
    }
}

.article-card a {
    text-decoration: none;
    transform-origin: left;
    transition: transform 0.3s;
}

@media (hover: hover) {
    .article-card:hover a {
        transform: scale(1.1);
    }
}

#tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding-left: 0;
}

#tags li {
    padding: .3rem 1rem;
    background-color: lightgray;
    border-radius: 1rem;
    font-size: small;
}

#contents {
    margin: 1rem 0;
    padding: 1rem;
    background-color: lightgray;
    border-radius: .6rem;
    width: fit-content;
}

#contents .fa-chevron-right {
    margin-left: .5rem;
    transition: transform 0.3s;
}

#contents ol {
    margin-bottom: 0;
    list-style: none;
}

.hljs {
    border-radius: .6rem;
    background: lightgray;
    color: #444;
    font-family: 'Consolas';
}

.code-inline {
    padding: .2rem;
    border-radius: .3rem;
    background: lightgray;
    color: #444;
}

.item {
    padding: .3rem;
    width: fit-content;
    background-color: lightblue;
    border-left: .3rem solid steelblue;
}
