:root {
    --text: #1f2937;
    --muted: #4b5563;
    --heading: #111827;
    --accent: #1f4e79;
    --border: #d1d5db;
    --background: #ffffff;
    --page-background: #f3f4f6;
}

* {
    box-sizing: border-box;
}



body {
    margin: 0;

    background: var(--page-background);

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.45;
}


/* =========================================
   RESUME CONTAINER
   ========================================= */

.resume {
    width: min(900px, 100%);

    margin: 32px auto;

    padding: 42px 52px;

    background: var(--background);

    box-shadow:
        0 2px 14px rgba(0, 0, 0, 0.08);
}


/* =========================================
   HEADER
   ========================================= */

.header {
    text-align: center;

    padding-bottom: 16px;

    margin-bottom: 22px;

    border-bottom:
        2px solid var(--accent);
}


.header h1 {
    margin: 0 0 5px;

    color: var(--heading);

    font-size: 30px;

    font-weight: 700;

    letter-spacing: 0.2px;
}


.clearance {
    margin: 0 0 9px;

    color: var(--accent);

    font-size: 14px;

    font-weight: 700;
}


.contact {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


.contact a {
    color: inherit;

    text-decoration: none;
}


.contact a:hover {
    color: var(--accent);

    text-decoration: underline;
}


/* =========================================
   SECTIONS
   ========================================= */

.section {
    margin-top: 21px;
}


.section h2 {
    margin: 0 0 9px;

    padding-bottom: 4px;

    color: var(--accent);

    border-bottom:
        1px solid var(--border);

    font-size: 16px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.7px;
}


/* =========================================
   GENERAL TEXT
   ========================================= */

p {
    margin: 0 0 8px;
}


.section > p {
    font-size: 13.5px;
}


/* =========================================
   CERTIFICATIONS
   ========================================= */

.certification {
    margin-bottom: 12px;

    font-size: 13px;
}


.certification-header {
    display: flex;

    justify-content: space-between;

    align-items: baseline;

    gap: 20px;
}


.certification-header strong {
    color: var(--heading);
}


.certification-header span {
    color: var(--muted);

    font-size: 12.5px;

    white-space: nowrap;
}


.verification {
    margin-top: 3px;

    color: var(--muted);

    font-size: 11.5px;
}


.verification a {
    color: var(--muted);

    text-decoration: none;
}


.verification a:hover {
    color: var(--accent);

    text-decoration: underline;
}


.credential {
    margin-top: 2px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================
   EXPERIENCE / EDUCATION ENTRIES
   ========================================= */

.entry {
    margin-bottom: 17px;
}


.entry-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 3px;
}


.entry-header h3 {
    margin: 0;

    color: var(--heading);

    font-size: 14.5px;

    font-weight: 700;
}


.location {
    font-weight: 400;

    color: var(--muted);
}


.role {
    margin-top: 2px;

    margin-bottom: 5px;

    color: var(--accent);

    font-size: 13.5px;

    font-weight: 600;
}


.date {
    color: var(--muted);

    font-size: 12.5px;

    white-space: nowrap;
}


/* =========================================
   LISTS
   ========================================= */

ul {
    margin: 5px 0 0 20px;

    padding: 0;
}


li {
    margin-bottom: 4px;

    font-size: 13px;
}


li:last-child {
    margin-bottom: 0;
}


/* =========================================
   PROJECTS
   ========================================= */

.project-title {
    margin: 0 0 4px;

    color: var(--heading);

    font-size: 14px;

    font-weight: 700;
}


/* =========================================
   TECHNICAL SKILLS
   ========================================= */

.skills p {
    margin-bottom: 7px;

    font-size: 13px;
}


.skills p:last-child {
    margin-bottom: 0;
}


.skills strong {
    color: var(--heading);
}


/* =========================================
   PRINT STYLES
   ========================================= */

@media print {

    body {
        background: #ffffff;
    }

    .resume {
        width: 100%;

        margin: 0;

        padding: 28px 38px;

        box-shadow: none;
    }

    .contact a,
    .verification a {
        color: inherit;

        text-decoration: none;
    }
}


/* =========================================
   MOBILE STYLES
   ========================================= */

@media (max-width: 650px) {

    .resume {
        margin: 0;

        padding: 28px 24px;
    }


    .header h1 {
        font-size: 26px;
    }


    .contact {
        flex-direction: column;

        gap: 3px;
    }


    .contact span:nth-of-type(2) {
        display: none;
    }


    .entry-header,
    .certification-header {
        display: block;
    }


    .date,
    .certification-header span {
        display: block;

        margin-top: 3px;
    }


    .entry-header h3 {
        font-size: 14px;
    }
}