@font-face {
  font-family: NeueMontreal;
  src: url(/public/fonts/neue-montreal.woff2) format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Rinter;
  src: url(/public/fonts/rinter.woff2) format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --background: #ff2e0d;
}

body {
  background-color: var(--background);
  width: 100dvw;
  min-height: 100dvh;
  padding: 80px 40px 40px;

  font-family: NeueMontreal, sans-serif;

  display: flex;
  flex-flow: column nowrap;
}

a,
a:visited {
  color: black;
  text-decoration: none;
}

main {
  padding: 64px 0;
  flex: 1;
}

header {
  padding: 24px;
  min-height: 300px;
  height: auto;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.blur-container {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.25);

  & h1,
  h2 {
    font: 110px/1 Rinter, sans-serif;
    padding: 0px 30px;
  }

  &.top {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 1;
  }

  &.bottom {
    position: absolute;
    inset: 35% 0 auto auto;
  }
}

.marker-row {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

.marker {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  gap: 10px;

  &.bottom {
    align-items: flex-start;
  }
}

.mark-horizontal {
  width: 20px;
  height: 20px;
  border-bottom: 1px solid black;

  &.bottom {
    border-bottom: none;
    border-top: 1px solid black;
  }
}

.mark-vertical {
  width: 1px;
  height: 20px;
  border-left: 1px solid black;
  margin-bottom: 10px;

  &.bottom {
    margin-bottom: 0;
    margin-top: 10px;
  }
}

footer {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 12px;

  & > p,
  a {
    font: 32px/1 NeueMontreal, sans-serif;
  }
}

details {
  border-top: 2px solid black;
  padding: 40px 0;

  &:last-child {
    border-bottom: 2px solid black;
  }
}

summary {
  font: 36px/1 NeueMontreal, sans-serif;
  hyphens: auto;

  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 0.2fr 1fr 1fr 1fr;
  gap: 12px;

  cursor: pointer;

  &::-webkit-details-marker {
    display: none;
  }
}

.accordion-content {
  display: flex;
  flex-flow: column nowrap;
  gap: 40px;
  padding: 40px 0;

  & h3 {
    font: 96px/1 Rinter, sans-serif;
  }

  & p {
    font: 36px/1.1 NeueMontreal, sans-serif;
  }
}

@media screen and (max-width: 1070px) {
  .blur-container > h1,
  .blur-container > h2 {
    font-size: 9dvw;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding: 40px 20px 20px;
  }

  header {
    min-height: 100px;
    height: auto;
  }

  .blur-container {
    padding: 3px;

    & > h1,
    & > h2 {
      font-size: 9.1dvw;
    }

    &.top {
      inset: 0 auto auto 30px;
    }

    &.bottom {
      inset: 40% 0 auto auto;
    }
  }

  .marker {
    gap: 3px;
  }

  .mark-horizontal {
    width: 7px;
    height: 7px;
  }

  .mark-vertical {
    width: 1px;
    height: 7px;
    border-left: 1px solid black;
    margin-bottom: 3px;

    &.bottom {
      margin-bottom: 0;
      margin-top: 3px;
    }
  }

  .main {
    padding: 48px 0;
  }

  details {
    padding: 20px 0;
  }

  summary {
    font-size: 20px;
    grid-template-columns: 0.2fr 1fr 1fr;

    & > .time {
      display: none;
    }
  }

  .accordion-content {
    gap: 20px;
    padding: 20px 0;

    & h3 {
      font: 40px/1 Rinter, sans-serif;
    }

    & p {
      font: 20px/1.1 NeueMontreal, sans-serif;
    }
  }

  footer > a,
  footer > p {
    font-size: 16px;
    text-align: center;
  }
}
