@import url("./modern-normalize.css");
@import url("./fontawesome-all.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic");

:root {
  --background: hsl(0 0% 100%);

  --primary-text: hsl(0deg 0% 63.53%);
  --primary-text-dark: hsl(0deg 0% 47.06%);

  --primary: hsl(18deg 19.23% 10.2%);
  --primary-foreground: hsl(0deg 0% 100% / 50%);

  --secondary: hsl(0 0% 96.1%);
  --secondary-foreground: var(--primary);

  --font-primary: "Source Sans Pro", Helvetica, sans-serif;

  --link-primary: hsl(228.51deg 42.73% 43.14%);
}

a {
  transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  border-bottom: dotted 1px;
  text-decoration: none;
  color: var(--link-primary);
}

p {
  margin-bottom: 2rem;
}

b {
  font-weight: 700;
  color: var(--primary);
}

strong {
  color: var(--secondary);
}

body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--primary-text);
  font-size: 16pt;
  font-weight: 400;
}

@media (min-width: 1000px) {
  body {
    display: grid;
    min-height: 100dvh;
    grid-template-columns: 35% 1fr;
    grid-template-rows: 1fr 200px;
  }
}

main {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
  padding: 2.25em 1.5em 0.25em 1.5em;
  max-width: 60rem;
}

main h2 {
  color: var(--primary-text-dark);
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 1rem;
}

main section {
  font-size: 12pt;
  line-height: 1.5;
  padding-top: 3rem;
  border-top: solid 2px #efefef;
}

main section:first-child {
  border-top: none;
  padding-top: 0;
}

@media (min-width: 1000px) {
  main {
    height: 100%;
    grid-column-start: 2;
    grid-row: span 2 / span 2;
    padding: 4rem 4rem 4rem 4rem;
  }
}

section#upcoming ul {
  display: grid;
  flex-direction: column;
  row-gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 3rem;
}

section#upcoming ul li {
  display: grid;
  row-gap: 1rem;
}

@media (min-width: 1000px) {
  section#upcoming ul li {
    grid-template-columns: 20ch 1fr;
    column-gap: 3rem;
  }
}

section#upcoming ul li h3,
section#upcoming ul li [data-type="date"] {
  color: var(--primary-text-dark);
  font-size: 1.5rem;
}

section#upcoming ul li h3 {
  line-height: 1.3;
  margin-bottom: 1rem;
}

section#upcoming ul li [data-type="date"] {
  line-height: 1.2;
}
section#past ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

section#past ul li > * + * {
  margin-left: 0.5rem;
}

section#past ul li {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-top: solid 2px #efefef;
}

section#past ul li:first-child {
  border-top: none;
}

section#about {
  padding-bottom: 2rem;
}

section#about .columns {
  display: grid;
}

@media (min-width: 1000px) {
  section#about .columns {
    grid-template-columns: 1fr max-content;
    column-gap: 3rem;
  }
}

header {
  container-type: inline-size;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 6em 3em;
  display: flex;
  row-gap: 3rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

header h1 {
  /* font-size: 1.75rem; */
  font-size: clamp(0.9rem, 7cqi, 2rem);
  line-height: 1.3;
}

header h1 a {
  color: inherit;
}

@media (min-width: 1000px) {
  header {
    align-items: flex-end;
    text-align: right;
    height: 100%;
  }
}

footer {
  height: 120px;
  padding: 1em 3em;
  background: var(--primary);
  color: var(--primary-foreground);
}

@media (min-width: 1000px) {
  footer {
    height: 100%;
  }
}

footer ul.icons {
  list-style: none;
  font-size: 1.5rem;
  color: var(--primary-foreground);
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

@media (min-width: 1000px) {
  footer ul.icons {
    justify-content: flex-end;
  }
}

.icon > span.label {
  display: none;
}

.icon:before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
}

.icon.solid:before {
  font-weight: 900;
}

.icon.brands:before {
  font-family: "Font Awesome 5 Brands";
}

a.icon,
a.icon:visited {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
}

code {
  font-size: 0.8em;
}