/* General body styling for a clean white background */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif; /* Keep the clean font */
    background-color: #ffffff;       /* Pure white background */
    color: #333;                     /* Dark grey text for readability */
    line-height: 1.6;
}

/* Column layout: schematic centered in the page, name block at the bottom */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;     /* Center horizontally */
    min-height: 100vh;       /* Ensure container takes full viewport height */
    padding: 0 20px 60px 20px; /* Add padding to the bottom and sides for spacing */
    box-sizing: border-box;
}

/* The schematic takes the free space and sits in the middle of it */
.figure {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 40px 0;
    box-sizing: border-box;
}

.schematic {
    width: 100%;
    max-width: 720px;
    height: auto;
}

/* Textbook-style schematic labels: italic serif with subscripts */
.schematic .lb {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-style: italic;
    fill: #222;
}

/* The main content block styling */
.content {
    text-align: center;
}

/* Styling for your name (the main heading) */
.name {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    font-weight: 400; /* Regular weight for a softer, more modern look */
    color: #222;
}

/* Styling for the job details paragraph */
.details {
    margin: 0 0 15px 0;
    font-size: 1rem;
    font-weight: 300; /* A lighter weight for secondary text */
    color: #666;
}

/* Styling for the email link - now a clean black/grey */
.email-link {
    font-size: 1rem;
    font-weight: 400;
    color: #333; /* Changed to match the main body text color */
    text-decoration: none;      /* No underline by default */
    border-bottom: 1px solid #bbb; /* A subtle underline effect */
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

/* Hover effect for the email link to provide subtle feedback */
.email-link:hover {
    color: #000; /* Pure black on hover for emphasis */
    border-color: #000;
}

/* Media query for smaller screens to adjust padding and font sizes */
@media (max-width: 600px) {
    .container {
        padding-bottom: 40px;
    }

    .name {
        font-size: 1.3rem;
    }

    .details, .email-link {
        font-size: 0.9rem;
    }
}

