* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  overflow: auto;
  height: 100vh;
}
body {
  font-family: 'Roboto', sans-serif;
  font: normal 87.5%/1.4;

  background-color: #000;
  color: white;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

html .slides,
body .slides,
html > .dg,
body > .dg {
  display: none;
}
.dynamic-content {
  position: fixed;
  padding-top: 20px;
  top: 56px; /* Pin to 80px from top */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Prevent content from centering vertically */
  width: 100%;
  height: calc(100vh - 65px - 100px);
  max-height: calc(100vh - 80px); /* Prevent overflow beyond viewport height */
  overflow-y: auto; /* Enable vertical scrolling if content is too long */
  overflow-x: hidden;
}
.horizontal-stack {
  width: 100%; /* Max 90% of screen width */
  height: 100%;
  max-width: 800px; /* Falls back to 800px on larger screens */
  display: flex;
  gap: 5px; /* Adjust spacing between icons */
  flex-direction: column;  
}
.context-container {
  line-height: 1.8;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.5);
  padding: 0px 30px 40px 15px;
}
.context-container a {
  color: #76cdff;
  font-weight: bold;
  text-decoration:none;
}
.context-container a:visited {
  color: #76cdff;
  text-decoration:none;
}
.context-container a:hover {
  color: #00a2ff;
}
.context-container h2 {
    font-size:large;
    font-weight: bold;
    color:#76cdff;
    padding-bottom: 5px;
 }
.context-container p {
  padding-bottom: 20px;
}
.context-container p, .context-container li {
  font-weight: normal;
  color:#ffffff;
  text-align: justify;
}
.context-container ul {
  padding-left: 30px;
  padding-top: 5px;
}
.context-container table {
  margin-top: 10px;
  vertical-align: top;
  text-align: left;
}
.context-container thead {
  font-weight: normal;
}
.context-container th {
  font-weight: normal;
}
.context-container tbody {
  font-size: small;
}
.context-container .spacer {
  height: 20px; /* Adjust padding as needed */
  background-color: transparent; 
  border-bottom: 2px solid #ffffff; /* Adjust thickness and color */
}
.context-container .termhead {
  min-width: 60px;
  vertical-align: bottom;
  text-align: center;
  line-height: 1;
  padding-bottom: 10px;
  transform: rotate(-45deg);
  font-size: smaller;
}
.context-container tbody tr {
  border-bottom: 1px solid #ffffff6b; /* Adjust thickness and color */
}
.context-container tbody td {
  padding: 5px;
  margin: 5px;
}
.context-container .term {
  vertical-align: top;
  text-align: center;
}
.context-header {
  width: 100%;
  margin: 10px;
  font-size: x-large;
  display: flex;
  justify-content: left; /* Horizontally center content */
  align-items: center;     /* Vertically center content (optional) */
  gap: 10px;               /* Optional spacing between image and text */
}
.context-header h1 {
    font-size: x-large;
    font-weight:700;
    color:#d3d3d3;
}
.context-header img {
  padding-left: 10px;
  padding-right: 15px;
}

.frontpage-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%; /* Takes parent's height */
  text-align: center;
  width: 100%;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 15px;
}
/* Default state */
img.brighten {
  transition: filter 0.3s ease; /* Smooth transition */
}

/* Hover state */
img.brighten:hover {
  filter: brightness(200%); /* Adjust brightness (100% = normal, 120% = brighter) */
}
.bridging_realities {
    font-size: 1em;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}
/* Center image with Flexbox */
.responsive-image {
    max-width: 80%;
    max-height: 100%;
    width: auto;
    height: auto;
}
.background {
  background-image: url('bg.png');
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background-size: cover;       /* Ensures full coverage without distortion */
  background-position: center;  /* Centers the image for best visual fit */
}
.bg-img {
  width: auto;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  object-fit: cover;
}

