@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font: 'Courier Prime', 'Courier New', Courier, monospace;
    --text: #222;
    --bg: #fff;
    --muted: #666;
    --rule: #ddd;
}

body {
    font-family: var(--font), serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.4;
}

/* ==================== */
/* PAGE                 */
/* ==================== */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==================== */
/* HEADER + NAV         */
/* ==================== */
.header {
    padding: 2rem 2rem 0;
}

.site-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
}

.site-name a {
    text-decoration: none;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

nav a {
    display: block;
    width: fit-content;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
    transition: opacity 0.2s;
}

nav a:hover {
    opacity: 0.4;
}

/* ==================== */
/* RESUME CONTENT       */
/* ==================== */
.resume {
    flex: 1;
    width: 100%;
    max-width: 680px;
    padding: 4rem 2rem 2rem;
}

.resume-header {
    margin-bottom: 3rem;
}

.resume-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.resume-contact {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Section */
.section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 1.5rem;
}

/* Entry (job / project / education) */
.entry {
    margin-bottom: 2rem;
}

.entry:last-child {
    margin-bottom: 0;
}

.entry-header {
    margin-bottom: 0.6rem;
}

.entry-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.entry-sub {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
}

.entry-tech {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--muted);
    margin-top: 0.15rem;
}

.entry-links {
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

/* Bullet points as simple paragraphs with a dash */
.entry-points {
    margin-top: 0.5rem;
}

.entry-points p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.35rem;
    padding-left: 1.2rem;
    text-indent: -1.2rem;
}

.entry-points p::before {
    content: "– ";
    color: var(--muted);
}

/* ==================== */
/* FOOTER               */
/* ==================== */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 2rem 1.5rem;
    margin-top: auto;
}

.footer-email {
    font-size: 0.85rem;
}

.dots-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}

.dots-btn:hover {
    background: #eee;
}

.dots-btn svg {
    width: 15px;
    height: 15px;
    fill: #666;
}

/* ==================== */
/* MOBILE               */
/* ==================== */
@media (max-width: 767px) {
    .header {
        padding: 1.5rem 1.5rem 0;
    }

    .resume {
        padding: 3rem 1.5rem 1.5rem;
    }

    .entry-points p {
        font-size: 0.85rem;
    }

    .footer {
        padding: 3rem 1.5rem 1.2rem;
    }
}

/* ==================== */
/* DESKTOP              */
/* ==================== */
@media (min-width: 768px) {
    .header {
        padding: 2.5rem 3rem 0;
    }

    .resume {
        padding: 5rem 3rem 2rem;
        margin-left: 12%;
    }

    .footer {
        padding: 2rem 3rem 2rem;
    }
}

@media (min-width: 1100px) {
    .resume {
        margin-left: 18%;
    }
}

@media (min-width: 1400px) {
    .header {
        padding: 2.5rem 4rem 0;
    }

    .resume {
        padding: 5rem 4rem 2rem;
        margin-left: 20%;
    }

    .footer {
        padding: 2rem 4rem 2rem;
    }
}