/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*========================================================================== 
   Author's custom styles */
@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("AlteHaasGrotesk.2a314db10341.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Eurostar Regular Extended";
  src: url("eurostarregularextended.d39603601196.woff2") format("woff2");
  font-display: swap;
}
:root {
  --color-dark: #2A2726;
  --color-dark-transparent: #2A2726C0;
  --color-darker: #232323;
  --color-highlight: #FDA47E;
  --color-text: #F4F4F4;
  --color-text-dark: #C3C0BB;
  --font-grotesk: "Alte Haas Grotesk";
  --font-euro: "Eurostar Regular Extended";
  font-size: clamp(14px, 12.5712px + 0.3571vw, 16px);
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

html {
  background-color: var(--color-dark);
  font-family: var(--font-grotesk), sans-serif;
  color: var(--color-text);
}

body {
  font-size: 1.25rem;
  line-height: 1.3;
}

a {
  color: var(--color-highlight);
}
a:not(.lightbox)[target=_blank] {
  display: inline-block;
  text-decoration: none;
  padding: 1rem 0.5rem;
  padding-right: 2rem;
  background-image: url("images/arrow_right.36dd59c2bb55.svg");
  background-repeat: no-repeat;
  background-size: 1.5rem;
  background-position: right center;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 1rem;
}

strong, b {
  color: var(--color-highlight);
  font-weight: bold;
}

em, i {
  font-style: italic;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

h1 {
  font-size: 4rem;
  margin: 3rem 0;
}

h2 {
  font-size: 3rem;
  margin: 2rem 0;
}

h3 {
  font-family: var(--font-euro), sans-serif;
  font-size: 1.5rem;
  margin: 1rem 0;
  color: var(--color-highlight);
  text-transform: uppercase;
}

p {
  margin: 0.5rem 0;
}

ul {
  list-style-type: "-";
}
ul li {
  padding-left: 1rem;
  margin-left: 1.5rem;
}
ul li::marker {
  color: var(--color-highlight);
}

form input, form textarea {
  color: var(--color-highlight);
  font-size: 1rem;
  border: 0;
  background-color: var(--color-darker);
  width: 100%;
  border-radius: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
}
form input:focus, form textarea:focus {
  outline: 2px solid var(--color-highlight);
}
form input::placeholder, form textarea::placeholder {
  color: var(--color-highlight);
  font-size: 1rem;
  opacity: 1;
}
form input {
  height: 3.125rem;
}
form input[type=checkbox] {
  --checkbox-size: 2rem;
  /* For iOS < 15 */
  background-color: var(--color-darker);
  appearance: none;
  display: inline-grid;
  place-content: center;
  margin: 1rem 0 0 0;
  padding: 0;
  font: inherit;
  color: currentColor;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  border: 0.15em solid var(--color-text-dark);
  border-radius: 0.15em;
  transform: translateY(-0.075em);
}
form input[type=checkbox]::before {
  content: "";
  width: calc(var(--checkbox-size) / 2);
  height: calc(var(--checkbox-size) / 2);
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--color-highlight);
  /* Windows High Contrast Mode */
  background-color: var(--color-highlight);
}
form input[type=checkbox]:checked::before {
  transform: scale(1);
}
form input[type=checkbox] input[type=checkbox]:focus {
  outline: max(2px, 0.15em) solid currentColor;
  outline-offset: max(2px, 0.15em);
}
form input[type=submit] {
  color: var(--color-highlight);
  border: 2px solid var(--color-highlight);
  font-size: 1.25rem;
  line-height: 0; /* oftentimes CSS confuses me, but this vertically centers the submit text */
}

form .errorlist li {
  display: inline-block;
  background-color: var(--color-highlight);
  color: var(--color-dark);
  font-weight: bold;
  padding: 0.5rem;
  margin-top: 1rem;
}

header + main {
  margin-top: 3rem;
}

.page-container {
  padding: 1rem;
  max-width: 75rem;
}

@media (min-width: 960px) {
  .page-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: "header header" "additional-header additional-header" "left right" "footer footer";
  }
}
.page-container header:first-of-type {
  grid-area: header;
}

.back-link {
  display: inline-block;
  text-decoration: none;
  color: var(--color-highlight);
  padding: 1rem 0.5rem;
  padding-left: 2rem;
  background-image: url("images/arrow_left.2a35ca9b495f.svg");
  background-repeat: no-repeat;
  background-size: 1.5rem;
  background-position: left center;
  grid-area: additional-header;
}

.gallery {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}
.gallery > * {
  flex-shrink: 0;
  width: calc(100% - 2rem);
  scroll-snap-align: center;
}
.gallery > a > picture > img {
  width: 100%;
}

