@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@1,400;1,700&display=swap");
*,
*::after,
*::before {
  border: 0;
  box-sizing: border-box;
  margin: 0;
  outline: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  position: relative;
  width: 100%;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

a {
  background-color: transparent;
  text-decoration: none;
}

a:link {
  color: inherit;
}

a:visited {
  color: inherit;
}

a:hover,
a:active {
  outline: 0;
}

a:focus {
  outline: thin dotted;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

button {
  background: none;
  color: inherit;
  line-height: 1em;
  padding: 0.5em;
}

img,
picture {
  border: 0;
  border-style: none;
  display: block;
  max-width: 100%;
}

:where(figure, picture) > img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html {
  font-size: 1em;
  line-height: 1.5;
}
@media (max-width: 37.5em) {
  html {
    font-size: max(16px, 4vw);
  }
}
@media (min-width: 37.5625em) {
  html {
    font-size: 1em;
  }
}
@media (min-width: 160em) {
  html {
    font-size: 0.8vw;
  }
}

body {
  overflow-x: hidden;
  overflow-y: visible;
}

@media (max-width: 37.5em) {
  *[desktop] {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 37.5625em) {
  *[mobile] {
    display: none !important;
    visibility: hidden;
  }
}

@media (max-width: 64em) {
  *[expanded] {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 64.0625em) {
  *[collapsed] {
    display: none !important;
    visibility: hidden;
  }
}

[class*=container] {
  margin-inline: auto;
  padding: 0;
  width: 100%;
}
[class*=container] > * {
  margin-block: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
}
[class*=container] > *:first-child {
  margin-top: 0;
}
[class*=container] > *:last-child {
  margin-bottom: 0;
}
[class*=container][class*=__fixed] {
  width: min(100%, 90em);
}
[class*=container][class*=__fluid] {
  width: 100%;
}
[class*=container][class*=__padded] {
  width: min(96%, 90em);
}
[class*=container][class*=-flush] > * {
  margin-block: 0;
}

nav.container {
  margin-bottom: 0;
  position: fixed;
  position: sticky;
  top: 0;
}

.col-promo,
.col-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr;
  grid-gap: 1.25rem;
  justify-content: stretch;
}

.con-padded {
  padding: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
  margin-inline: auto;
}

.margins > * {
  margin-block: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
}
.margins > *:first-child {
  margin-top: 0;
}
.margins > *:last-child {
  margin-bottom: 0;
}

@supports not (display: grid) {
  .col-promo,
  .col-grid {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: flex-start;
  }
  .col-grid-2 > *,
  .col-grid-3 > *,
  .col-grid-4 > *,
  .col-grid-6 > * {
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: calc(100%/3 - 1.25rem + 0.8333333333rem );
  }
}
@media (max-width: 37.5em) {
  .col-promo.mqs-list,
  .col-grid.mqs-list {
    row-gap: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
    padding: 0;
  }
  .col-promo.mqs-grid,
  .col-grid.mqs-grid {
    gap: 0.624rem;
  }
  .col-grid-2.mqs-list > *,
  .col-grid-3.mqs-list > *,
  .col-grid-4.mqs-list > *,
  .col-grid-6.mqs-list > * {
    grid-column: span 12;
  }
  .col-grid-3.mqs-grid > *,
  .col-grid-6.mqs-grid > * {
    grid-column: span 4;
  }
  .col-grid-2.mqs-grid > *,
  .col-grid-4.mqs-grid > * {
    grid-column: span 6;
  }
}
@media (min-width: 37.5625em) {
  .col-grid-2 > *,
  .col-grid-3 > *,
  .col-grid-4 > *,
  .col-grid-6 > * {
    grid-column: span 6;
  }
}
@media (min-width: 64.0625em) {
  .col-grid-3 > *,
  .col-grid-4 > *,
  .col-grid-6 > * {
    grid-column: span 4;
  }
}
@media (min-width: 85.375em) {
  .col-grid-4 > * {
    grid-column: span 3;
  }
  .col-grid-6 > * {
    grid-column: span 2;
  }
}
.col-flex {
  display: flex;
  align-items: stretch;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
  justify-content: center;
}

.col-flex-2 > *,
.col-flex-3 > *,
.col-flex-4 > *,
.col-flex-6 > * {
  flex-grow: 0;
  flex-shrink: 1;
}

@media (max-width: 37.5em) {
  .col-flex-2 > *,
  .col-flex-3 > *,
  .col-flex-4 > *,
  .col-flex-6 > * {
    flex-basis: 100%;
  }
}
@media (min-width: 37.5625em) {
  .col-flex-2 > *,
  .col-flex-3 > *,
  .col-flex-4 > *,
  .col-flex-6 > * {
    flex-basis: calc(50% - 1.25rem + 0.625rem );
  }
}
@media (min-width: 64.0625em) {
  .col-flex-3 > *,
  .col-flex-4 > *,
  .col-flex-6 > * {
    flex-basis: calc(100%/3 - 1.25rem + 0.4166666667rem );
  }
}
@media (min-width: 85.375em) {
  .col-flex-4 > * {
    flex-basis: calc(25% - 1.25rem + 0.3125rem );
  }
  .col-flex-6 > * {
    flex-basis: calc(16.6666667% - 1.25rem + 0.2083333333rem );
  }
}
.col-promo-test {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  border: 1px solid black;
  height: 150px;
}

@media (max-width: 37.5em) {
  .col-promo > * {
    grid-column: span 12 !important;
  }
}
.col-promo-1 > *:nth-child(1) {
  grid-column: span 12;
}

.col-promo-2 > *:nth-child(-n+2) {
  grid-column: span 6;
}

@media (max-width: 37.5em) {
  .col-promo-2 > *:nth-child(-n+2) {
    grid-column: span 12;
  }
}
.col-promo-3 > *:nth-child(-n+3) {
  grid-column: span 4;
}

@media (max-width: 64em) {
  .col-promo-3 > *:nth-child(1) {
    grid-column: span 12;
  }
  .col-promo-3 > *:nth-child(n+2) {
    grid-column: span 6;
  }
}
@media (max-width: 37.5em) {
  .col-promo-3 > *:nth-child(-n+2) {
    grid-column: span 12;
  }
}
.accordion dt {
  cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
.accordion dd {
  transition: height 300ms ease-in-out, margin 300ms ease-in-out, padding-top 300ms ease-in-out, padding-bottom 300ms ease-in-out;
  overflow: hidden;
}

@keyframes slide-right-fade-in {
  0% {
    opacity: 0;
    transform: translateX(-20vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slide-left-fade-in {
  0% {
    opacity: 0;
    transform: translateX(20vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slide-top-fade-in {
  0% {
    opacity: 0;
    transform: translateY(20vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide-bottom-fade-in {
  0% {
    opacity: 0;
    transform: translateY(-20vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.sos {
  opacity: 0;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  backface-visibility: hidden;
}

.sos.visible {
  animation-name: fade-in;
  animation-duration: 600ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.sos.top.visible {
  animation-name: slide-top-fade-in;
}

.sos.right.visible {
  animation-name: slide-right-fade-in;
}

.sos.bottom.visible {
  animation-name: slide-bottom-fade-in;
}

.sos.left.visible {
  animation-name: slide-left-fade-in;
}

button {
  cursor: pointer;
  flex-wrap: nowrap;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.3125rem;
  isolation: isolate;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
button[bs-disabled] {
  opacity: 0.25;
  pointer-events: none;
  cursor: default;
}

*[bs-disabled] {
  filter: saturate(0);
  pointer-events: none !important;
}

.carousel {
  width: 100%;
  height: auto;
  background-color: black;
}

.carousel.stacked {
  display: grid;
  place-items: center;
  isolation: isolate;
  position: relative;
}
.carousel.stacked > * {
  grid-column: 1/-1;
  grid-row: 1/-1;
}
.carousel.stacked .dots-carousel {
  position: absolute;
}

:is(.wrapper-carousel,
.content-carousel) {
  height: auto;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: flex-start;
}

.wrapper-carousel {
  width: 100%;
  isolation: isolate;
  align-items: center;
}

.content-carousel {
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: stretch;
  isolation: auto;
  z-index: 1;
}
.content-carousel > * {
  position: relative;
  float: left;
  flex-grow: 1;
  flex-shrink: 0;
}

:is(.filler-carousel,
.handle-carousel) {
  position: absolute;
  background: transparent;
  width: 100%;
  height: 100%;
}

.filler-carousel {
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
  pointer-events: none;
  cursor: default;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
.filler-carousel > * {
  position: absolute;
  flex: 0 0 100%;
}

.handle-carousel {
  z-index: 2;
}

:is(.nav-carousel,
.dots-carousel) {
  display: flex;
  z-index: 3;
  pointer-events: none;
  cursor: default;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
:is(.nav-carousel,
.dots-carousel) > * {
  pointer-events: all;
}

.nav-carousel {
  justify-content: space-between;
  width: 100%;
}

.dots-carousel {
  justify-content: center;
  align-items: center;
  gap: 0.3125em;
  font-size: 1em;
}
.dots-carousel li {
  list-style: none;
  width: 0.625em;
  height: 0.625em;
  border: 1px solid currentColor;
  border-radius: 100vw;
  transition: width 200ms ease;
}
.dots-carousel li[active] {
  background-color: currentColor;
}

.content-carousel > *,
.filler-carousel > * {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

button:is(.hamburger, .hamburger-close) {
  aspect-ratio: 1/1;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
  background-color: none;
}

button.hamburger {
  font-weight: 700;
  font-size: 1.5em;
}

button.hamburger-close {
  align-self: flex-end;
}
button.hamburger-close::before {
  content: "+";
  display: block;
  transform: rotate(45deg);
  font-size: max(30px, 2vw);
}

nav.hamburger {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  width: min(100%, 400px);
  padding: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
  z-index: 4;
  translate: -400px;
  transition: translate 200ms ease-in-out;
  isolation: isolate;
  overflow-y: auto;
  scrollbar-width: 7px;
  scrollbar-color: rgb(80, 80, 80) rgba(255, 255, 255, 0);
  background-color: ghostwhite;
}
nav.hamburger::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
nav.hamburger::-webkit-scrollbar-track-piece {
  background-color: rgba(255, 255, 255, 0);
}
nav.hamburger::-webkit-scrollbar-thumb:vertical {
  height: 7px;
  background-color: rgb(80, 80, 80);
}
nav.hamburger::-webkit-scrollbar-thumb:horizontal {
  width: 7px;
  background-color: rgb(80, 80, 80);
}
nav.hamburger > * {
  margin-block: 0.3125rem;
}
nav.hamburger > *:first-child {
  margin-top: 0;
}
nav.hamburger > *:last-child {
  margin-bottom: 0;
}

nav.hamburger dt {
  background-color: transparent;
}
nav.hamburger dt[active] {
  background-color: transparent;
}

nav.hamburger dd {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

dialog {
  background: transparent;
  margin: auto;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  cursor: default;
}

.modal {
  width: 100%;
  max-height: 100vh;
  animation-name: fade-in;
  animation-duration: 300ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  pointer-events: none;
}
.modal.top {
  animation-name: slide-top-fade-in;
}
.modal.right {
  animation-name: slide-right-fade-in;
}
.modal.bottom {
  animation-name: slide-bottom-fade-in;
}
.modal.left {
  animation-name: slide-left-fade-in;
}

:is(.modal,
.modal-video) {
  max-height: 90vh;
  margin-block: auto;
  margin-inline: auto;
  pointer-events: auto;
  z-index: 2;
}

.modal {
  background-color: white;
  width: min(90%, 60ch);
  padding: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
  overflow-y: auto;
  scrollbar-width: 7px;
  scrollbar-color: #cccccc #999999;
}
.modal::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
.modal::-webkit-scrollbar-track-piece {
  background-color: #999999;
}
.modal::-webkit-scrollbar-thumb:vertical {
  height: 7px;
  background-color: #cccccc;
}
.modal::-webkit-scrollbar-thumb:horizontal {
  width: 7px;
  background-color: #cccccc;
}

.modal-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  position: relative;
  isolation: isolate;
  max-height: 70vh;
}
.modal-flex > * {
  flex: 0 0 auto;
}
@media (max-height: 580px) {
  .modal-flex {
    max-height: unset;
  }
}

.modal-textbox {
  overflow-y: auto;
  padding: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
  scrollbar-width: 7px;
  scrollbar-color: #cccccc #999999;
  flex: 1 1 100%;
}
.modal-textbox::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
.modal-textbox::-webkit-scrollbar-track-piece {
  background-color: #999999;
}
.modal-textbox::-webkit-scrollbar-thumb:vertical {
  height: 7px;
  background-color: #cccccc;
}
.modal-textbox::-webkit-scrollbar-thumb:horizontal {
  width: 7px;
  background-color: #cccccc;
}
.modal-textbox > * {
  margin-block: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
}
.modal-textbox > *:first-child {
  margin-top: 0;
}
.modal-textbox > *:last-child {
  margin-bottom: 0;
}
@media (max-height: 580px) {
  .modal-textbox {
    flex: 1 0 auto;
  }
}

.modal-sticky {
  position: sticky;
  padding: 0.625rem;
}
@media (max-height: 580px) {
  .modal-sticky {
    position: relative;
  }
}

.modal-video {
  width: min(96%, 60rem);
  aspect-ratio: 16/9;
  padding: unset !important;
  overflow: hidden !important;
}
.modal-video > iframe {
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.modal_close {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 5vw;
  height: 5vw;
  position: fixed;
  top: 0;
  right: 0;
  color: white;
  font-family: Arial !important;
}
@media (hover: hover) {
  .modal_close {
    cursor: pointer;
  }
  .modal_close:hover {
    transform: scale(1.1);
  }
}
.modal_close::before {
  content: "+";
  display: block;
  transform: rotate(45deg);
  font-size: 4vw;
}
@media (max-width: 64em) {
  .modal_close {
    width: 20px;
    height: 20px;
    top: 5px;
    right: 5px;
  }
  .modal_close::before {
    font-size: 38px;
  }
}

#sgw-top-navigation {
  background-color: black;
  height: 50px !important;
  isolation: isolate;
  transition: transform 250ms ease-in-out;
  z-index: 2;
  position: fixed;
  position: sticky;
  top: 0;
}
@media (max-width: 37.5em) {
  #sgw-top-navigation {
    height: 40px !important;
    position: fixed;
    position: sticky;
    top: 0;
  }
}

@media only screen and (max-width: 800px) {
  #sgw_gnb_div.lightboxmode {
    overflow: initial !important;
  }
}
#stickyHamburger {
  position: fixed;
  top: 0;
  left: 0;
  transition: transform 250ms ease-in-out;
  z-index: 3;
  isolation: isolate;
}
#stickyHamburger div {
  font-size: 1.25rem;
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
}
#stickyHamburger a > div {
  height: 40px;
  padding: 0 0.625rem;
}
#stickyHamburger img {
  width: 9.8125rem;
  height: auto;
}

.gnb-scrolls {
  /* fixes height 0 issue */
  height: 50px !important;
}
@media (max-width: 37.5em) {
  .gnb-scrolls {
    height: 40px !important;
  }
}

#stickybar,
#stickybottom,
#stickybottom_locked {
  background-color: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.0823529412);
  transition: transform 250ms ease-in-out;
  z-index: 1;
  isolation: isolate;
}

#stickybar {
  position: fixed;
  position: sticky;
  top: 50px;
}
@media (max-width: 37.5em) {
  #stickybar {
    position: fixed;
    position: sticky;
    top: 40px;
  }
}

#stickybottom,
#stickybottom_locked {
  position: sticky;
  bottom: 0;
}

#stickybottom {
  transform: translateY(3.75rem);
}

.timer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-size: 0.625rem;
  text-transform: uppercase;
}
.timer div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 7ch;
}
.timer div::after {
  margin-left: 2px;
}
.timer div.days::after {
  content: "d";
}
.timer div.hours::after {
  content: "h";
}
.timer div.minutes::after {
  content: "m";
}
.timer div.seconds::after {
  content: "s";
}
.timer div > p {
  font-size: 2em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 37.5em) {
  .timer span {
    display: none;
  }
}

.nav-ribbon {
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap !important;
}
.nav-ribbon > * {
  flex-shrink: 0;
}
@media (min-width: 37.5625em) {
  .nav-ribbon {
    scrollbar-width: 7px;
    scrollbar-color: rgb(80, 80, 80) rgba(255, 255, 255, 0);
  }
  .nav-ribbon::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }
  .nav-ribbon::-webkit-scrollbar-track-piece {
    background-color: rgba(255, 255, 255, 0);
  }
  .nav-ribbon::-webkit-scrollbar-thumb:vertical {
    height: 7px;
    background-color: rgb(80, 80, 80);
  }
  .nav-ribbon::-webkit-scrollbar-thumb:horizontal {
    width: 7px;
    background-color: rgb(80, 80, 80);
  }
}

nav:where(.nav-h, .nav-v) {
  display: flex;
}

nav.nav-h {
  flex-direction: row;
  align-items: center;
}

nav.nav-v {
  flex-direction: column;
  align-items: stretch;
}

.con-tabbed > *:not([active]) {
  display: none;
  visibility: hidden;
}

.nav-tabbed {
  display: flex;
  flex-wrap: wrap;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
.nav-tabbed > * {
  cursor: pointer;
}

.tooltip {
  cursor: pointer;
}

.tooltip-alt,
.tooltip-id {
  padding: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
  background-color: ghostwhite;
}

.modeless {
  pointer-events: none;
  cursor: default;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
  max-width: 45ch;
}
@media (max-width: 37.5em) {
  .modeless {
    position: fixed !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
    padding-bottom: 10vh;
    width: 100%;
    height: 100%;
    max-width: none;
    top: 0 !important;
    left: 0 !important;
    background-color: rgba(0, 0, 0, 0.25);
  }
  .modeless > * {
    animation: slide-top-fade-in 150ms ease-in-out forwards;
  }
}
.modeless .modal_close {
  top: 3px;
  right: 3px;
  background: none;
  color: currentColor;
}

:root {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

:root {
  background-color: initial;
}

:root[data-theme=dark] {
  background-color: initial;
}

#event-main,
#event-pending,
#event-ending {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: auto;
  background-color: #15181c;
  isolation: isolate;
}

#event-main {
  background-image: url(../images/2024-bgmain.webp);
}

#event-pending {
  background-image: url(../images/2024-bgpending.webp);
}

#event-ending {
  background-image: url(../images/2024-bgending.webp);
}

@media (max-width: 900px) {
  #event-main {
    background-image: url(../images/2024-bgmain_900.webp);
  }
  #event-pending {
    background-image: url(../images/2024-bgpending_900.webp);
    background-size: 100%;
  }
  #event-ending {
    background-image: url(../images/2024-bgending_900.webp);
    background-size: 100%;
  }
}
#event-title {
  padding-block: 2.5vh;
}
#event-title img {
  margin-inline: auto;
}

