/*
 * FONT SIZE CONTROLS
 * Change the value of --base-font-size to scale all fonts on the page.
 * The default is 11pt, which is a common size for printed resumes.
 */
:root {
    --base-font-size: 10pt;
    --h1-font-size: 2.2em;
    --h2-font-size: 1.2em;
    --h3-font-size: 1.1em;
    --contact-font-size: 0.9em;
}

/* General Body Styles */
body {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: var(--base-font-size);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #111;
}

/* Container for the resume content */
.resume-container {
    max-width: 8.5in;
    margin: 0.25in auto;
    padding: 0.75in;
    background: #fff;
    border: 1px solid #d3d3d3;
}

/* Header Styles */
.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid #000;
}

.header-main h1 {
    margin: 0 0 0.25em 0;
    font-size: var(--h1-font-size);
    font-weight: 500;
    letter-spacing: 1px;
}

.header-contact-main a {
    display: inline;
    color: #000;
    text-decoration: none;
    font-size: var(--contact-font-size);
    line-height: 1.4;
}

.header-contact-main a:hover {
    text-decoration: underline;
}

.contact-info {
    text-align: right;
    font-size: var(--contact-font-size);
    color: #333;
    line-height: 1.4;
}

.contact-info a {
    display: block;
    color: #000;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.resume-header .contact-info a {
    color: #000;
    text-decoration: none;
    margin: 0 0.5em;
}

.resume-header .contact-info a:hover {
    text-decoration: underline;
}

/* Section Styles */
.resume-section {
    margin-bottom: 1.5em;
}

.resume-section h2 {
    font-size: var(--h2-font-size);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 1em;
}

/* Experience and Education Entry Styles */
.resume-entry {
    margin-bottom: 1.2em;
    display: flex;
    flex-wrap: wrap;
}

.resume-entry h3 {
    margin: 0;
    font-size: var(--h3-font-size);
    font-weight: bold;
    width: 100%;
}

.resume-entry .entry-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-style: italic;
    color: #444;
    margin-bottom: 0.5em;
}

.resume-entry .entry-info .organization {
    font-weight: normal;
}

.resume-entry ul {
    padding-left: 1.5em;
    margin: 0;
    width: 100%;
    list-style-type: disc;
}

.resume-entry ul li {
    margin-bottom: 0.4em;
}

/* Publication and Presentation Styles */

@media print {
  @page {
    size: letter;
    margin: 0.75in;
  }

  body, html {
    background-color: #fff;
    margin: 0;
    padding: 0;
  }

  .resume-container {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    max-width: 100%;
    width: 100%;
  }
}
.publication-list, .presentation-list {
    list-style: none;
    padding-left: 0;
}

.publication-item, .presentation-item {
    margin-bottom: 1em;
    padding-left: 1.5em;
    text-indent: -1.5em;
}

.publication-item .authors, .presentation-item .authors {
    font-weight: normal;
}

.publication-item .title, .presentation-item .title {
    font-style: normal;
}

.publication-item .journal, .presentation-item .conference {
    margin-top: 0;
    font-style: italic;
}

.publication-item .doi a, .presentation-item .slides a {
    color: #333;
    text-decoration: none;
    font-style: normal;
}

.publication-item .doi a:hover, .presentation-item .slides a:hover {
    text-decoration: underline;
}