@media (min-width: 960px) {
  main.event-detail .gallery {
    display: block;
  }
  main:not(.event-detail) .gallery > * {
    width: calc(50% - 1rem);
  }
}
.image-container {
  position: relative;
}
.image-container .image-caption {
  position: absolute;
  bottom: 0;
  margin: 0;
  padding: 0.5rem;
  width: max-content;
  max-width: 75%;
  line-height: 2rem;
  background-color: var(--color-dark-transparent);
  border-radius: 0 1rem 0 0;
}

.basicLightbox {
  transition: opacity 0s ease !important;
}
.basicLightbox__placeholder {
  transition: transform 0s ease !important;
}
@media (prefers-reduced-motion: no-preference) {
  .basicLightbox {
    transition: opacity 0.4s ease !important;
  }
  .basicLightbox__placeholder {
    transition: transform 0.4s ease !important;
  }
}

a.lightbox picture {
  position: relative;
  display: block;
  width: fit-content;
}

a.lightbox picture::after {
  content: url("images/magnify.b77d924f127a.svg");
  position: absolute;
  right: 0px;
  bottom: 0px;
  padding: 0.5rem;
  width: 3rem;
  background-color: var(--color-dark-transparent);
  border-radius: 25% 0 0 0;
}

#skip-link {
  position: absolute;
  background-color: var(--color-highlight);
  color: var(--color-darker);
  padding: 1rem;
  font-weight: bold;
  font-size: 130%;
  display: block;
  transform: translateY(0);
  transition: transform 250ms ease-in;
}
#skip-link:not(:focus) {
  transform: translateY(-5rem);
}

#offline-message {
  display: none;
  visibility: hidden;
}

.offline #offline-message {
  display: block;
  visibility: visible;
  font-size: 200%;
  text-align: center;
  color: var(--color-dark);
  background-color: var(--color-highlight);
}

#menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--color-dark);
}

#menu:has(input:checked) {
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  overflow-x: scroll;
}

#logo {
  font-family: var(--font-euro), sans-serif;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  flex-grow: 1;
}

#menu:has(input:checked) #logo {
  display: none;
}

#burger-btn {
  width: max-content;
}

#burger-btn:has(input:checked) {
  align-self: end;
}

#burger-btn input {
  display: block;
  appearance: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  width: 3rem;
  height: 3rem;
  background-image: url("images/burger_menu.7818fce8e6fa.svg");
  background-size: cover;
  cursor: pointer;
}

#burger-btn input:checked {
  background-image: url("images/close.c5eb0c23414e.svg");
}

#menu ul {
  display: none;
  list-style-type: none;
}
#menu ul li {
  margin: 0;
  padding: 0;
}

#menu:has(input:checked) ul {
  display: block;
  background-image: url("images/logo.a4856a446f29.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 7.6129rem 4rem;
  padding-top: 3rem;
}

#menu:has(input:checked) ul li {
  padding-top: 4rem;
  text-align: center;
}

#menu ul a {
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 3rem;
  line-height: 3rem;
}

@media (min-width: 960px) {
  #logo {
    font-size: 1.5rem;
  }
  #burger-btn {
    display: none;
  }
  #menu ul {
    display: flex;
    gap: 4rem;
    align-items: center;
    text-align: center;
  }
  #menu ul li {
    padding: 0 0.5rem;
  }
  #menu ul li.active, #menu ul li:hover {
    background-color: var(--color-highlight);
    color: var(--color-dark);
  }
  #menu ul a {
    font-size: inherit;
    color: inherit;
  }
}
footer {
  grid-area: footer;
  font-size: 87.5%;
  margin-top: 2rem;
  background-image: url("images/logo.a4856a446f29.svg");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 7.6129rem 4rem;
  padding-top: 3rem;
}
footer h2, footer p {
  margin-bottom: 1.5rem;
}
footer h2 {
  font-family: var(--font-euro), sans-serif;
  font-size: 1.5em;
}
footer a {
  color: var(--color-highlight);
}

#month-selector {
  padding: 1rem 0;
  overflow-x: auto;
}
#month-selector ul {
  display: flex;
  gap: 0.5rem;
}
#month-selector ul li {
  padding-left: 0;
  margin-left: 0;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  color: var(--color-text-dark);
  border: 1px solid var(--color-text-dark);
  border-radius: 50%;
}
#month-selector ul li.active {
  background-color: var(--color-highlight);
  color: var(--color-dark);
  border: none;
}
#month-selector ul li a {
  color: inherit;
  font-size: 1.125rem;
  text-decoration: none;
  text-transform: uppercase;
}
#month-selector ul li a .long {
  display: none;
}

