body {
  margin: 0;
  background-color: rgb(4, 4, 4);
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 400; /* Black */
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --primary-red: rgb(157, 21, 21);
  --secondary-color: rgb(219, 204, 204);
  --dark-color: rgb(4, 4, 4);
  --font-sz-big: 4rem;
  --font-sz-headline: 2rem;
  --font-sz-micro: 0.9rem;
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

::selection {
  background-color: var(--secondary-color);
  color: var(--primary-red);
}

::-moz-selection {
  background-color: var(--secondary-color);
  color: var(--primary-red);
}
#exit-button,
.exit-slide-in-button {
  cursor: pointer;
}
/* Define the animation */
@keyframes blink-to-red {
  0% {
    color: var(--secondary-color); /* Start with the current color */
  }
  50% {
    color: var(--primary-red); /* Switch to red */
  }
  100% {
    color: var(--secondary-color); /* Revert to the original color */
  }
}

/* Apply the animation to the .current-show-blink class */
.current-show-blink {
  animation: blink-to-red 1s infinite; /* 1-second cycle, loops infinitely */
}

#landingpage-video {
  z-index: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* Hidden by default */
  transition: none !important; /* Ensure no transition is applied */
}

.logo {
  cursor: crosshair;
  color: var(--secondary-color);
  font-size: var(--font-sz-big);
  letter-spacing: -2px;
  text-align: center;
  padding: 0 1rem;
  white-space: normal;
  word-wrap: break-word;
  display: inline-block;
  max-width: 100%;
  font-weight: 900; /* Black */
}

.footer,
.exit-header,
.home-header {
  width: 100vw;
  position: fixed;
  display: flex;
  z-index: 20;
  place-content: center;
  padding: 1rem;
}

.footer {
  background-color: var(--dark-color);
}

.exit-header {
  transition: top 0.5s ease; /* Smooth transition for slide-in effect */
  top: -100px;
}

.exit-header.active {
  top: 0; /* Slide into the viewport when 'active' class is added */
}

.home-header {
  z-index: 7;
  top: -100px;
  animation: slideDown 0.5s ease forwards;

}

@keyframes slideDown {
  to {
    top: 0;
  }
}
#home-button{
  background: rgba(255, 255, 255, 0);
backdrop-filter: blur(11.2px);
-webkit-backdrop-filter: blur(11.2px);
text-decoration: none;
font-size: var(--font-sz-micro);
}
.red-highlight {
  color: var(--primary-red);
}
.footer {
  bottom: 0;
}
.footer-flex {
  display: flex;
  align-content: center;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
}

.footer-flex li,
.exit-header {
  font-size: var(--font-sz-micro);
  list-style: none;
}
.footer-flex li {
  color: var(--secondary-color);
}
.exit-header {
  color: var(--secondary-color);
}
.container-main {
  width: 100vw;
  display: grid;
  place-items: center;
  height: 100vh;
  position: fixed;
  overflow-x: hidden;
  color: var(--secondary-color);
  z-index: 5;
  align-content: center;
}
.container-main-link {
  color: var(--secondary-color);
}

.landingpage-text {
  padding-bottom: 2rem;
  width: 60vw;
  font-size: var(--font-sz-micro);
  text-align: center;
}

a {
  color: var(--secondary-color);
}
.headlines,
.headlines-dark {
  font-size: var(--font-sz-headline);
}

.info-text,
.info-text-dark {
  font-size: var(--font-sz-micro);
  width: 90%;
}

.headlines-dark,
.info-text-dark {
  color: var(--secondary-color);
}
/* Split overlay container */
.split-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex; /* Arrange the two splits side-by-side */
  height: 100vh; /* Full height of the viewport */
  width: 100%; /* Full width of the viewport */
  /* From https://css.glass */
}


#bleached-overlay {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.1px);
  -webkit-backdrop-filter: blur(7.1px);
}
#info-overlay {
  background: rgba(4, 4, 4, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.1px);
  -webkit-backdrop-filter: blur(7.1px);
}

/* Split sections */
.split {
  width: 50%; /* Each section takes half the width */
  height: 100%; /* Full height of the container */
  overflow-y: auto; /* Enable independent vertical scrolling */
  box-sizing: border-box; /* Include padding/border in size calculation */
  padding: 2rem 2rem 4rem 2rem;
}

/* Left section styles */
.info-overlay-content {
  padding: 4rem 2rem;
  color: var(--secondary-color);
  overflow-y: scroll; /* Ensure vertical scroll is visible */
  font-size: var(--font-sz-big);
}

/* Right section styles */
.split.right {
}

/* Content within each section */
.content {
}
img {
  width: 100%;
  margin: 1rem 0 0 0;
}
/* Initial hidden state for the overlay */
#bleached-overlay {
  opacity: 1;
  visibility: visible;
  z-index: 6;
}

/* Active state for the overlay */
#bleached-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Initial hidden state for all overlays */
.split-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease; /* Smooth fade effect */
}