/* Container for the trigger and menu */
.menu-container {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #333;
  align-items: center;     /* Vertical center */
}
.menu-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 1001;
}
.trigger {
  display: block;
  min-width: 100%;
  background-color: #000000;
  color: white;
  text-align: center;
  font-size: 24px;
  padding: 10px 0;
  height: 55px;
  cursor: pointer;
}

/* Hide menu by default */
.top-menu {
  display: flex;                    /* Always a flex container */
  justify-content: center;         /* Center items horizontally */
  align-items: center;             /* Center items vertically */
  position: fixed;
  top: -55px;
  left: 0;
  min-width: 100%;
  background-color: #253a41;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in;
  height: 55px;
}

/* Show menu on hover (desktop) */
.menu-container:hover .top-menu {
  max-height: 200px;
  opacity: 1;
  visibility: visible;
  top: 0;
  justify-content: center; /* Horizontal center */
  align-items: center;     /* Vertical center */
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Show menu when active (via JS) */
  .top-menu.active {
    max-height: 200px;
    opacity: 1;
    visibility: visible;
    top: 0;
  }
}

/* Menu items */
.top-menu ul {
  display: flex;
  flex-direction: row;          /* Makes items horizontal */
  gap: 1rem; /* Controls spacing between items */
  overflow-x: auto; /* Optional: allows horizontal scrolling if needed */
  list-style: none;
  padding: 0;
  margin: 0;
}
.top-menu li {
  flex-shrink: 0; /* Prevents items from shrinking */
  margin: 10px 15px;
}
.top-menu a {
  color: white;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  transition: color 0.2s ease;
}
.top-menu a:hover {
  color: #00ccff;
}
.error-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffe6e6;
    border: 1px solid #000000;
    color: #ff0000;
    padding: 20px 30px;
    border-radius: 8px;
    z-index: 9999;
    text-align: center;
    max-width: 90%;
    width: 400px;
    opacity: 1; /* Start fully visible */
    transition: opacity 0.5s ease; /* Smooth fade */
}

/* Chatbox container positioned at bottom-right */
.chat-wrapper {
  position: fixed;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75em;
}
@keyframes hoverUpDown {
      0%   { transform: translateY(0px); opacity: 0.5; }
      50%  { transform: translateY(-10px); opacity: 1; }
      100% { transform: translateY(0); opacity: 0.5; }
}
.chat-button {
  animation: hoverUpDown 3s infinite ease-in-out;
  display: inline-block; /* Required for transform to work */
  border: none;
  cursor: pointer;
  z-index: 1000;
}
.chat-container {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 80px;
  align-items: center;
  width: 400px;
  max-width: 90%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  z-index: 900;
  padding: 5px;

  transition: opacity 0.3s ease, visibility 0.3s ease;
  /* opacity: 0;
  visibility: hidden; */
}


.chat-container.active {
  display: block;
}
/*
.chat-button:hover + .chat-container,
.chat-container:hover {
  opacity: 1;
  visibility: visible;
}*/
/* Show chatbox when parent is hovered 
.chat-wrapper:hover .chat-container {
  display: block;
} */

/* Chat header */
.chat-header {
  padding-bottom: 10px;
  /* background: rgba(0, 0, 0, 0.5); */
  color:#f0f0f0;
  font-weight: bold;
  text-align: center;
}

/* Chat messages */
.chat-messages {
  max-height: 400px;
  overflow-y: auto;
  padding: 0px 10px 10px 10px;
  color:#f0f0f0;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #ffffff #000000; /* Firefox */
}
/* Webkit browsers */
.chat-messages::-webkit-scrollbar {
  width: 12px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #020202;
  border-radius: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}

/* Message bubble */
.message {
  margin: 5px 0;
  padding: 5px;
  border-radius: 5px;
  color:#f0f0f0;
  width: fit-content;
  max-width: 90%;
}

.user {
  background: #555555;
  color: white;
  margin-left: auto;
}

.ai {
  background: #000;
  color: #ffffff;
  margin-right: auto;
}

/* Chat input form */
.chat-form {
  display: flex;
  border-top: none;
}