@media (min-width: 960px) {
  #month-selector {
    overflow-x: visible;
    grid-area: right;
    position: sticky;
    top: 0;
    height: calc(100vh - 1rem);
  }
  #month-selector .short {
    display: none;
  }
  #month-selector ul {
    display: block;
  }
  #month-selector ul li {
    font-size: min(9vh, 5rem);
    display: block;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    text-align: center;
    opacity: 1;
    transition: none;
    background-color: transparent;
    color: var(--color-text-dark);
  }
  #month-selector ul li:hover, #month-selector ul li.active:hover {
    background-color: var(--color-highlight);
    color: var(--color-dark);
  }
  #month-selector ul li.active {
    background-color: transparent;
    color: var(--color-text-dark);
  }
}
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  #month-selector ul li a {
    display: inline-block;
    transition: scale 0.25s, background-position-y 1s ease-out;
    background-color: #403D3C;
    background-repeat: no-repeat;
    background-image: linear-gradient(180deg, #403D3C 0%, rgb(253, 164, 126) 50%, #403D3C 100%);
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-clip: text;
  }
  #month-selector ul li:hover, #month-selector ul li.active:hover {
    background-color: transparent;
    color: var(--color-text-dark);
  }
  #month-selector ul li:hover a, #month-selector ul li.active:hover a {
    scale: 1.5;
  }
  #month-selector ul li:hover + li a {
    scale: 1.1;
  }
  #month-selector ul li:has(+ li:hover) a {
    scale: 1.1;
  }
}
@media (min-width: 960px) {
  #month-selector ul li a {
    font-size: inherit;
  }
  #month-selector ul li a .long {
    display: block;
  }
}
.event-listing {
  margin: 2rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid #404040;
}

.event-listing:first() {
  margin-top: 0.75rem;
}

.event-listing a {
  text-decoration: none;
}

.event-date,
.event-location {
  display: inline-block;
  font-family: var(--font-euro), sans-serif;
  color: var(--color-highlight);
  margin: 0;
}

.event-location::before {
  content: "|";
}

.event-name {
  font-size: 2.5rem;
  margin: 0;
}
.event-name a {
  color: var(--color-text);
}

.event-list .event-name {
  text-transform: lowercase;
}

nav.pagination {
  font-size: 2rem;
  text-align: center;
  font-family: var(--font-euro), sans-serif;
}

.offline nav.pagination {
  display: none;
  visibility: hidden;
}

@media (min-width: 960px) {
  main {
    grid-area: left;
  }
  .event-listing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: "date-loc name";
    align-items: center;
    justify-items: left;
  }
  .event-listing > div:first-of-type {
    grid-area: date-loc;
  }
  .event-listing .event-date, .event-listing .event-location {
    display: block;
  }
  .event-listing .event-location::before {
    content: "";
  }
  .event-listing .event-name {
    grid-area: name;
  }
}
.event-detail .admission {
  margin-top: 1rem;
}
.event-detail section {
  margin-top: 2rem;
}
.event-detail section:nth-child(1) {
  margin-top: 1rem;
}
.event-detail .line-up dt {
  font-size: 2rem;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
}
.event-detail .line-up a[target=_blank] {
  display: block;
  text-align: right;
}
.event-detail .media img {
  width: 100%;
}
.event-detail .info {
  font-size: 1.125rem;
}
.event-detail nav {
  margin-top: 2rem;
}

@media (min-width: 960px) {
  .event-detail {
    grid-column: left/right;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1rem;
  }
  .event-detail .basic-data {
    grid-column: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 2rem;
  }
  .event-detail .basic-data .event-date {
    display: block;
  }
  .event-detail .basic-data .event-location {
    display: block;
  }
  .event-detail .basic-data .event-location:before {
    content: "";
  }
  .event-detail .basic-data .admission {
    grid-column: 1/3;
  }
  .event-detail .line-up {
    grid-row: 2;
    grid-column: 1;
  }
  .event-detail .info {
    grid-column: 1;
  }
  .event-detail .links {
    grid-column: 1;
  }
  .event-detail .media {
    grid-column: 2;
    grid-row: span 6;
  }
  .event-detail .media .gallery {
    overflow-x: auto;
  }
  .event-detail nav {
    grid-column: 1;
  }
}
.contact {
  grid-column: left/right;
}
.contact section {
  margin-bottom: 4rem;
}
.contact .person-address a {
  color: var(--color-text);
  text-decoration: none;
}

.lost-and-found {
  grid-column: left/right;
}

.lost-and-found-form label {
  display: none;
}

.venue {
  grid-column: left/right;
}

.content {
  grid-column: left/right;
}

@media (prefers-reduced-motion: no-preference) {
  :has(:target) {
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
  }
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  abbr[title]::after {
    content: " (" attr(title) ")";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
  .gallery {
    display: block;
  }
  a.lightbox picture::after {
    display: none;
  }
}