/* Active state for overlays */
.split-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* For Webkit-based browsers like Chrome, Safari */
.split.left::-webkit-scrollbar {
  display: none; /* Hide the scrollbar */
}
.split.right::-webkit-scrollbar {
  display: none; /* Hide the scrollbar */
}
#screening-overlay,
#exhibitions-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: block;
  position: absolute;
  width: 100vw;
  min-height: 100vh;
  top: 0;
  left: 0;
  z-index: 10;
  background: rgba(4, 4, 4, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.1px);
  -webkit-backdrop-filter: blur(7.1px);
  padding: 4rem 2rem;
}
#productionandwar-wrapper {
  display: block;
  position: fixed;
  width: 100vw;
  min-height: 100vh;
  top: 0;
  left: 0;
  z-index: 6;
  background: rgba(4, 4, 4, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.1px);
  -webkit-backdrop-filter: blur(7.1px);
}
.image-center{
  width: 100%;
  display: flex;
  place-content: center;
  padding: 1rem;
  flex-direction: column;
  align-content: center;
  align-items: center;
}
.image-tiny{
  width: 3rem;
}
.big-poster{
  width: 70%;
}
.title-grid{
  padding: 0.5rem 0;
  width: 100%;
  display: grid;
  place-content: center;
}
.text-grid{
  column-count: 3;
  width: 100%;
  column-gap: 2rem; /* Optional: spacing between columns */

}
/* Make content scrollable */
.productionandwar-content {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  max-height: 100%;
  overflow-y: auto;
  padding: 4rem 2rem;

}
.center-text{
  text-align: center;
}

#exhibitions-overlay{
  position: fixed;
}
#screening-overlay.active,
#exhibitions-overlay.active {
  opacity: 1;
  visibility: visible;
}
.screeening-title {
  grid-column: span 2;
}
.screening-subtitle {
  font-size: var(--font-sz-micro);
  color: var(--secondary-color);
}
.screening-accordion-content {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  cursor: pointer;
}

.accordion-headline-wrapper {
  padding: 0.5rem 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  cursor: pointer;
  border-top: solid var(--secondary-color) 2px;
  border-bottom: solid var(--secondary-color) 2px;
  gap: 0.7rem;

}
.accordion-headline-wrapper-top-row{
    border-bottom: none !important;
}

.exhibitions-headline-wrapper {
  padding: 0.5rem 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  cursor: pointer;
  border-bottom: solid var(--secondary-color) 2px;
}
.exhibition-title {
  text-align: center;
}
.exhibition-link {
  text-decoration: none;
}
.exhibitions-headline-wrapper:hover,
.accordion-headline-wrapper:hover {
  background-color: var(--primary-red);
}
.border-top {
  border-top: solid var(--secondary-color) 2px;
}
.accordion-info {
  margin: 1rem 0;
}
.screening-accordion-content-wrapper {
  display: none;
}

.screening-time {
  text-align: right;
}
.screening-content {
  cursor: pointer;
}
.headlines-dark.active {
  background-color: var(--primary-red);
}
.accordion-headline-wrapper.active {
  background-color: var(--primary-red);
}

.screening-content {
  grid-column: span 2;
}
/* BLEACHED BODY SPECIFIC STYLING */
.bleached-body .split-overlay,
.bleached-body #screening-overlay,
.bleached-body #exhibitions-overlay,
.bleached-body #info-overlay {
    background: rgba(200, 200, 200, 0);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

}

@media only screen and (max-width: 850px) {
  .info-text {
    margin-top: 3rem;
    padding: 1rem;
    width: 100%;
  }
  .landingpage-text {
    padding-bottom: 2rem;
    padding: 1rem;
    width: 100%;
    text-align: center;
  }

  img {
    width: 100%;
  }

  .container-main {
    width: 100svw;
    display: grid;
    place-items: center;
    height: 100svh;
    position: fixed;
    overflow-x: hidden;
  }
  .logo {
    font-size: 2.8rem;
  }
  .info-overlay-content {
    font-size: var(--font-sz-headline);
    padding: 4rem 0.8rem;
  }
  .split-overlay {
    position: absolute; /* Absolute for mobile */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto; /* Allow scrolling for the entire overlay */
    display: flex;
    flex-direction: column; /* Stacking the overlays vertically */
    height: auto; /* Let height adjust naturally */
  }

  .split-overlay.bleached,
  .split-overlay.info {
    flex: none; /* Prevent flex-grow/shrink behavior */
    height: auto; /* Use natural content height */
    overflow-y: auto; /* Independent scrolling */
  }

  .split {
    flex: none; /* Sections no longer share width */
    width: 100%; /* Full width of the screen */
    height: auto; /* Let the height adjust automatically */
    overflow-y: visible; /* Remove independent scrolling */
    padding: 0 0.8rem;
  }
  #left-section {
    margin-top: 4rem;
  }
  #right-section {
    margin-bottom: 4rem;
  }

  #bleached-overlay,
  #info-overlay {
    height: auto; /* For individual overlays */
  }

  .info-text-dark {
    width: 100%;
  }
  .screening-accordion-content {
    display: block;
  }
  .mobile-headline {
    font-size: var(--font-sz-micro);
  }
  .image-tiny{
    width: 3rem;
  }
  .big-poster{
    width: 100%;
  }
  .title-grid{
    padding: 0.5rem 0;
    width: 100%;
    display: grid;
    place-content: center;
  }
  .text-grid{
    column-count: 1;
    width: 100%;
    column-gap: 2rem; /* Optional: spacing between columns */
  
  }
  #screening-overlay, #exhibitions-overlay {
    padding: 4rem 1rem;
  }
  .productionandwar-content{
    padding: 4rem 1rem;
  }
}
