/* Gravity's Rainbow Blueprint Theme */

html, body {
    min-height: 100vh; /* Ensure the body covers the full viewport height */
}

body {
    font-family: 'EB Garamond', serif;
    background-color: #0f2a73;
    background-image: url("/static/images/rocket_blueprint.svg");
    background-size: 600px auto;
    background-repeat: repeat;
    color: #a0cfee; /* Light blue for blueprint lines/text */
    margin: 0;
    padding: 0;
    font-size: 18px;
    text-rendering: optimizeLegibility;
}

header {
    background: transparent;
    border-bottom: 2px solid #5a678e; /* A slightly brighter blue for separation */
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

nav {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

nav a {
    color: #e0f2ff; /* A very light, almost white-blue */
    text-decoration: none;
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
}

nav a:hover {
    color: #fff;
    text-decoration: underline;
}

/* White content box like the title block on the cover */
main {
    max-width: 820px;
    margin: 2rem auto;
    background: #f6efe3 !important; /* Warm cream like the cover */
    color: #000000 !important; /* Force black text */
    padding: 3rem;
    border: 6px solid #050505;
    color-scheme: light; /* Prevent browser dark-mode inversion */
    text-align: center; /* Center all text content */
    position: relative;
    z-index: 0;
    box-shadow: none;
}

main::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 4px solid #f6efe3;
    z-index: -1;
    background: transparent;
}

footer {
    text-align: center;
    color: #5a678e; /* Muted blue for the footer */
    font-size: 1rem;
    margin: 3rem 0 1rem 0;
}

h1, h2, h3 {
    font-family: 'EB Garamond', serif;
    color: #000000; /* Black headings inside the white box */
    font-weight: 400;
    letter-spacing: 0.04rem;
}

h1 {
    font-size: 2.2rem;
    margin-top: 0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative; /* For the custom border */
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px; /* Adjust this value to make the line shorter or longer */
    height: 1px;
    background-color: #050505;
}

h2 {
    font-size: 2.4rem; /* Reduced from 2.8rem */
    margin-top: 0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Styling for links inside the main content */
main a {
    color: #1a183d;
    text-decoration: underline;
}

main a:hover {
    color: #0056b3;
}

/* CV-specific styling */
.cv {
    text-align: left;
    max-width: 100%;
}

.cv-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #1a183d;
}

.cv-header h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    color: #1a183d;
    font-weight: 700;
}

.contact-info {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.cv-section {
    margin-bottom: 2rem;
}

.cv-section h2 {
    font-size: 1.8rem;
    color: #1a183d;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    font-style: normal;
}

.job, .education {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.job h3, .education h3 {
    font-size: 1.3rem;
    color: #1a183d;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.company, .degree {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 0.25rem 0;
    font-weight: 500;
}

.dates {
    font-size: 0.95rem;
    color: #888;
    margin: 0 0 0.75rem 0;
    font-style: italic;
}

.details {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 0.25rem 0;
}

.job ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.job li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #333;
}

.skills {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Reading list styling */
.reading-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reading-articles li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.reading-articles li:last-child {
    border-bottom: none;
}

.reading-articles strong {
    display: inline;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.reading-articles a {
    color: #1a183d;
    text-decoration: underline;
    word-break: break-all;
} 
