@font-face {
	font-family: 'VCR';
	src: url('../_fonts/VCR_OSD_MONO_1.001.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}


.ui-root {
  font-family: 'VCR';
  position: fixed;
  inset: 0;

  z-index: 9000;
}
/* === Animated help video instead of ? === */
.helpaccess {
  font-family: 'VCR';
  position: fixed;
  top: 0;
  right: 0;
  width: 100px;          /* adjust to your video size */
  height: 100px;
  overflow: hidden;
  z-index: 10000;

  cursor: pointer;
  transition: transform 0.6s ease;
  transform: translateX(50%); /* half-hidden to the right */
}

.helpaccess:hover {
  transform: translateX(0); /* fully visible when hovered */
}

.helpaccess video {
  width: 100%;
  height: 100%;

  object-fit: cover;
  pointer-events: none; /* so only container handles hover */
}

/* optional soft shadow to make it more visible */
.helpaccess::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: -6px 0 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
/* === Collapsible Header with "MENU" tab === */
.top-header {
font-family: 'VCR';
  position: fixed;
  top: 0;
 height: 49px;
  width: 100%;
  max-width: 100vw;                 /* expanded width */
  background: white;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  transform: translateX(calc(95% - 28px)); /* only the MENU tab peeks out */
  z-index: 10002;
  border-left: 1px solid rgba(0,0,0,0.2);
cursor: default;
  
}

a:top-header{
    cursor: pointer;
}
.top-header span {
  font-size: 1.1em; /* Adjust the font size as needed */
  text-align: left;
    align-content: left;
    align-items: left;
    cursor: default;
}
/* When expanded */
.top-header.expanded {
  transform: translateX(0);
  width: 100vw;    
  cursor: default;
}

/* Vertical MENU tab */
.menu-tab {
font-family: 'VCR';
  writing-mode: horizontal-lr;
  text-orientation: mixed;
  background: black;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  height: inherit;
 width:49px;
  position: relative;
  display: flex;
  transform: rotate(-90deg) ;
  user-select: none;
}

/* Menu content */
.menu-content {
  font-family: 'VCR';
  flex: 1;
    font-size: 0.8rem;
  padding-left: 20px;
  white-space: nowrap;
  overflow: hidden;
  cursor: default;
}

.menu-content a {
  color: black;
  text-decoration: none;
  margin: 0 4px;
  cursor: pointer;
}
}
.menu-content a:hover {ee
  text-decoration: underline;
  cursor: pointer;
}

.sawtooth-underline {
  font-family: 'VCR';
  display: inline-block;
  border-bottom: 4px solid;
  border-image: 
    repeating-linear-gradient(
      45deg,      /* angle of zigzag */
      black 0 2px,
      transparent 2px 4px) 1;
}
.letter {
	position: relative;
	cursor: pointer;
	transition: opacity 0.3s ease;
	width: 1ch;
	text-align: center;
}
/* Existing overlay frame, unchanged except small improvement */
.overlay-frame {
   font-family: 'VCR';
    cursor:default;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 580px;
    height: 58vh;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 0);
    border: 2px solid rgb(0, 0, 0);
    display: none;
    z-index: 10001;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    font-size: 0.95em;
    backdrop-filter: blur(6px); /* <-- adds internal blur if you like glassy look */
}

/* Optional: subtle fade-in for overlay */
.overlay-frame.show {
    display: block;
    animation: fadeIn 0.25s ease forwards;
}
.overlay-content {
font-family: 'VCR'
	cursor: default;
    text-align: center;
    font-size: 0.95em;
    z-index: 999998;
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: default;
    font-size: 1.0em;
    color: rgb(255, 255, 0);
    z-index: 999999;
}

/* Blur everything except overlay and top-header */
body.blurred :not(.overlay-frame)not(.ui-root):not(.overlay-content):not(.top-header) {
  filter: blur(8px);
  transition: filter 0.3s ease;
  pointer-events: none;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.98); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
#htext-container{
	color: rgb(255, 255, 0);
	pointer-events: auto;
}

.helpaccess {
  position: fixed;
  right: 20px;
  top: 20px;
  font-size: 24px;
  cursor: pointer;
  text-align: right;
  z-index: 9500;          /* sits above header */
  display: flex;
  justify-content: flex-end;
  margin-right: 30px;
}

.art-title {
  position: fixed;
  top: 20px;
  right: 80px;  
  font-family: 'VCR', monospace;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: rgba(229,194,39,1.00); /* warm yellowish */
  cursor: pointer;
  transition: opacity 0.25s ease;
  z-index: 10500;          /* above question mark and header */
  display: none;
}

/* Tooltip */
.art-tooltip {

  position: fixed;
  top: 80px;              /* ~60px below title */
  right: 80px;
  width: 540px;
  height:auto;
  background: rgba(255, 255, 255, 0.79);
  border: 1px solid rgba(255, 255, 150, 0.79);
  border-radius: 2px;
  padding: 14px;
  font-size: 0.97rem;
  line-height: 1.4;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  opacity: 0;
    color:black;
  pointer-events: none;      /* default: let clicks pass through */
  transition: opacity 0.25s ease;
  z-index: 10000;          /* topmost, above header/title */
}

.art-tooltip.visible {
  opacity: 1;
  pointer-events: auto;      /* only block when visible */
}