#event-timer {
  font-family: "Merriweather", serif;
  font-weight: bold;
  color: white;
  font-size: 14px;
}

footer {
  z-index: 2;
  position: relative;
}

.message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: goldenrod;
  background-image: linear-gradient(goldenrod 0%, gold 45%, gold 60%, palegoldenrod 100%);
  border-radius: 0.625rem;
  position: relative;
  padding: 1rem 1.25rem;
  width: 300px;
  filter: drop-shadow(0 4px 14px rgba(150, 150, 0, 0.2));
}

.message p,
.message button {
  font-family: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif;
}

.message p {
  font-weight: normal;
  font-size: 2em;
  line-height: 1.2;
  text-align: center;
  text-wrap: pretty;
  color: goldenrod;
  margin: 0;
}

.message button {
  appearance: none;
  padding: 0.1em 1.25em;
  font-size: 1em;
  border:1px solid goldenrod;
  border-radius: 3px;
}

.message::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 0.6rem;
  background-color: ghostwhite;
  z-index: -1;
}

#event-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

#card {
  position: relative;
  isolation: isolate;
  filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.25));
  transition: transform 300ms ease-in;
}

#card-cover {
  position: absolute;
  top: 0;
  -webkit-perspective: 2000px;
  perspective: 2000px;
  box-sizing: border-box;
  pointer-events: none;
}
#card-cover > div {
  transform-origin: 0px;
  transition: transform 300ms ease-in;
}