.chat-form input {
  flex: 1;
  padding: 5px;
  border: none;
  outline: none;
  background: #383838;
  color: white;
}
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding-left: 5px;
}
.chat-form button {
  cursor: pointer;
  text-decoration: none;
  color: #ffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #6d6d6d;
  border: 1px black;
  transition: all 0.45s;
}
.chat-form button:hover {
  transform: rotate(360deg);
  transform-origin: center center;
  background-color: #ffff;
  color: #2d2e32;
}

.chat-form button:hover .btn-svg {
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(305deg)
    brightness(103%) contrast(103%);
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .chat-form button:hover {
  background: #45a049;
} */

/*
 +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+
 |B|u|b|b|l|e| |A|n|i|m|a|t|i|o|n|
 +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+
*/
#bubble-animation {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 10px 0;
  height: 32px;
}

.bubble {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: float 1.2s infinite ease-in-out;
}

.bubble:nth-child(1) { animation-delay: 0s; }
.bubble:nth-child(2) { animation-delay: 0.2s; }
.bubble:nth-child(3) { animation-delay: 0.4s; }
.bubble:nth-child(4) { animation-delay: 0.6s; }

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-5px) scale(1.2);
    opacity: 0.7;
  }
}

.hidden {
  display: none !important;
}
.close-button {
    position: absolute;
    top: 2px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #aaaaaa;
    font-weight: bold;
}

.close-button:hover {
    color: #ffffff;
}
/* 
 +-+-+-+-+-+-+ +-+-+-+-+-+-+
 |C|o|o|k|i|e| |B|a|n|n|e|r|
 +-+-+-+-+-+-+ +-+-+-+-+-+-+
*/
#cookie-container {
    display: none;
    position: fixed;
    bottom: 1%;
    right: 1%;
    width: 600px;
    max-width: 80%;
    background: rgb(206, 206, 206,0.8);
    color: #000000;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    z-index: 9999;
}
.banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: small;
}
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.checkbox-group input[type="checkbox"] {
    transform: scale(1.2);
}
.banner-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
.banner-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.accept-btn {
    background: #28a745;
    color: white;
}
.reject-btn {
    background: #6c757d;
    color: white;
}
.settings-btn {
    background: #6c757d;
    color: white;
}

@media (min-width: 1000px) {
  body {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGkAAAAgCAMAAAAmC6asAAAAMFBMVEX19vf19vft7u/19vfp6uv19vfx8vP19vf19vf19vf19vfm5+j19vcAAAD19vfl5udu+MchAAAADnRSTlOIVcIz10StZneZEewiAMEzGswAAAF/SURBVHja7ZXZbsQwCEXjneXa/P/fFntm0uRpVGkaqVX8YAW4cMCxkq1ftW7STbpJP1sJb0lFPkJiekuq4TMkfkti+gxpe0uivRmB9LQOlHraNixnYErPONAfcYZntYfv9aDtJTmUO5OCeukGR5paqZtbGaSVzYWIlZ9DI6vVpC6shJw5TzdlZk47qZpldAkteBVToxNJrLGqoil6MPE9A1bSNorUXPYWvbLUjbg37lwRNPYW6x6eJK4ilB2hVmChJw2nWx4He3Map1exMVFvQyMVN78rlexbY7Gk0tWUm7gsHUnikQ6dwzLRLM/tRKIlGMMFoijmpthqBocLFTLWO41GnhrFXZIGTiTz5pIyA9G4uqSeSV3W4bSsqvycg0x9RTpcKHaHHybNOZBXfPa41jNjLCeqjRopzgI4kXYcsDqVZWJaZwVWHpYBTOuoACCvEpjTC3DFd6/oVV9YmPw+CWsb+H1SxVWkkgkoV5B6ijasXnMjBPIf/u436e+TvgDCaqPX6lO5yQAAAABJRU5ErkJggg==');
    background-repeat: no-repeat;
  }
  body > .dg {
    display: block;
  }
}
