/* ---
--- FONT IMPORT
--- */
@import url('https://fonts.bunny.net/css?family=ibm-plex-mono:400,700');

/* ---
--- RESET & BASE STYLES
--- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    background-color: #ffffff;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #000;
}

/* ---
--- HEADER
--- */
header {
    padding: 1.5rem 2rem;
    font-size: 1rem;
    line-height: 1.4;
    position: relative;
    z-index: 100; /* Ensure header is above canvas */
}

.logo a {
    font-weight: 700;
    text-decoration: none;
}

nav {
    font-size: 0.95rem;
}

nav a {
    text-decoration: none;
}

a:hover {
    color: #00FF00 !important;
    background-color: #000 !important;
    text-decoration: none !important;
}


/* ---
--- MAIN LAYOUTS
--- */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: clamp(3rem, 20vw, 15rem);
    line-height: 0.9;
    text-align: center;
    color: #000;
    z-index: 1;
    user-select: none;
}

.hero-text span {
    display: block;
    /* Spans themselves shouldn't receive pointer events, the H1 should */
    pointer-events: none; 
}

/* ---
--- FULLSCREEN CANVAS
--- */
.spray-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50; /* Above content, below header */
    pointer-events: none; /* Let clicks pass through */
    cursor: default;
}

/* ---
--- SUBTEXT on Index
--- */
.subtext {
    position: fixed;
    bottom: 5%;
    right: 5%;
    max-width: 150px;
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: right;
    z-index: 100;
}

/* ---
--- CONTENT PAGE (Kontakt, Impressum)
--- */
.content-page {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    align-self: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}

.content-page h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.content-page p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ---
--- MEDIA QUERIES
--- */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .hero-text {
        font-size: 15vw;
    }

    .subtext {
        position: relative;
        text-align: center;
        margin-top: 2rem;
        right: auto;
        bottom: auto;
        max-width: 80%;
    }
}

/* ---
--- LOG/AKTUELLES PAGE
--- */
.log-container {
    width: 100%;
}

.log-entry {
    padding: 1.25rem 0; /* 20px */
    border-bottom: 2px solid #000;
    transition: background-color 0.2s ease;
}

.log-entry:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.log-entry:first-child {
    border-top: 2px solid #000;
}

/* This is the .log-meta equivalent */
.log-timestamp {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem; /* 14px */
    color: #555;
    padding-bottom: 0.5rem;
}

.log-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 0.25rem;
}

.log-title {
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.25rem; /* 20px */
}

.status-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
}

/* This is the .log-desc equivalent */
.log-description {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left; /* or 'justify' if preferred */
}
