/* 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: rgba(231, 173, 82, 0.15);  /* Golden background with transparency */
  border: 2px solid rgba(231, 173, 82, 0.4);  /* Golden border */
  padding: 15px 25px;
  width: 60%;
  position: fixed;      
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(231, 173, 82, 0.2);
  z-index: 1000;
}

.callout-note.callout p {
  color: #e7ad52 !important;  /* Golden text color */
  margin: 10px !important;
  font-size: 1.2em !important;  /* Larger text */
  font-weight: bold !important;  /* Bold text */
  text-align: center !important;  /* Center text */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Style the callout header */
.callout-note.callout .callout-header {
  background-color: rgba(231, 173, 82, 0.2) !important;
  color: #e7ad52 !important;
  border-bottom: 1px solid rgba(231, 173, 82, 0.3) !important;
  font-weight: bold !important;
}

/* Style any callout content */
.callout-note.callout .callout-content {
  color: #e7ad52 !important;
}

/* Override any default callout colors */
.callout-note.callout * {
  color: #e7ad52 !important;
}

/* Ensure no blue colors remain */
.callout-note.callout {
  color: #e7ad52 !important;
}

/* Style the callout icon */
.callout-note.callout .callout-header::before,
.callout-note.callout .callout-header::after {
  color: #e7ad52 !important;
  background-color: rgba(231, 173, 82, 0.2) !important;
}

/* Override the left border color */
.callout-note.callout {
  border-left-color: #e7ad52 !important;
  border-left-width: 4px !important;
}

/* Style the title background specifically */
.callout-note.callout .callout-header {
  background-color: rgba(231, 173, 82, 0.1) !important;
  border-left: 4px solid #e7ad52 !important;
}

/* Override any Quarto default callout styling */
.callout-note.callout {
  border-left: 4px solid #e7ad52 !important;
  background-color: rgba(231, 173, 82, 0.15) !important;
}

/* 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: 100%;  /* Increased from 95% to fill more screen */
  max-width: 2400px;
  padding: 0 20px;
  flex-wrap: nowrap;  /* Prevent wrapping to new row */
}

.outline-box {
  height: 800px; /* Fixed height for all boxes */
  flex: 0 0 200px; /* Start with fixed 200px width */
  min-width: 200px;
  max-width: 200px;
  background-color: transparent;
  border: 2px solid rgba(135, 206, 250, 0.3);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* Show all fragments at once */
.outline-box.fragment {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

/* Override RevealJS fragment hiding */
.outline-box.fragment:not(.current-fragment) {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Active outline box takes most space */
.outline-box.fragment.current-fragment {
  flex: 1; /* Takes most of the available space */
  min-width: 400px; /* Larger minimum width for active box */
  max-width: none; /* Remove max-width constraint for active box */
  background-color: transparent; /* No background */
  border-color: rgba(135, 206, 250, 0.6);
}

/* Inactive outline boxes shrink to minimum */
.outline-box.fragment:not(.current-fragment) {
  flex: 0 0 200px; /* Fixed width of 200px for inactive boxes */
  min-width: 200px;
  max-width: 200px;
}

.outline-box img {
  height: 690px;
  object-fit: none;
  object-position: center;
  width: auto;
  margin: 10px auto;
  display: block;
  transition: all 0.8s ease;
}

/* Crop images in inactive boxes */
.outline-box.fragment:not(.current-fragment) img {
  width: 100%;
  height: 690px;
  object-fit: none;
  object-position: center;
}

/* Show full image in active box */
.outline-box.fragment.current-fragment img {
  width: auto;
  max-width: 100%;
}

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

/* Show only fragment number when inactive */
.outline-box.fragment:not(.current-fragment) h3 {
  font-size: 1.3em;
  font-weight: bold;
  color: rgba(135, 206, 250, 0.8);
}

/* Show full title when active */
.outline-box.fragment.current-fragment h3 {
  font-size: 1.3em;
  color: inherit;
}

 

/* 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;
}

/* Completely hide the callout header */
.callout-note.callout > .callout-header {
  display: none !important;
}

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

/* Hide the callout title and icon */
.callout-note.callout .callout-title {
  display: none !important;
}

.callout-note.callout .callout-icon {
  display: none !important;
}

.callout-note.callout i.callout-icon {
  display: none !important;
}

/* 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.4em;
}

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

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

/* 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%;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  font-size: 0.8em !important;
  
}

 

/* Center all images and figures */
.reveal .slide img {
  display: block;
  margin: 0 auto;
  max-height: none !important;
}

/* Ensure GIFs display properly */
.reveal .slide img[src*=".gif"] {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
}

.reveal .quarto-figure-center {
  text-align: center;
}

.reveal .quarto-figure-center img {
  display: block;
  margin: 0 auto;
}

 

/* 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;
}

/* Add spacing between bibliography entries */
.reveal .slide #refs .csl-entry {
  margin-bottom: 1em !important;
  padding-bottom: 0.5em !important;
}
 
/* Position aside blocks lower on the page */
.reveal .slide .aside,
.reveal .slide div[class*="aside"],
.reveal .slide .callout-aside,
.reveal .slide .quarto-aside,
.reveal .slide [data-type="aside"],
.reveal .slide aside,
.reveal .slide .citation {
  
  bottom: -30px !important; 
  left: -100px !important;
  font-size: 0.8em !important;
  color: #888 !important;
  z-index: 1000 !important;
  background: rgba(0,0,0,0.1) !important;
  padding: 5px 10px !important;
  border-radius: 5px !important;
}



