/* Presentation context */

#title-slide::after {
  white-space: pre;
  content: "OBIS Nodes workshop on eDNA data management and publishing";
}

/* adjust date size */
#title-slide .date,
#title-slide p.date {
  font-size: 0.8em;
}

/* color of page numbers */
.reveal .slide-number {
  color: #156082 !important;
}

.pillars-container {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin: 10px 0;
  text-align: center;
}

.pillar-svg {
  flex: 0 0 200px;  // Fixed width instead of flex: 1
  max-width: 200px;
  margin-top: -30px
}

.pillar-label {
  font-size: 24px;
  color: #156082;
  font-weight: 600;
  margin-top: -30px;
  min-height: 60px;  // Reserve space for 2-3 lines of text
  display: flex;
  align-items: center;
  justify-content: center;
}

.small-note {
  font-size: 0.85em;
}

/* bordered box */
.bordered-box,
.bordered-box p,
.bordered-box li {
  font-size: 1.05em !important;
  border-radius: 6px;
  padding: 0.75em 1em;
  background-color: #f8f9fa;
}

/* make code block text a bit bigger */
.reveal pre{
  font-size: 1.5em;
}

/* Reserve room for the footer on every slide */
.reveal .slides section {
  padding-bottom: 90px !important;
  box-sizing: border-box;
}

/* Stop images from exceeding the reserved area */
.reveal .slides section img {
  max-height: 100%;
  object-fit: contain;
}

/* Cap any image on a slide using a pixel ceiling, not %.
   Pixel max-heights resolve regardless of parent height,
   so this survives raw HTML wrappers and column nesting. */
.reveal .slides section img {
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* add background shapes, which were failing in scss on GitHub because of path issues */
.reveal .slides::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url('assets/background-shapes.svg');
  background-position: center;
  background-repeat: no-repeat; */
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}