/* Basic container styles */
.iframe-container {
  position: relative;
  width: 100%;
  height: 600px;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Warning callout styles */
.callout-warning.callout {
  background-color: #eada4c6b;
  border: none;
  padding: 10px 20px;
  margin: 20px auto;
  width: fit-content;
}

.callout-note.callout {
  background-color: #e3f2fd;  /* Light blue background */
  border: none;
  padding: 10px 20px;
  margin: -10px auto;
  width: 60%;
  position: absolute;      
  left: 50%;
  transform: translateX(-50%);
}

.callout-note.callout p {
  color: #000080 !important;  /* Dark blue color */
  margin: 10px !important;
  font-size: 1.2em !important;  /* Larger text */
  font-weight: bold !important;  /* Bold text */
  text-align: center !important;  /* Center text */
}

/* Footer logos */
.footer-logos1 {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 40px 50px 0 50px;
  margin-top: 20px;
}

.footer-logos1 img {
  height: 100px;
  object-fit: contain;
}

/* Cover the badge */
.iframe-container::after {
  content: "";
  position: absolute;
  bottom: 30px;
  right:  55px;
  width: 164px; /* Adjust based on badge size */
  height: 30px; /* Adjust to match the badge height */
  background-color: #000000;
  z-index: 100;
}

/* Custom styles for RevealJS presentation */
.callout-warning.callout p {
  color: black !important;  /* Make text black for better contrast on yellow */
  margin: 10px !important;
}

/* Outline styles */
.outline-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  width: 95%;  /* Increased from 90% to give more space */
  max-width: 2100px;
  padding: 0 20px;
  flex-wrap: nowrap;  /* Prevent wrapping to new row */
}

.outline-box {
  height: 90%;
  flex: 1;
  max-width: 300px;  /* Limit maximum width */
  min-width: 200px;  /* Ensure minimum width */
  background-color: rgba(135, 206, 250, 0.2);
  border: 2px solid rgba(135, 206, 250, 0.3);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.outline-box.fragment.visible {
  opacity: 1;
  transform: translateY(0);
}

.outline-box img {
  max-height: 900px;
  width: auto;
  margin: 10px auto;
  display: block;
}

.outline-box h3 {
  margin: 0 0 10px 0;
  font-size: 0.6em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Outline styles */
.outline-container2 {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  width: 95%;  /* Increased from 90% to give more space */
  max-width: 2100px;
  padding: 0 20px;
  flex-wrap: nowrap;  /* Prevent wrapping to new row */
}

.outline-box2 {
  height: 100%;
  flex: 1;
  max-width: 300px;  /* Limit maximum width */
  min-width: 200px;  /* Ensure minimum width */
  background-color: rgba(135, 206, 250, 0.2);
  border: 2px solid rgba(135, 206, 250, 0.3);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  opacity: 1; 
}

.outline-box3 {
  height: 90%;
  flex: 1;
  max-width: 300px;  /* Limit maximum width */
  min-width: 200px;  /* Ensure minimum width */
  background-color: rgba(255, 236, 32, 0.2);
  border: 2px solid rgba(135, 206, 250, 0.3);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  opacity: 1; 
}

.outline-box3 img {
  max-height: 900px;
  width: auto;
  margin: 10px auto;
  display: block;
}

.outline-box3 h3 {
  margin: 0 0 10px 0;
  font-size: 0.6em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.outline-box2 img {
  max-height: 900px;
  width: auto;
  margin: 10px auto;
  display: block;
}

.outline-box2 h3 {
  margin: 0 0 10px 0;
  font-size: 0.6em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.callout-note.callout > .callout-header::before {
  display: none;
}

/* Global text size for RevealJS slides */
.reveal {
  font-size: 40px;  /* Default is usually around 40px */
}

.reveal .slides {
  font-size: 0.9em;
}

.reveal h1 {
  font-size: 1.6em;  /* Relative to .reveal font-size */
}

.reveal h2 {
  font-size: 1.3em;
}

.reveal h3 {
  font-size: 1.1em;
}

.reveal p {
  font-size: 0.8em;
}

/* Center all figure captions */
.reveal .quarto-figure-center figcaption,
.reveal .quarto-figure-left figcaption,
.reveal .quarto-figure-right figcaption,
.reveal .slide > img + p.caption {
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

/* Footer text styling */
.reveal .footer {
  font-size: 0.6em;
  color: #888888;
  opacity: 0.8;
}

/* Title slide centering */
.reveal .quarto-title-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 0;
  margin-top: 150px;
}

.reveal .quarto-title-block .title {
  margin: 0;
  padding: 0;
  text-align: center;
}

.reveal .quarto-title-block .quarto-title-authors {
  margin-top: 2em;
}



