/* Adopted from Huang, Cynthia. 2023. “Publishing HTML and PDF Versions of a Quarto CV Without LaTex.” August 22, 2023. https://www.cynthiahqy.com/posts/cv-html-pdf/. */

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

/* all formats */

.cvdate {
  float: right;
  font-style: italic
}

.print-only {
  display: none;
  /*color: aquamarine;*/
}

/* adapt stylesheet for print
from: https://github.com/quarto-dev/quarto-cli/discussions/2538#discussioncomment-4081842 */

/* for page-breaks use style spans
  page-break-before: always;
  page-break-after: always;
*/

@media print {
  @page {
      size: a4 portrait;
      counter-increment: page;
      @bottom-center {
        content: counter(page)
      }
  }
  .no-print {
      display: none;
  }
  .print-only {
      display: block;
  }

  .contact-block {
      margin-top: 0%;
      text-align: center;
  }
  .date {
      display: none;
  }

  html {
    font-family: 'EB Garamond', serif;
    /* font-family: 'Calibri', serif; */
    font-size: 90%;
  }

  header h1.title {
      display: none;
  }
  header .author {
    font-size: 2em;
    font-weight: 900;
    color: black;
    text-align: center;
    margin-bottom: 0;
    text-transform: capitalize;
  }

  h2 {
    font-weight: 900;
    text-transform: uppercase;
    /* color: #73000a; */
    border-bottom: 1.5px solid #000;
    margin-bottom: 0.5em;
    text-transform: uppercase;
  }

  h3 {
    font-size: 1.4em;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 700;
    font-variant: small-caps;
  }

  p {
    font-size: small;
  }

/* adjusts line/bullet indent */
  ul, ol {
    margin-left: 1.0em;
    padding-left: 0;
  }
  ol > li {
    margin-bottom: 0.7em;
  }

  ul li{
    font-size: smaller;
  }

  a {
    text-decoration: none;
    /* font-weight: 400; */
    color: #466A9F;
  }
}