/* --------------- ANIMATION --------------- */
@media (max-width: 64em) {
  .coverOpened #card-cover > div {
    transform: rotateY(-264.2deg);
  }
}
@media (min-width: 64.0625em) {
  .coverOpened #card-cover > div {
    transform: rotateY(-160deg);
  }
  .coverOpened {
    transform: translate(50%);
  }
}
@media (max-width: 37.5em) {
  .coverOpened #card-cover > div {
    transform: rotateY(-128deg);
  }
}
.coverOpened,
.coverOpened #card-cover > div {
  transition: transform 500ms ease-in;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
}

/* --------------- ANIMATION --------------- */
#card-cover,
#card-body {
  isolation: isolate;
}
@media (max-width: 37.5em) {
  #card-cover,
  #card-body {
    width: 300px;
    width: 90vw;
    height: 450px;
    height: 135vw;
  }
}
@media (min-width: 37.5625em) {
  #card-cover,
  #card-body {
    width: 400px;
    height: 600px;
  }
}

[id*=card-inside] {
  width: 100%;
  height: 100%;
  inset: 0;
  position: absolute;
}

#card-inside-front > div,
#card-inside-back > div,
#card-inside-content > div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#card-inside-front {
  backface-visibility: hidden;
  z-index: 1;
}
#card-inside-front div {
  background-color: darkred;
  color: white;
}

