* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;

    color: white;

    overflow-x: hidden;

    background: #000;
}

/* Background */

#background {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.80)
        ),
        url("background.jpg");

    background-size: cover;
    background-position: center;

    filter: blur(12px);
    transform: scale(1.1);

    z-index: -1;
}

.container {
    position: relative;
    z-index: 2;

    max-width: 720px;
    margin: 0 auto;

    padding: 50px 25px;
}

/* Header */

.site-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.site-header .logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 0 12px purple);
}

.site-header h1 {
    margin: 0;
    font-size: 28px;
    flex: 1;
}

.btn {
    display: inline-block;
    padding: 10px 18px;

    color: white;
    text-decoration: none;
    font-size: 14px;

    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;

    transition: .3s ease;
}

.btn:hover {
    background: rgba(255,255,255,.2);
    box-shadow: 0 0 15px purple;
}

.btn.small {
    padding: 8px 14px;
    font-size: 13px;
}

/* Post list */

.post-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.post-card {
    display: block;

    padding: 22px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;

    color: white;
    text-decoration: none;

    transition: .25s ease;
}

.post-card:hover {
    background: rgba(255,255,255,.12);
    box-shadow: 0 0 25px rgba(128,0,255,.35);
    transform: translateY(-2px);
}

.post-card h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.post-date {
    color: #aaa;
    font-size: 13px;
    margin: 0 0 10px;
}

.post-excerpt {
    color: #ddd;
    margin: 0;
    line-height: 1.5;
}

/* Single post */

article {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 30px;
}

article h1 {
    margin-top: 0;
}

.post-body {
    line-height: 1.7;
    color: #eee;
}

.post-body p {
    margin: 0 0 16px;
}

.post-body code {
    background: rgba(255,255,255,.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

.muted {
    color: #888;
}
