:root {
    color-scheme: dark;

    --bg: #004565;
    --bg2: #000000;
    --text: #e6edf3;
    --muted: #b6c0cc;

    --link: #d19a66;
    --link-high: #ff8787;

    --border: #ffffff57;
    --card-pad: 20px;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: radial-gradient(1200px 800px at 20% 0%, var(--bg), var(--bg2));
    background-attachment: fixed;
    overscroll-behavior: none;
}

body {
    margin: 0;
    min-height: 100%;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Arial;
    background: transparent;
    color: var(--text);
    line-height: 1.55;
}

.container {
    max-width: 820px;
    margin: 56px auto;
    padding: 0 16px;
}

p {
    margin: 0 0 12px;
    max-width: 65ch;
    color: var(--muted);
}

h1 {
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.7em;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    color: var(--link-high);
}

/* top links */
.links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.links a {
    font-weight: 600;
}

/* your “clean card” look */
.card {
    background: transparent;
    border-radius: var(--radius);
    padding: var(--card-pad);
    margin: 12px 0;
    border-left: 4px solid var(--border);
    border-bottom: 4px solid var(--border);
    backdrop-filter: blur(76px);
    -webkit-backdrop-filter: blur(76px); /* for Safari */
}

/* shared entry styles (Experience + Projects) */
.entry-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.entry-title {
    font-size: 1.7em;
    font-weight: 800;
    color: var(--text);
}

/* title link styling (if title contains an <a>) */
.entry-title a {
    color: var(--link);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--link-high);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-meta {
    font-size: 0.9rem;
    color: var(--muted);
}

.entry-points {
    margin: 0;
    padding-left: 18px;
}

.entry-points li {
    margin: 8px 0;
    line-height: 1.45;
}

footer {
    margin-top: 28px;
    color: var(--muted);
    text-align: center;
}

/* Now text */
#now {
    transition: opacity 0.3s ease-in-out;
}

img {
    max-height: 300px;
    width: auto;
    display: block;

    border-radius: 12px;
    object-fit: cover;

    margin: 1.5rem 0px 1.5rem;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.25);
}
