/* import fonts */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;700&display=swap');

/* all formats */

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

.cvlocation {
  float: right;
  font-style: bold
}

.cvinstitution {
  font-weight: bold;
  font-size: 0.8em;   /* Normal size (larger than body text) */
}

.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;
      text-align: center;
  }


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

  html {
    font-family: 'Public Sans', sans-serif;
  }

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

  h2 {
    font-weight: 900;
    text-transform: uppercase;
    /* color: blueviolet; */
  }

  h3 {
    font-weight: 700;
    text-transform: uppercase;
    /* color: green; */
  }

  p {
    font-size: small;
  }

  ul li{
    font-size: smaller;
  }

  a {
    text-decoration: none;
    font-weight: 700;
    color: #36a7e9;
  }
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted #888; /* subtle dotted underline */
}

a:hover {
  text-decoration: underline;
  color: #333;  /* slight color change on hover */
}

.cv-header {
  text-align: center;
  margin-bottom: 2em;
  font-family: 'Public Sans', sans-serif;
}

.cv-header h1 {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 0.2em;
}

.cv-header strong {
  font-weight: 600;
}

.cv-header .contact {
  display: block;
  margin-top: 0.5em;
  font-size: 0.95em;
  color: #222;
  line-height: 1.4;
}

.cv-header .contact a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}