:root {
  --sd-heading1-size: 8.5vw;
  --sd-heading1-line-height: 1;
  --sd-heading2-size: 5vw;
  --sd-heading2-line-height: 1;
  --sd-text-size: 2.2vw;
  --sd-text-line-height: 1.2;
  --sd-caption-font-size: 1vw;
  --sd-caption-line-height: 1;

  --sd-background-color: #fafafa;
  --sd-heading-color: rgba(36, 36, 36, 0.97);
  --sd-text-color: rgba(36, 36, 36, 0.87);
  --sd-primary-color: rgb(37, 186, 146);
  --sd-caption-color: rgba(255, 255, 255, 0.7);
  --sd-caption-bgcolor: rgba(36, 36, 36, 0.7);

  /* SpeakerView */
  --sd-sv-timer-size: 80px;
  --sd-sv-text-size: 40px;
  --sd-sv-text-line-height: 1.2;
  --sd-sv-background-color: #242424;
  --sd-sv-text-color: rgba(255, 255, 255, 0.87);
}



@font-face {
  font-family: FunkyBird;
  src: url(FunkyBird.otf);
}
@font-face {
  font-family: "Source Sans";
  src: url(Source_Sans_3/SourceSans3-VariableFont_wght.ttf);
}
@font-face {
  font-family: "Source Sans Italic";
  src: url(Source_Sans_3/SourceSans3-Italic-VariableFont_wght.ttf);
}
:root {
  --seal-brown: #6c3316ff;
  --princeton-orange: #f89321ff;
  --sky: #32d4df;
  --violet: #360362;
  --marron: #594848;
  --noir: #000;
  --warm-beige: #e8d5c4;
  --light-beige: #f5ebe0;
  --tan: #d4a574;
  --accent-orange: #f47216;
  --accent-red: #db1d2b;
  --accent-cyan: #00d4ff;
  --soft-white: #f4f4f9;
  --sd-background-color: linear-gradient(135deg, #f5ebe0 0%, #e8d5c4 100%);
  --sd-heading-color: var(--marron);
  --sd-text-color: var(--noir);
  --sd-primary-color: var(--marron);
  --sd-heading1-size: 8.5vw;
  --sd-heading1-line-height: 1;
  --sd-heading2-size: 5vw;
  --sd-heading2-line-height: 1;
  --sd-text-size: 2.2vw;
  --sd-text-line-height: 1.2;
  --sd-caption-font-size: 1vw;
  --sd-caption-line-height: 1;
  --sd-caption-color: rgba(255, 255, 255, 0.7);
  --sd-caption-bgcolor: rgba(36, 36, 36, 0.7);
}

body {
  background: linear-gradient(135deg, #f5ebe0 0%, #e8d5c4 100%);
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(0, 0, 0, 0.01) 35px, rgba(0, 0, 0, 0.001) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(0, 0, 0, 0.008) 35px, rgba(0, 0, 0, 0.008) 70px);
  pointer-events: none;
  z-index: 0;
}

body ul {
  list-style: none;
}

body ul li::before {
  content: "🪩";
  padding-right: 2rem;
}

body ul li {
  margin-bottom: 20px;
  margin-top: 15px;
  text-shadow: none;
}

body ul li ul li::before {
  content: "🕺";
  font-size: 20px;
}

body a {
  color: var(--accent-orange);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-orange);
  transition: all 0.3s ease;
}

body a:hover {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}

h2 {
  font-family: "FunkyBird", sans-serif;
  text-shadow: none;
}

code:not(.language-mermaid) {
  font-family: 'Source Sans', sans-serif;
  font-size: 0.85em;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 4px 10px;
  font-style: normal;
  font-weight: 600;
  color: var(--accent-orange);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.speaker {
  h2 {
    font-family: "FunkyBird", sans-serif;
    font-size: 140px;
  }
  .speaker_title {
    font-family: "FunkyBird", sans-serif;
    font-size: 80px;
  }
  img {
    border: 2px solid var(--sd-primary-color);
    border-radius: 100%;
  }
}

.logo {
  img {
    border: none;
    border-radius: 0%;
  }
}


.chapter {
  font-family: 'FunkyBird', sans-serif;
  font-size: 80px;
  h2 {
    color: var(--accent-orange);
    font-size: 150px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--accent-red), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

.demo {
  font-family: 'FunkyBird', sans-serif;
  font-size: 80px;
}

.split {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.split > div {
  width: 50%;
  padding: 1vh 1vw;
}

.homepage {
  background: url("cover.png") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* Last slide */
.last-slide {
  h1 {
    margin-top: 50px;
    font-family: 'FunkyBird', sans-serif;
    font-size: 100px;
  }
  color: var(--cover-color);
}


.with-title-top {
  display: block;
  padding: 0;

  h2 {
    color: white;
    -webkit-text-stroke: rgba(0, 0, 0, 0.3) 1px;
    font-size: 5vw;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    text-align: left;
    padding: 0.3vw 0 0.8vw 1vw;
    text-align: left;
    font-family: 'FunkyBird', sans-serif;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  }

  /* align text vertically center but not title */
  > .sd-slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100% - 8vw); /* Adjust height to exclude title height */
  }
}

.concept-slide {
  /* Center vertically */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.language-mermaid svg {
  display: block;
  width: 1200px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
}

.language-mermaid p {
  font-size: 1.5em;
  text-shadow: none;
}

.two-columns {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;

  > div {
    width: 50%;
    padding: 0 9vw;
  }

}