#card-inside-back div {
  transform: rotateY(180deg);
  background-color: ghostwhite;
}

#card-inside-content div {
  background: rgb(246, 246, 246);
  background: linear-gradient(90deg, rgb(246, 246, 246) 0%, rgb(222, 222, 222) 100%);
}

/* -------- INSTRUCTIONS ---------*/
#event-instructions {
  color: white;
  background-image: url(../images/bgtag.webp);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: auto;
  height: 180px;
  padding-top: 44px;
  opacity: 0;
  transform: translateY(20vh);
}

#event-instructions > div {
  width: min(300px, 90vw);
  margin: 0 auto;
  font-family: "Merriweather", serif;
  font-size: 20px;
  text-align: center;
  transform: rotateZ(1.25deg);
}
#event-instructions > div h1 {
  font-size: 1em;
}
#event-instructions > div h2 {
  color: #bf9b5d;
  font-size: 0.9em;
}

#event-instructions.coverOpened {
  animation: slide-top-fade-in 800ms ease-in forwards;
}

/* -------- INSTRUCTIONS ---------*/
#card-inside-content form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: 100%;
  padding: 3em 1.2em;
  font-family: "Merriweather", serif;
  text-align: center;
}
#card-inside-content form > * {
  margin-block: 5px;
}
#card-inside-content form > *:first-child {
  margin-top: 0;
}
#card-inside-content form > *:last-child {
  margin-bottom: 0;
}
#card-inside-content form label {
  color: #686868;
  font-weight: bold;
}
#card-inside-content form select,
#card-inside-content form textarea {
  border-radius: 3px;
  border: 1px solid #c0c0c0;
  padding: 0.4em;
}
#card-inside-content form textarea {
  flex: 1 1 100%;
  text-align: left;
  resize: none;
}
#card-inside-content form input[type=submit] {
  padding: 0.3em;
  border-radius: 6px;
  background-color: darkred;
  text-transform: uppercase;
  color: white;
  letter-spacing: 0.1em;
}
@media (hover: hover) {
  #card-inside-content form input[type=submit] {
    cursor: pointer;
  }
  #card-inside-content form input[type=submit]:hover {
    background-color: red;
  }
}

