:root {
  --deck-bg: #fbfbf8;
  --deck-blue: #4c68c7;
  --deck-dark: #09070f;
  --deck-grey: #6f7277;
  --deck-light: #eeeeee;
  --deck-yellow: #ffd24f;
  --deck-orange: #e46b2b;
  --deck-footer: #cfcfcf;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--deck-bg);
}

body {
  font-family: "Aptos", "Segoe UI", "Noto Sans TC", "PingFang TC",
    "Microsoft JhengHei", sans-serif;
}

.reveal {
  color: var(--deck-dark);
  width: 100vw;
  height: 100vh;
  background: var(--deck-bg);
}

.reveal .slides {
  width: 100%;
  height: 100%;
  text-align: left;
}

.reveal .slides section.template-slide {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 78px 64px 42px 60px;
  background: var(--deck-bg);
}

.reveal .slides section.template-slide > :not(.deck-footer) {
  position: relative;
  z-index: 1;
}

.reveal .slides section.template-slide h1,
.reveal .slides section.template-slide h2,
.reveal .slides section.template-slide h3,
.reveal .slides section.template-slide p,
.reveal .slides section.template-slide ul {
  margin: 0;
}

.reveal .slides section.template-slide ul {
  padding: 0;
  list-style: none;
}

.reveal .slides section.cover-slide {
  padding: 286px 56px 0 52px;
}

.reveal .slides section.cover-slide::after {
  content: "";
  position: absolute;
  right: 36px;
  top: 154px;
  width: 650px;
  height: 500px;
  background: url("assets/image4.png") center / contain no-repeat;
}

.reveal .slides section.cover-slide h1 {
  max-width: 760px;
  margin-top: 0;
  font-size: 76px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.reveal .slides section.cover-slide p {
  max-width: 620px;
  margin-top: 34px;
  font-size: 31px;
  line-height: 1.35;
  color: var(--deck-blue);
  letter-spacing: -0.02em;
}

.reveal .slides section.content-slide {
  padding-top: 84px;
  padding-right: 54px;
  padding-bottom: 42px;
  padding-left: 52px;
  background-image:
    radial-gradient(circle at -10px 94px, var(--deck-yellow) 0 24px, transparent 25px),
    radial-gradient(circle at calc(100% - 78px) 0, var(--deck-blue) 0 40px, transparent 41px),
    radial-gradient(circle at 100% 44px, var(--deck-light) 0 58px, transparent 59px),
    radial-gradient(circle at 0 calc(100% - 18px), var(--deck-light) 0 48px, transparent 49px),
    radial-gradient(circle at 52px calc(100% - 18px), var(--deck-blue) 0 34px, transparent 35px),
    radial-gradient(circle at calc(100% - 14px) 12px, var(--deck-blue) 0 3px, transparent 4px);
}

.reveal .slides section.content-slide h2 {
  max-width: 1180px;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.reveal .slides section.content-slide h2 em {
  font-style: normal;
  font-size: 0.48em;
  font-weight: 700;
  color: var(--deck-blue);
}

.reveal .slides section.content-slide > p:first-of-type {
  max-width: 1160px;
  margin-top: 16px;
  font-size: 24px;
  line-height: 1.24;
  color: var(--deck-grey);
}

.reveal .slides section.content-slide h3 {
  position: relative;
  margin-top: 18px;
  margin-left: 60px;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.22;
  color: var(--deck-blue);
}

.reveal .slides section.content-slide > p:first-of-type + h3 {
  margin-top: 30px;
}

.reveal .slides section.content-slide h3::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0.12em;
  width: 16px;
  height: 16px;
  border: 3px solid var(--deck-blue);
  box-shadow: 6px 6px 0 0 var(--deck-blue);
  background: var(--deck-bg);
}

.reveal .slides section.content-slide ul {
  max-width: 1120px;
  min-height: 92px;
  margin-top: 18px;
  margin-left: 110px;
}

.reveal .slides section.content-slide li {
  position: relative;
  padding-left: 42px;
  font-size: 25px;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.reveal .slides section.content-slide ul + h3 {
  margin-top: 18px;
}

.reveal .slides section.content-slide li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 14px;
  height: 14px;
  border: 2px solid #8f8f8f;
  box-shadow: 4px 4px 0 0 #8f8f8f;
  background: var(--deck-bg);
}

.reveal .slides section.thanks-slide {
  padding: 0;
}

.reveal .slides section.thanks-slide::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 298px;
  width: 310px;
  height: 230px;
  background: url("assets/image5.png") center / contain no-repeat;
  transform: translateX(-50%);
}

.reveal .slides section.thanks-slide::after {
  content: "";
  position: absolute;
  left: calc(50% + 86px);
  top: 306px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--deck-orange);
}

.reveal .slides section.thanks-slide p {
  position: absolute;
  left: 0;
  right: 0;
  top: 552px;
  text-align: center;
  font-size: 31px;
  line-height: 1.2;
  color: var(--deck-grey);
}

.deck-footer {
  position: absolute;
  right: 24px !important;
  bottom: 14px !important;
  left: auto !important;
  top: auto !important;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: flex-end;
  width: auto;
  max-width: calc(100% - 48px);
  text-align: right;
}

.footer-copy {
  font-size: 16px;
  line-height: 1;
  color: var(--deck-blue);
  letter-spacing: -0.02em;
}

.footer-page {
  font-size: 17px;
  line-height: 1;
  color: var(--deck-footer);
}

.reveal .slides section.thanks-slide .footer-page {
  font-size: 17px;
  color: #6d6d6d;
}

@media (max-width: 1280px) {
  .reveal .slides section.cover-slide h1 {
    font-size: 68px;
  }

  .reveal .slides section.cover-slide p {
    font-size: 28px;
  }

  .reveal .slides section.content-slide h2 {
    font-size: 56px;
  }

  .reveal .slides section.content-slide > p:first-of-type {
    font-size: 22px;
  }

  .reveal .slides section.content-slide h3 {
    font-size: 29px;
  }

  .reveal .slides section.content-slide li {
    font-size: 23px;
  }
}
