/* This code was made using Gemini CLI. */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: #f9e2ca;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

header, footer {
    background-color: #752525;
    padding: 20px;
    text-align: center;
}

header {
    height: 15vh;
    font-family: 'Cinzel', serif;
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    display: flex;
    flex-grow: 1;
}

.column {
    padding: 20px;
    border: 1px solid #ddd;
    color: #752525;
    display: flex;
    flex-direction: column;
}

.column h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8em;
    text-align: center;
    text-transform: capitalize;
}

.column p {
    font-family: sans-serif;
    font-size: 1em;
    text-align: left;
    margin-bottom: 1em;
}

.sidebar {
    flex: 0 0 15%;
}

.main-content {
    flex: 1;
    justify-content: flex-start;
    align-items: center;
}

.creative-writing {
    justify-content: flex-start;
    align-items: center;
}

.code-column {
    justify-content: flex-start;
    align-items: center;
}

.code-column img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.code-column pre {
    background-color: #333;
    color: #f9e2ca;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    width: 100%;
    box-sizing: border-box;
}

.code-column code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 20px;
}

.gallery img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 5px;
}