/* style.css */
:root {
    --font-base: 16px;
    --font-scale: 1;
    --background-color: #0a192f; /* Dark navy for Dark Mode Sky Blue */
    --text-color: #ccd6f6;
    --quote-color: #a0b8d8; /* Slightly off color for quotes */
    --accent-color: #87ceeb; /* Sky blue */
    --button-bg: #112240;
    --button-hover-bg: #1c3a5e;
    --button-text: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --border-radius: 8px;
}

html {
    font-size: calc(var(--font-base) * var(--font-scale));
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 1rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.top-image {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

header {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

h1 {
    font-family: 'Gabriela', serif;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-shadow: 1px 1px 2px var(--shadow-color);
}

h1 button {
    margin-left: 0.5rem;
}

button {
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, transform 0.1s ease;
}

button:hover {
    background-color: var(--button-hover-bg);
}

button:active {
    transform: translateY(2px);
}

main {
    max-width: 800px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

p, blockquote {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-shadow: 0.5px 0.5px 1px var(--shadow-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--quote-color);
}

@media (max-width: 600px) {
    body {
        padding: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}