/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}
/* 2. Remove default margin */
* {
  margin: 0;
}
body {
  /* 3. Add accessible line-height */
  /* line-height: 1.5; */
  /* 4. Improve text rendering */
  /* -webkit-font-smoothing: antialiased; */
}
/* 5. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/* 6. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}
/* 7. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}


/* Our default values set as CSS variables */
:root {
  --container-padding: 20px;
  --container-max-width: 730px;
  --color-bg: #e1e020;
  --color-text-main: #000;
  --color-primary: #000;
  --color-black: #000;
  --color-secondary: #e1e020;
  --image-max-width: 320px;
  --font-family: Suisse, Helvetica Nueue, Helvetica, sans-serif;
  --font-family-header: var(--font-family);
  --fluid-min-width: 320;
  --fluid-max-width: 730;
  --fluid-screen: 100vw;
  --fluid-bp: calc(
    (var(--fluid-screen) - var(--fluid-min-width) / 16 * 1rem) /
      (var(--fluid-max-width) - var(--fluid-min-width))
  );
}

@media screen and (min-width: 500px) {
  :root {
    --container-padding: 30px;
  }
}

@media screen and (min-width: 730px) {
  :root {
    --fluid-screen: calc(var(--fluid-max-width) * 1px);
  }
}

/* Basic page style resets */
* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

/* Import fonts */
@font-face {
  font-family: Suisse;
  src: url("https://cdn.glitch.me/27372e8f-0ff3-4afc-87e7-3e0c1b7c36a8/subset-SuisseIntl-Book.woff2?v=1640888723820")
    format("woff2");
}

@font-face {
  font-family: Suisse;
  font-weight: normal;
  font-style: italic;
  src: url("https://cdn.glitch.me/27372e8f-0ff3-4afc-87e7-3e0c1b7c36a8/subset-SuisseIntl-BookItalic.woff2?v=1640888723855")
    format("woff2");
}

a {
  font-size: inherit;
}

video {
  max-width: 100%;
}

/* Page structure */
img {
  max-width: 100%;
  height: auto;
}

html {
  font-size: 16px;
  height: 100%;
  background-color: black;
}

body {
  font-family: var(--font-family);
  margin: 0;
  height: 100%;
  overflow-wrap: break-word;
  font-size: 1.2rem;
}

.site-container {
  background-color: var(--color-bg);
  min-height: min(100%, 900px);
  display: flex;
  flex-flow: column nowrap;
  max-width: var(--container-max-width);
}

.site-container:has(.wrapper.home) .site-header .site-header__title {
  display: none;
}

main {
  flex: 1;
}

.wrapper {
  width: 100%;
  place-items: center;
  padding: 0 var(--container-padding);
}

.content {
  margin: 0 auto;
}

.sr {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

/* Typography */
p {
  margin: 0 0 1rem 0;
  line-height: 1.5 !important;
  font-size: 1.2rem;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 2rem 0 0.8rem;
  font-family: var(--font-family-header);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text-main);
}

.type-h1,
h1 {
  --fs-min: 40;
  --fs-max: 70;

  margin-top: 1rem;
  margin-bottom: 1.75rem;
  font-size: calc(var(--fs-min) / 16 * 1rem + (var(--fs-max) - var(--fs-min)) * var(--fluid-bp));
  display: inline-flex;
}

.type-h2,
h2 {
  --fs-min: 28;
  --fs-max: 44;

  font-size: calc(var(--fs-min) / 16 * 1rem + (var(--fs-max) - var(--fs-min)) * var(--fluid-bp));
}

.type-h3,
h3 {
  font-size: 2rem;
}

.type-h4,
h4 {
  --fs-min: 22;
  --fs-max: 24;

  font-size: calc(var(--fs-min) / 16 * 1rem + (var(--fs-max) - var(--fs-min)) * var(--fluid-bp));
}

.type-h5,
h5 {
  font-size: 1.25rem;
}

small,
.text_small {
  font-size: 0.8rem;
}

.type-body-l {
  font-size: 24px;
}

