/* global.css */

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

/* Reset and Global Styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}



/* Ensure the reveal container fills the viewport */
.reveal {
  width: 100%;
  height: 100%;
}

/* Slide container (handled by reveal.js, but additional styling can be added if needed) */
.slides section {
  
}

.reveal-viewport.reveal-scroll .scroll-page section {
  top: 45%!important;
}

.single-column {
  padding: 2rem;
  text-align: left;
}
/* Single Column Section */
.single-column .content {
  max-width: 800px;
  text-align: left;
  padding: 2rem;
}

.single-column .video {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.single-column figure {
    max-width: 80%;
    width: 100%;
    margin: 0;
}

/* Two Column Section Layout */
.two-column {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* Define the two columns to take equal space */
.two-column .column {
  flex: 1;
  padding: 2rem;
}

/* Text content in the left column */
.two-column .column.left {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1.25rem;
  justify-content: center;
}

/* Media content in the right column */
.two-column .column.right {
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
  gap: 1.25rem;
}

/* Responsive: Stack columns on smaller screens */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
  }
}

/* Images and Videos: Ensure they fit their container */

figure {
    max-width: 95%;
    width: 95%;
    margin: 0;
}
.two-column img,
.two-column video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Background video adjustments (if using reveal.js data attributes) */
.reveal section[data-background-video] {
  position: relative;
}

/* Optional: If your slide content has an opaque background, make it semi-transparent */
.section-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
}

blockquote p::before,
blockquote p::after {
  display: inline;
}

blockquote p::before {
  content: "“";
  margin-right: 0.1em;
}

blockquote p::after {
  content: "”";
  margin-left: 0.1em;
}
blockquote  cite::before {
  content: "— ";
}

figcaption {
  display: flex;
  flex-direction: column;
  font-size: normal;
  margin-top: .25rem;
  text-align: left;
  color: var(--r-main-color);
}

figcaption cite::before {
  content: "— ";
}
figcaption cite {
  margin-top: .5rem;
  font-style: normal;
  font-weight: 200;
  color: var(--r-main-color);
}

.content-button {
    min-width: 3rem;
    margin: 0 0 3rem 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #009da3;
    color: #fff!important;
    padding: 1.25rem 2rem;
    border-radius: .25rem;
}

.content-button:hover {
    background-color: #000;
}

.text-overlay {
  background: #191c1bcc; /* Darkened background with 80% opacity */
  color: var(--r-main-color); /* Ensures white text for contrast */
  padding: 4rem!important;
  margin: 2rem;
  border-radius: .25rem; /* Softens edges */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 4rem;
  height: calc(100vh - 2rem);
  background-color: #0a0b0c;
  border-radius: .25rem;
  z-index: 999  ;
  margin: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  
}

.sidebar .nav-box {
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: .25rem;
}

.button {
  min-width: 3rem;
  height: 3rem;
  margin-top: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: #fff0f3;
  color: #231918;
  padding: .25rem 1rem;
  border-radius: .25rem;
}

.sidebar .nav-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  margin-top: .75rem;
}

.sidebar .nav-box:hover {
  background-color: #fff0f3;
  color: #000;
}

.sidebar .home-slide {
  rotate: 90deg;
}
.sidebar .logo {
  width: 2.5rem;
  height: 2.5rem;
  filter: brightness(0) invert(1); /* Ensures white logo visibility */
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}



.sidebar nav ul li a {
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.sidebar a:-webkit-any-link {
    color: rgb(156,163,175,1)
}

.sidebar a:visited {
  color: rgb(156,163,175,1)!important;
  text-decoration-color: rgb(156,163,175,1);
}

.reveal-controls {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: .75rem;
}

.reveal-controls .nav-box {
  color: rgb(156,163,175,1)
}

.main-content {
  padding-left: 4rem;
}

/* Responsive: Collapse sidebar on small screens */
@media (max-width: 768px) {
  .sidebar {
    width: calc(100% - 2rem);
    height: 4rem;;
    top: auto;
    bottom: 0;
    flex-direction: row;
  }
  .sidebar .nav-box {

  margin-top: 0;
  }
  .sidebar .nav-logo {
    margin-top: 0;
    margin-left: .75rem;
  }

  .sidebar nav ul li {
    margin: 0.5rem 0;
  }

  .sidebar nav ul li a {
    font-size: 0.8rem;
  }

  .reveal-controls {
    flex-direction: row;
    margin-bottom: 0;
    margin-right: .75rem;
  }

  .main-content {
    margin-bottom: 4rem;
    padding-left: 0;
  }
}

/* REVEAL-UNDERNEATH TRANSITION
 * New transition where current slide slides up
 * while the new slide is already positioned underneath
 */
 
/* Stack transforms */
.reveal .slides section[data-transition=reveal-underneath].stack,
.reveal.reveal-underneath .slides section.stack {
  transform-style: preserve-3d;
}

/* Past slides (vertical) - move upward */
.reveal .slides>section>section[data-transition=reveal-underneath].past,
.reveal .slides>section>section[data-transition~=reveal-underneath-out].past,
.reveal.reveal-underneath .slides>section>section:not([data-transition]).past {
  transform: translate3d(0, -200%, 0);
  z-index: 20 !important; /* Ensure the leaving slide is above the incoming slide */
  opacity: 1!important;
  transition: transform 1s !important;
}

/* Future slides (vertical) - stay in place */
.reveal .slides>section>section[data-transition=reveal-underneath].future,
.reveal .slides>section>section[data-transition~=reveal-underneath-in].future,
.reveal.reveal-underneath .slides>section>section:not([data-transition]).future {
  transform: translate3d(0, 0, 0); /* Already in position, no movement needed */
  z-index: 1; /* Lower z-index so it stays behind the current slide */
  transition: opacity 0.25s !important;
}

/* Past slides (horizontal) - move upward */
.reveal .slides>section[data-transition=reveal-underneath].past,
.reveal .slides>section[data-transition~=reveal-underneath-out].past,
.reveal.reveal-underneath .slides>section:not([data-transition]).past {
  transform: translate3d(0, -200%, 0); /* Move up instead of left */
  z-index: 20;
  transition: transform 1s !important;
}

/* Future slides (horizontal) - stay in place */
.reveal .slides>section[data-transition=reveal-underneath].future,
.reveal .slides>section[data-transition~=reveal-underneath-in].future,
.reveal.reveal-underneath .slides>section:not([data-transition]).future {
  transform: translate3d(0, 0, 0);
  z-index: 1;
  transition: transform 1s !important;
}