/* REGISTRY */
/* File: style.css */
/* Purpose: Visual styling for research.brain.fr */

/* STANZA: RESET & ROOT_VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --c_color_background: #000000;
    --c_color_foreground: #FFFFFF;
    --c_font_primary: 'SF Mono', 'Consolas', 'Menlo', monospace;
}

/* STANZA: CORE_LAYOUT */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--c_color_background);
    color: var(--c_color_foreground);
    font-family: var(--c_font_primary);
}

#aethelred_canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.content_container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
    padding: 1rem;
}

.visually_hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}

/* STANZA: TEXT_PANEL */
.text_panel {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem 3rem;
    border-radius: 0.5rem;
    max-width: 90%;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

/* STANZA: TYPOGRAPHY */
.main_title {
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    animation: text_fade_in 3s ease-in-out;
    color: var(--c_color_foreground);
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.1rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    animation: text_fade_in 3s ease-in-out 0.5s;
    animation-fill-mode: backwards;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

/* STANZA: ANIMATIONS */
@keyframes text_fade_in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* STANZA: RESPONSIVE_ADJUSTMENTS */
@media (max-width: 768px) {
    .text_panel {
        padding: 1.5rem 2rem;
    }
    .main_title {
        font-size: 3.5rem;
    }
    .subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .text_panel {
        padding: 1rem 1.5rem;
        max-width: 95%;
    }
    .main_title {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 0.9rem;
    }
}