/* Lists */
ul:not([role="list"]) > li,
ol:not([role="list"]) > li {
  margin: 0;
  line-height: 1.5;
}

ul > li + li,
ol > li + li {
  margin-top: 0.5em;
}

ul:where(:not([role="list"])) {
  padding: 0 0 0 18px;
  margin: 0;
  font-size: 1.2rem;
}

ul.no-bullet {
  list-style-type: none;
}

ul[role="list"] {
  padding-left: 0;
  list-style-type: none;
}

.body-text {
  ul {
    margin-block: 1lh;
  }
}

/* Link styles */
a:link,
a:visited {
  text-decoration: none;
  border-bottom: 4px solid var(--color-primary);
  color: var(--color-primary);
}

a:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

a.link--2 {
  border-bottom: 4px solid transparent;
  color: var(--color-primary);
  transition: background 0.2s linear;
}

a.link--2:hover {
  border-bottom: 3px solid var(--color-primary);
  background: var(--color-secondary);
  color: var(--color-primary);
  transition: background 0.2s linear;
}

a.link--none {
  border-bottom: none;
  background: transparent;
  color: inherit;
  transition: unset;
}

a.link--none:hover {
  border-bottom: none;
  background: transparent;
  color: inherit;
  transition: unset;
}

.button,
.button:link {
  border: 2px solid var(--color-primary);
  padding: 0.2em 0.5em;
}

/* My CSS  */

.site-header {
  width: 100%;
  margin: 1rem auto 0;
  padding: 20px var(--container-padding) 20px var(--container-padding);
}

.site-header .site-header__title {
    --fs-min: 20;
    --fs-max: 30;

    font-size: calc(var(--fs-min) / 16 * 1rem + (var(--fs-max) - var(--fs-min)) * var(--fluid-bp));

    background-color: var(--color-secondary);
    color: var(--color-black);
    padding: 0.06em 0.18em;
    border: 2px solid var(--color-black);

    &:hover {
      background-color: var(--color-black);
      color: var(--color-secondary);
    }
}

.event-tickets {
  display: flex;
  flex-flow: row wrap;
  gap: 24px;
  margin-block: 40px;
  align-items: center;

  > * {
    margin: 0;
  }
}

.link-list {
  margin-top: 20px;
  margin-bottom: 50px;
  padding-left: 0;
}

.link-list__item {
  display: flex;
  flex-flow: column wrap;
}

.link-list__item a {
  --fs-min: 20;
  --fs-max: 30;

  font-size: calc(var(--fs-min) / 16 * 1rem + (var(--fs-max) - var(--fs-min)) * var(--fluid-bp));
}

.ticket-link {
  --fs-min: 20;
  --fs-max: 30;

  font-size: calc(var(--fs-min) / 16 * 1rem + (var(--fs-max) - var(--fs-min)) * var(--fluid-bp));
  display: inline-block;
}

.event-video {
  display: block;
  margin: 40px auto;
}

/* Title style adjustments */
.title-lg {
  color: var(--color-text-main);
  font-style: normal;
  font-weight: bold;
  line-height: 1.5;
}

.title-md {
  font-size: 56px;
}

.page-header {
  margin-top: 1rem;
  margin-bottom: 50px;
}

/* Component: Header */

.page-header__title {
  margin-top: 0;
  margin-bottom: 0;
}

.page-header--home {
  .page-header__title {
    background-color: var(--color-black);
    color: var(--color-secondary);
    padding: 0.1em 0.2em;
  }
}

.back-link {
  margin-bottom: 10px;
}

/* Navigation grid */
.site-footer {
  display: flex;
  justify-content: space-between;
  margin: 1rem auto 0;
  padding: 20px var(--container-padding) 20px var(--container-padding);
  width: 100%;
  flex-wrap: wrap;
  border-top: 4px solid var(--color-primary);
}

.site-footer__inner {
  width: 100%;
  margin: 0 auto;
}

.site-footer a:link {
  font-style: normal;
  font-weight: normal;
  font-size: 1.1rem;
  text-decoration: none;
  border-style: none;
}

.site-footer a:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.divider {
  padding: 0 1rem;
}
