/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Helvetica', 'Verdana', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    padding: 1em;
}

/* Container for responsiveness */
.resume-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1em;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Top Section */
.top-section {
    display: flex;
    align-items: center;
    gap: 1.5em;
    margin-bottom: 2em;
    flex-wrap: wrap;
}

.headshot-container {
    flex-shrink: 0;
}

.contact-info {
    flex-grow: 1;
    text-align: left;
}

.contact-info h1 {
    font-size: 1.8em;
}

.contact-info p {
    font-size: 1em;
    margin-top: 0.5em;
}

.contact-info a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

/* Headshot Image */
.resume-headshot {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #4CAF50;
    object-fit: cover;
}

/* Resume Section Styles */
.resume-section {
    margin-bottom: 2em;
    padding: 1.2em;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    background: white;
}

.resume-section h2 {
    background-color: #4CAF50;
    color: white;
    padding: 8px 12px;
    display: inline-block;
    font-size: 1.2em;
    border-radius: 5px;
}

/* Lists */
ul {
    padding-left: 20px;
    list-style-type: none;
}

li {
    margin-bottom: 0.5em;
    line-height: 1.5;
    font-weight: 400;
}

/* Education Styling */
.degree {
    font-weight: bold;
    display: block;
    margin-top: 1em;
}

.school {
    display: block;
    margin-bottom: 0.3em;
}

/* Timeline Styles */
.timeline {
    border-left: 3px solid #4CAF50;
    padding-left: 20px;
    margin-left: 20px;
    position: relative;
}

.timeline-entry {
    margin-top: 1em;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    position: absolute;
    left: -6px;
    top: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .resume-container {
        padding: 1em;
    }

    .top-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .headshot-container {
        margin-bottom: 1em;
    }

    .resume-headshot {
        width: 100px;
        height: 100px;
    }

    .resume-section {
        padding: 1em;
    }

    ul {
        padding-left: 10px;
    }

    li {
        font-size: 0.95em;
    }

    .resume-section h2 {
        font-size: 1.1em;
        padding: 6px 10px;
    }
}
