@import url("https://fonts.googleapis.com/css2?family=Gentium+Plus:ital,wght@0,400;0,700;1,400;1,700&display=swap");
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

h1 {
  margin: 0.67em 0;
}

a {
  background-color: transparent;
  text-decoration: none;
}

b,
strong {
  font-weight: bolder;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  --fs-base: 16;
  --clr-primary: 0, 0%, 100%;
  --clr-accent: 277, 26%, 56%;
  --clr-bg: 0, 0%, 6%;
  --clr-bg-ft: 0, 0%, 10%;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--clr-bg));
  color: hsl(var(--clr-primary));
  display: flex;
  justify-content: center;
  font-family: sans-serif;
}

.container {
  max-width: calc(1000 / var(--fs-base) * 1rem);
  margin-inline: 1rem;
}

footer {
  display: flex;
  margin-block-start: calc(var(--fs-base) * 1px);
  padding-block-start: calc(var(--fs-base) * 2px);
  padding-block-end: calc(var(--fs-base) * 2px);
  justify-content: space-around;
  background-color: hsl(var(--clr-bg-ft));
}

header,
nav ul {
  display: flex;
  justify-content: space-between;
}

header {
  position: sticky;
  top: 0;
  background-color: hsl(var(--clr-bg));
}

header > p {
  margin-block-start: 1rem;
  font-weight: 900;
}

header > p > a:link,
header > p > a:visited {
  color: hsl(var(--clr-accent));
}

nav ul {
  list-style-type: none;
  width: 75%;
}

nav ul li a {
  display: block;
  padding-block-start: 0.25rem;
  padding-block-end: 0.25rem;
  padding-inline-start: 2rem;
  padding-inline-end: 2rem;
}

nav ul li:last-child a {
  padding-inline-end: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Gentium Plus", "Times New Roman", Times, serif;
  line-height: 1;
  margin-block-end: 0.25em;
  color: hsl(var(--clr-accent));
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

ul[class] {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

p,
.ep_results > div {
  line-height: 1.5;
  letter-spacing: 0.05rem;
  margin: 0;
  margin-block-end: 0.5em;
}
@media only screen and (min-width: 785px) {
  p,
.ep_results > div {
    max-width: 45ch;
  }
}

a:link,
a:visited {
  font-weight: 900;
  color: hsl(var(--clr-primary));
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.ep_results > div,
#conferences ul p {
  max-width: 100%;
}

@media only screen and (min-width: 785px) {
  section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  #about h1 {
    grid-column: 1/-1;
    grid-row: 1/2;
    align-self: center;
  }

  #about p {
    grid-column: 1/2;
    grid-row: 2/3;
    align-self: top;
  }
}
#about img {
  aspect-ratio: 680/520;
  max-width: calc(1000 / (2 * var(--fs-base)) * 1rem);
}
@media only screen and (min-width: 785px) {
  #about img {
    grid-row: 1/3;
    grid-column: 2/-1;
  }
}

img.tg {
  max-width: 50%;
}

@media only screen and (min-width: 785px) {
  #conferences h2,
#conferences ul {
    grid-column: 1/-1;
  }

  .ep_view_page {
    grid-column: 1/-1;
  }
}
.ep_view_page h2 {
  font-size: 1.5rem;
}

p.conf-location {
  margin-block-start: 0;
  font-style: italic;
}

#covers img {
  aspect-ratio: 572/768;
  max-width: 10rem;
}
#covers img.wide {
  aspect-ratio: 1144/768;
  max-width: 20rem;
}

@media only screen and (min-width: 785px) {
  #covers h2,
#covers div {
    grid-column: 1/-1;
  }
}
@media only screen and (max-width: 784px) {
  .container {
    max-width: calc((100% - 2rem) * 1rem);
  }

  header {
    flex-direction: column;
  }

  nav ul {
    padding: 0;
    margin: 0;
    width: 100%;
  }
  nav ul li:first-of-type a {
    padding-inline-start: 0;
  }
}

/*# sourceMappingURL=style.css.map */
