/* Page-local styles for /present/. Does not change global site CSS. */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/roboto-latin-ext-3e76f1.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/roboto-latin-8c38e0.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.present-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #fff;
  padding: 80px 20px;
}
.present-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.present-launch {
  appearance: none;
  display: inline-block;
  margin: 0;
  border: 0;
  border-radius: 3px;
  background: #1e6b7f;
  color: #fff;
  cursor: pointer;
  font-family: Roboto, sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  padding: 12px 24px;
  text-align: center;
}
.present-launch:hover { background: #1a5f70; }
.present-launch:focus-visible {
  outline: 3px solid #1e6b7f;
  outline-offset: 4px;
}

.present-show {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
  overflow: hidden;
}
.present-show[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.present-show::backdrop { background: #000; }
.present-stage {
  position: relative;
  width: 100%;
  height: 95vh;
}
.present-viewport {
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
}
.present-track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.present-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  min-width: 0;
}
.present-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}
.present-heading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 66%;
  margin: 0;
  color: #fff;
  font-family: "Nunito Sans", "Nunito Sans Fallback", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.625;
  text-align: center;
  pointer-events: none;
}
.present-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.present-arrow,
.present-close,
.present-pause {
  font-family: Roboto, sans-serif;
}
.present-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}
.present-prev { left: 0; }
.present-next { right: 0; }
.present-arrow svg { display: block; width: 25px; height: 25px; fill: currentColor; }
.present-pause-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}
.present-pause {
  pointer-events: auto;
  margin: 0;
  border: 0;
  border-radius: 3px;
  background: #1e6b7f;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 12px 24px;
}
.present-pause:hover,
.present-launch:hover { background: #1a5f70; }
.present-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.present-close svg { display: block; width: 36px; height: 36px; fill: currentColor; }
.present-arrow:focus-visible,
.present-close:focus-visible,
.present-pause:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .present-page { padding: 40px 15px; }
  .present-launch { font-size: 32px; }
  .present-pause-wrap { bottom: 40px; }
}
@media (max-width: 767px) {
  .present-launch { font-size: 26px; }
  .present-stage { height: 80vh; }
  .present-heading { font-size: 18px; line-height: 1.625; }
  .present-close,
  .present-close svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .present-track { transition: none !important; }
}
