/* Color scheme */
:root {
    --bg-color: #000000;
    --text-color: #F5F2EB;
    --accent-color: #3E456E;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

body > * {
  max-width: 800px;
  padding: 2rem;
}

body > header {
    text-align: center;
    margin: 0 auto;
}

body > main {
    margin: 0 auto;
}

body > footer {
  text-align: center;
  border-top: 2px solid var(--accent-color);
}

.logo {
    width: 400px;
    height: 400px;
    background-image: url(./moonlight.png);
    background-size: cover;
    margin: 0 auto 2rem;
}

a,
a:hover,
a:active,
a:visited {
  color: var(--fg);
  border-bottom: 1px solid var(--accent-color);
  text-decoration: none;
  transition: border-bottom 200ms;
  position: relative;
}

a:hover,
a:focus {
  border-bottom: 1px solid var(--text-color);
}

a:active {
  top: 1px;
}

blockquote {
  border-left: 5px solid var(--accent-color);
  padding-left: 1rem;
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

ol,
ul {
  list-style-position: inside;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.column {
    background-color: var(--bg-color);
    border: 2px solid var(--accent-color);
    padding: 2rem;
}

/* Responsive two-column layout for medium screens and larger */
@media (min-width: 768px) {
    .columns {
        flex-direction: row;
        max-width: 1200px;
    }
    
    .column {
        flex: 1;
    }
}

/* Light color scheme (optional alternative) */
@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #F5F2EB;
        --text-color: #3E456E;
        --accent-color: #000000;
    }
}
