@import url('https://fonts.googleapis.com/css2?family=Aldrich&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prompt&display=swap');

body {
  padding: 0;
  margin: 0;

  color: var(--text-color);
  background-color: var(--background-color);
  font-family: Aldrich;

  --accent-1: #007CB0;
  --accent-2: #9D070D;
}

body.dark {
  --text-color: white;
  --background-color: black;
}

body.light {
  --text-color: black;
  --background-color: white;
}

body.light header {
  filter: invert(1);
}

* {
  box-sizing: border-box;
}

a {
  color: var(--text-color);
  text-decoration: underline;
}

header {
  text-align: center;
  background: linear-gradient(30deg, var(--accent-1), var(--accent-2));
  padding: 48px 0 0;
}

header img {
  display: none;
}

body.light header img {
  filter: invert(1);
}

header>svg {
  position: absolute;
  top: 48px;
  right: 48px;
  cursor: pointer;
  transition: filter 100ms;
}

header>svg:hover {
  filter: drop-shadow(0 0 4px white);
}

nav {
  text-align: center;
}

nav ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  place-content: center;
  padding: 0;
}

nav ul li {
  margin: 16px 32px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: filter 100ms;
  padding: 8px 16px;
}

nav ul li a:hover {
  filter: drop-shadow(0 0 4px white);
}

header h1 {
  font-size: 10vw;
  margin: 150px 0 0 0;
  color: white;
}

header h2 {
  font-size: 4vw;
  margin: -1vw 0 32px 0;
  color: white;
}

header h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: normal;
  color: white;
}

header h3 span:not(:last-child)::after {
  content: "\2022";
  margin-left: 10px;
}

header h3 svg {
  cursor: pointer;
  vertical-align: top;
  transform: translateY(1px);
  transition: filter 100ms;
}

header h3 svg:hover {
  filter: drop-shadow(0 0 4px white);
}

header>:last-child {
  background: linear-gradient(0deg, hsl(0, 0%, 0%) 0%,
      hsla(0, 0%, 0%, 0.738) 19%,
      hsla(0, 0%, 0%, 0.541) 34%,
      hsla(0, 0%, 0%, 0.382) 47%,
      hsla(0, 0%, 0%, 0.278) 56.5%,
      hsla(0, 0%, 0%, 0.194) 65%,
      hsla(0, 0%, 0%, 0.126) 73%,
      hsla(0, 0%, 0%, 0.075) 80.2%,
      hsla(0, 0%, 0%, 0.042) 86.1%,
      hsla(0, 0%, 0%, 0.021) 91%,
      hsla(0, 0%, 0%, 0.008) 95.2%,
      hsla(0, 0%, 0%, 0.002) 98.2%,
      hsla(0, 0%, 0%, 0) 100%);
}

header>div:last-child {
  height: 240px;
}

header>nav:last-child {
  height: 120px;
}

section {
  padding: 64px 32px;
  font-size: 20px;
  width: min(1000px, 100%);
  margin: auto;
  font-family: Prompt;
}

section:first-of-type {
  padding-top: 32px;
}

section h2 {
  font-family: Aldrich;
  text-align: center;
  font-size: 3rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 16px 0 32px 0;
  overflow-wrap: break-word;
}

section>p {
  text-align: center;
  font-size: 20px;
  margin: 48px auto;
}

section>*>li {
  margin-bottom: 16px;
}

section summary {
  cursor: pointer;
  font-weight: bold;
  font-family: Aldrich;
}

section details {
  margin-bottom: 16px;
}

section details p {
  margin-left: 16px;
}

section>p>img {
  display: block;
  width: 400px;
  max-width: 100%;
  margin: auto;
}

section:not(:last-of-type)::after {
  transform: translateY(64px);
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--text-color);
  opacity: 0.2;
}

div.tickets {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 64px auto;
  gap: 32px;
  font-family: Aldrich;
  flex-wrap: wrap;
}

div.tickets a {
  display: block;
  width: min(256px, 100%);
  padding: 32px;
  border-radius: 8px;
  transform: scale(1);
  transition: transform 100ms;
  color: white;
  text-decoration: none;
}

body.light div.tickets a {
  filter: invert(1);
}

div.tickets a:hover {
  transform: scale(1.05);
}

div.tickets div h3 {
  margin: 0;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: -1px;
}

div.tickets div p {
  margin: 0 0 -8px 0;
  font-size: 3rem;
}

div.tickets div p span {
  margin-left: -8px;
  font-size: 1.5rem;
  opacity: 0.5;
}

div.tickets a:nth-child(1) {
  background: linear-gradient(60deg, var(--accent-2), var(--accent-1));
}

div.tickets a:nth-child(2) {
  background: linear-gradient(120deg, var(--accent-2), var(--accent-1));
}

div.tickets a:nth-child(3) {
  background: linear-gradient(200deg, var(--accent-1), var(--accent-2));
}

div.committee {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

div.committee div {
  width: 280px;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  font-family: Aldrich;
}

div.committee div h3 {
  margin: 0;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

div.committee div span {
  color: var(--text-color);
  opacity: 0.5;
  font-size: 14px;
  font-family: Prompt;
}

footer {
  text-align: center;
  padding: 64px 0;
}

footer p {
  color: var(--text-color);
  opacity: 0.5;
}

@media only screen and (max-width: 800px) {
  header img {
    display: block;
    width: min(30vh, 80vw);
    margin: 64px auto 0 auto;
  }

  header nav ul li {
    margin: 8px 0;
  }

  header>svg {
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;
  }

  header h1 {
    font-size: 10vw;
    margin: 64px 0 0 0;
  }

  header h3 {
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
  }

  header h3 span:first-child {
    font-size: 2rem;
  }

  header h3 span:nth-child(1) {
    order: 2;
    margin: 16px 0;
  }

  header h3 span:nth-child(2) {
    order: 1;
  }

  header h3 span:nth-child(3) {
    order: 3;
  }

  header h3 span:not(:last-child)::after {
    content: none;
    margin-left: 0;
  }

  section h2 {
    font-size: 2rem;
  }
}