.reveal .slides::after {
  content: '';
  position: fixed;
  width: 300px; /* Adjust width as needed for the logo */
  height: 300px; /* Adjust height as needed for the logo */
  bottom: 0px; /* Position the logo slightly above the bottom edge */
  right: 0px; /* Position the logo slightly to the left of the right edge */
  background-size: contain; /* Ensure the logo image fits within the container */
  pointer-events: none; /* Ensure the logo does not interfere with slide interactions */
}
.shapes {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.shape {
  width: 200px;
  height: 200px;
  background-color: #4CAF50;
}

.shape1 {
  border-radius: 10px; /* Slightly rounded corners */
}

.shape2 {
  border-radius: 20px; /* More rounded corners */
}

.shape3 {
  border-radius: 30px; /* Fully rounded corners */
}

/* Timeline styles for Camino a la Paleontología */
.timeline {
  position: relative;
  padding: 1rem 0 1.5rem 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
.timeline-axis {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
.timeline-bars {
  position: relative;
  padding-left: 180px; /* reserve space for labels */
}
.timeline-row {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
  min-height: 34px;
}
.timeline-label {
  width: 160px;
  flex: 0 0 160px;
  margin-right: 12px;
  font-weight: 600;
  color: #222;
}
.timeline-bar {
  position: absolute;
  height: 32px;
  border-radius: 6px;
  background: #0d6efd; /* bootstrap primary */
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.88rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  overflow: hidden;
}
.timeline-bar:hover { transform: translateY(-3px); transition: transform .15s ease-in-out; }

@media (max-width: 800px) {
  .timeline-bars { padding-left: 120px; }
  .timeline-label { width: 110px; flex:0 0 110px; font-size: 0.95rem; }
}

.img-shadow {
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.img-centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure column content is centered if this class is added */
.column.center-content {
  text-align: center;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.img-overlap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

/* Global overflow prevention for Revealjs images */
.reveal section img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
}
