body {
    background-image: url("/img/bg/post.png");
    background-attachment: fixed;
    background-size: cover;
}

.body {
    display: flex;
}

.content {
    flex: 1;
    min-width: 0;
}

.post-title {
    font-size: 2rem;
    font-weight: bold;
    line-height: 2;
    margin: 0 0 2rem;
    margin: 0 1rem;
    padding: 1rem;
    text-align: center;
    border-radius: 0 0 2rem 2rem;
    background: #FFFFFFBF;
}

.post-title .info {
    font-size: .75rem;
    line-height: 1.5;
    text-align: left;
    color: #7F7FBF;
}

main {
    padding: 1rem;
}

.sidebar {
    position: sticky;
    top: 1rem;
    display: flex;
    align-self: flex-start;
    flex-direction: column;
    gap: 1rem;
    width: 20%;
    margin: .5rem 0 .5rem .5rem;
}

.widget {
    padding: .5rem;
    transition: .25s;
    border-radius: 1rem;
    background: #FFFFFF7F;
    backdrop-filter: blur(.5rem);
}

.widget:hover {
    transform: translateY(-.25rem);
    box-shadow: 0 1rem 1rem #0000007F;
}

.widget h3 {
    font-weight: bold;
    position: relative;
    margin: .5rem .5rem 1rem;
    padding-bottom: 1rem;
    color: #3F3F3F;
}

.widget h3::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 8rem;
    height: .25rem;
    content: "";
    border-radius: 4rem;
    background: #7F7F7F;
}

.widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget li {
    margin-bottom: .5rem;
}

.widget a {
    display: block;
    overflow: hidden;
    padding: .5rem;
    transition: .25s;
    text-decoration: none;
    color: #3F7F3F;
    border-radius: 0 0 1rem 1rem;
    background: #FFFFFF7F;
}

.widget a:hover {
    padding: 1rem;
    color: #FFFFFF;
    background: #3F7F3F;
}

@media (max-width: 768px) {
    .body {
        display: block;
    }

    .sidebar {
        position: static;
        width: calc(100% - 1rem);
        margin: 1rem .5rem .5rem .5rem;
        margin-top: 1rem;
    }
}