@font-face {
    font-family: "Inter";
    src: url("/fonts/InterVariable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "JetBrains Mono";
    src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "JetBrains Mono";
    src: url("/fonts/JetBrainsMono-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Inter", Arial, sans-serif;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    color: white;
    background-color: #05070d;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 15% 10%, rgba(0, 123, 255, 0.18), transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(0, 123, 255, 0.12), transparent 45%);
    background-size: 42px 42px, 42px 42px, 100% 100%, 100% 100%;
    background-attachment: fixed;
    min-height: 100vh;
}

h1, h2, .post-title, .card-title, .logo {
    font-family: "JetBrains Mono", "Consolas", monospace;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a { color: white; }

.search-box {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.post {
    border: 1px solid rgba(0, 123, 255, 0.25);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    background-color: rgba(5, 10, 20, 0.85);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.08);
}

.post h2 {
    margin: 0;
    font-size: 1.5em;
}

.post h2 a {
    color: white;
    text-decoration: none;
}

.post p.date {
    color: gray;
    font-size: 0.9em;
    font-family: "JetBrains Mono", monospace;
}

.post img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

.read-more {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    border-radius: 3px;
}

/* Detailseite */
.post-single {
    border: 1px solid rgba(0, 123, 255, 0.25);
    padding: 20px;
    border-radius: 5px;
    background-color: rgba(5, 10, 20, 0.85);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.08);
}

.post-single img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

.post-single .date {
    color: gray;
    font-size: 0.9em;
}

.post-single .back-link {
    display: inline-block;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
}

.tag {
    background-color: rgba(255,255,255,0.15);
    border-radius: 3px;
    padding: 2px 8px;
    margin-left: 6px;
    font-size: 0.8em;
}
