@import './player.css';

.dark {
  --fg: 255 255 255;
  --bg: 0 0 0;
}

.light {
  --fg: 0 0 0;
  --bg: 255 255 255;
}
html {
  font-family: "Red Hat Display", sans-serif;
  font-weight: 400;
}

body {
  margin: 0;
  background: black;
  color: white;
}

@media (min-width: 601px) {
  body {
    font-size: 1.5rem;
  }
}

.section.home {
  position: relative;
}

.header {
  z-index: 33;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgb(0, 0, 0);
  background: linear-gradient(180deg, rgb(0 0 0 / 0.8) 0%, rgb(0 0 0 / 0) 100%);
  padding: 1rem 1rem 2rem 1rem;
}

.header-sub {
  font-size: 1rem;
  color: rgb(255 255 255 / .7);
}

@media (max-width: 480px) {
  .header {
    flex-direction: column;
  }
  .header-sub {
    text-align: center;
  }
}

.container {
  max-width: 900px;
  padding: 0 1rem;
  margin: 0 auto;
}

.horizontal-list {
  display: flex;
  gap: 1rem;
}

.brand {
  color: #fff;
}

.logo {
  font-size: 2rem;
  font-style: italic;
  line-height: 1.1;
  transition: all 250ms;
}

@media (min-width: 601px) {
  .logo {
    font-size: 3rem;
  }
}

#scroll-hint {
  position: fixed;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  z-index: 33;
}

.section.events {
  padding-top: 0;
  padding-bottom: 4rem;
  background: rgb(var(--bg) / .8);
  color: rgb(var(--fg));
}

.event {
  color: rgb(var(--fg));
  padding: 1.5rem 0;
}

.event-date {
  color: rgb(var(--fg) / .5);
}

.event.previous .event-date {
  text-decoration: line-through;
}

.event-detail {
  display: flex;
  justify-content: space-between;
}

.event-name {
  flex: 1;
}

.event + .event {
  border-top: 1px solid rgb(var(--fg) / .3);
}

.footer {
  --fg: 255 255 255;
  --bg: 0 0 0;
  background: rgb(255 255 255 / .2);
  color: white;
  padding: 4rem 0 6rem 0;
  border-top: 10px dashed black;
  text-align: center;
}

.footer .link {
  color: rgb(255 255 255 / .7);
  display: block;
  padding: .5rem 1rem;
}

.link {
  text-decoration: none;
  color: rgb(var(--fg));
}

.link:hover {
  text-decoration: underline;
}

.circle-btn {
  color: rgb(var(--fg));
  background: rgb(var(--bg) / .3);
  border: 2px solid rgb(var(--fg));
  display: inline-block;
  width: 3rem;
  height: 3rem;
  line-height: 2.8rem;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 1.5rem;
  border-radius: 3rem;
  text-decoration: none;
  transition: all 250ms;
}

.circle-btn--noborder {
  border-color: transparent;
}

@media (pointer: fine) {
  .circle-btn:hover {
    background: rgb(var(--fg));
    border-color: rgb(var(--fg));
    color: rgb(var(--bg));
  }
}

.text-btn {
  color: rgb(var(--fg));
  display: inline-block;
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  line-height: 2.9rem;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  flex-grow: 0;
  flex-shrink: 0;
  text-align: center;
  transition: all 250ms;
}

.text-btn--small {
  font-size: 1.2rem;
  width: 2rem;
  height: 2rem;
  line-height: 1.9;
}

@media (pointer: fine) {
  .text-btn:hover {
    color: rgb(var(--fg) / .7);
  }
}

/* red-hat-display-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Red Hat Display";
  font-style: italic;
  font-weight: 300;
  src: url("./fonts/red-hat-display-v19-latin-300italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* red-hat-display-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/red-hat-display-v19-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* red-hat-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/red-hat-display-v19-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.bounce2 {
  animation: bounce2 8s ease infinite;
}
@keyframes bounce2 {
  0%,
  5%,
  12%,
  20%,
  25% {
    transform: translateX(-50%) translateY(0);
  }
  10% {
    transform: translateX(-50%) translateY(-30px);
  }
  15% {
    transform: translateX(-50%) translateY(-15px);
  }
}