#event-pending section {
  padding-block: 140px;
}

#event-pending section div {
  margin-inline: auto;
  width: 800px;
  height: 800px;
}

@media (max-width: 900px) {
  #event-pending section {
    padding-block: 6vw;
  }
  #event-pending section div {
    width: 90vw;
    height: 145vw;
  }
}
#pending-contents {
  font-family: "Merriweather", serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1em;
}
#pending-contents h1 {
  color: #ca0101;
  font-weight: bold;
  font-size: clamp(36px, 3.125vmax, 65px);
  line-height: 1;
  max-width: 80%;
  margin-block: 0.6667em;
}
#pending-contents p {
  max-width: 30ch;
  margin-block: 1em;
  margin-top: 0;
}
#pending-contents a:link,
#pending-contents a:visited {
  color: #535669;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  margin-top: 3em;
}
#pending-contents a:hover,
#pending-contents a:active {
  color: #757dad;
}

#winner-paper {
  padding: 2em 3em;
  width: min(90vw, 1420px);
  margin-inline: auto;
}
@media (min-width: 37.5625em) {
  #winner-paper {
    background-image: url(../images/winner-paper-tile.webp), url(../images/winner-paper.webp);
    background-position: top center;
    background-repeat: repeat-y, no-repeat;
    background-size: 100%;
  }
}
@media (max-width: 37.5em) {
  #winner-paper {
    background-color: #f2f0ed;
    padding-inline: 1em;
  }
}

#event-winners {
  font-family: "Merriweather", serif;
  text-align: center;
}
#event-winners h1 {
  font-size: clamp(36px, 3.125vmax, 65px);
  text-transform: uppercase;
}
#event-winners h2 {
  color: #535669;
  margin-bottom: 2em;
}
@media (max-width: 37.5em) {
  #event-winners h2 {
    margin-bottom: 0;
  }
}
#event-winners a:link,
#event-winners a:visited {
  color: #535669;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  margin-top: 3em;
}
#event-winners a:hover,
#event-winners a:active {
  color: #757dad;
}

#winner-list {
  margin-block: 2em;
  row-gap: 3em;
}
@media (max-width: 37.5em) {
  #winner-list {
    row-gap: 2em;
  }
}

.winner {
  line-height: 1;
}
.winner > * {
  margin-block: 8px;
}
.winner > *:first-child {
  margin-top: 0;
}
.winner > *:last-child {
  margin-bottom: 0;
}
.winner figure {
  background-color: #e8e6e3;
  border-radius: 10px;
  position: relative;
}
.winner figcaption {
  font-size: 12px;
  color: #666666;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: absolute;
  bottom: 1em;
  width: 100%;
}
