@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@font-face {
    font-family: "Format 1452";
    src: url("/assets/fonts/Format_1452.woff2") format("woff2-variations"),
         url("/assets/fonts/Format_1452.woff") format("woff-variations");
}

@font-face {
    font-family: "Format 1452";
    font-weight: normal;
    src: url("/assets/fonts/Format_1452.woff2") format("woff2"),
         url("/assets/fonts/Format_1452.woff") format("woff");
}


html {
  overscroll-behavior: none;
  -webkit-overscroll-behavior: none;
  -ms-overscroll-behavior: none;
  overflow-x: hidden;  /* Prevent horizontal scrolling at root level */
  position: relative;  /* Create a new stacking context */
  width: 100%;        /* Ensure full width */
}

body {
  overscroll-behavior-x: none;
  -webkit-overscroll-behavior-x: none;
  -ms-overscroll-behavior-x: none;
  position: relative;
  width: 100%;
  cursor: none; /* Hide the default cursor */
  background-color: white;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

body {
    min-height: 100vh;
}

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

audio {
  width: 100%;
  background-color: white;
  color: white;
}

audio::-webkit-media-controls-panel {
  background-color: white;
}

body {
    overflow-x: hidden;
    font-family: "Roboto", sans-serif;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-size: 100%
}

h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

h1,
h2,
h3,
h4,
blockquote {
    text-wrap: balance;
}

h1,
h2,
h3 {
    color: black;
}

section,
figure {
    margin: 0 auto;
}

footer > * {
    margin: 0 1rem;
}

h1,
h2 {
    font-family: "Roboto", sans-serif;
  }

p {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 1.09rem;
    font-style: normal;
    line-height: 1.5;
}

a {
    text-decoration: none;
    
}

a:hover,
button:hover,
#index-link:hover {
  cursor: none;
}

h2 {
    text-transform: uppercase;
    font-size: 2.35rem;
    font-variation-settings: 'ital'0, 'opsz'6, 'wght'600;
}

h3 {
    text-transform: uppercase; 
    letter-spacing: 0.075em;
    font-variation-settings: 'ital'0, 'opsz'6, 'wght'600;
}

header,
nav,
section,
figure,
footer > * {
    font-family: "Roboto", sans-serif;
    font-variation-settings: 'ital'0, 'opsz'6, 'wght'400;
}

section,
nav,
figure,
footer {
    font-size: 1rem;
    line-height: 1.5;
}

pre {
    outline: 2px solid black; 
}

nav {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .left {
    flex: 1;
}

nav .right {
    display: flex;
    gap: 20px;
}

nav .index-link {
  cursor: none;
}

nav p {
    display: inline;
    text-transform: uppercase;
}

header {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: sticky;
    bottom: 0;
    z-index: 10;
    background-color: white;
}

footer p {
    display: inline;
    text-transform: uppercase;
}

img {
    object-fit: cover;
    object-position: center;
    overflow: auto;
}

section *,
figure > *,
footer,
footer > * {
    margin-top: 1rem;
}

footer {
    padding: 0 1rem 1rem 1rem;
}

figure,
.horizontal-scroll {
    padding: 1rem 0;
}

.horizontal-scroll {
    grid-column: 1/4;
    margin: 2rem;
    display: grid;
    gap: 1rem;
    grid-auto-flow: column;
    grid-auto-columns: clamp(27%, 40vh, 75%);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding-bottom: 1rem;
}

.horizontal-scroll div {
    scroll-snap-align: start;
}

.horizontal-scroll img {
    object-fit: cover;
    justify-content: center;
}

.horizontal-scroll {
    margin-left: 1rem;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.155em;
}

a:not([class]):hover {
    text-decoration: none;
}

.row {
    align-items: start;
    padding: 2em 0;
  }
  
  .row,
  .row > ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    gap: 2rem;
  }
  
  .row__no-gap {
    gap: 0;
  }

.column,
.row > ul > li {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.column__half {
  display: flex;
  flex-direction: column;
  flex: 0 1 50%;
}

.column__double {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 2;
}

.type__content {
  margin-left: 2rem;
  margin-right: 2rem;
  margin-bottom: 4rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: none;
}

.overlay-content {
    position: relative;
    margin: 0 auto;
    padding: 6.2rem 2rem 2rem 2rem;
    width: 100%;
}

.thumbnails img {
    width: 100px;
}

.sketch__full {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    overflow: auto;
    padding: 0;
  }
  
  .sketch__full iframe {
    display: flex;
    width: 100%;
    height: 100%;
  }

  .rightcd {
    margin: 0 0 0 -1em;
  }

.weekly ul {
    margin-bottom: var(--spacing-l);
    overflow-x: hidden;
  }
  
  .weekly p {
    line-height: 120%;
  }
  
  .weekly h2 {
    font-weight: 500;
  }
  
  .weekly ul li {
    border-bottom: 1px solid black;
    transition: padding-right 0.3s;
    display: flex;
    align-items: center;
    position: relative;
    transition: transform 0.3s;
    padding: 10px;
  }
  
  .weekly ul a {
    display: flex;
    align-items: center;
    color: black;
  }
  
  .weekly ul li:after {
    content: '';
    position: absolute;
    right: var(--spacing-s);
    width: 3rem;
    height: 3rem;
    background-image: url('/assets/images/arrow.png');
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s;
  }
  
  .weekly ul li:hover:after {
    transform: translateX(-630%);
  }
  
  .weekly ul li:hover {
    cursor: none;
  }
  
  .weekly ul li:first-child {
    border-top: 4px solid black;
  }
  
  .weekly ul li h1 {
    text-transform: uppercase;
    font-size: 3.7rem;
    font-weight: 700;
    display: block;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 1;
  }
  
  .weekly ul li:hover h1 {
    opacity: 0;
    transform: translateX(-125%);
  }
  
  .weekly ul li .img-container_thumb {
    opacity: 1;
    position: absolute;
    right: 0.1rem;
    width: 18rem;
    transform: translateX(-21%);
    transition: opacity 0.3s, transform 0.3s;
  }
  
  .weekly ul li:hover .img-container_thumb {
    opacity: 1;
    transform: translateX(-126%);
  }
  
  .weekly ul li:hover .img-container_on {
    opacity: 1;
    transform: translateX(0%);
  }
  
  .text-container {
    margin-left: 20px;
    transition: opacity 0.3s, transform 0.3s;
  }
  
  .weekly ul li:hover .text-container {
    opacity: 0;
    transform: translateX(-180%);
  }
  
  .weekly ul li .text-container h2 {
    font-weight: 600;
  }
  
  .weekly ul li .text-container p {
    font-weight: 400;
    font-size: medium;
  }

  .weekly h1 {
    font-size: 10rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: -5px;
    line-height: 0.84;
  }
  
  .weekly h2 {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    line-height: 1.2;
  }
  
  .weekly h3 {
    font-size: 1.2rem;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    line-height: 1.2;
  }

  .items_list {
margin: 0 2rem;
  }
  
  .img_ {
    width: auto;
    margin: 4rem 2rem;
  }



.text-container h2 {
    font-size: 1.9rem;
    line-height: 1;
}


.canvas {
    position: relative;
    filter: contrast(140%)
    brightness(97%);
    overflow: hidden;
    border: 1px solid gray;
    border-radius: 1rem;
  }
  
  .canvas::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    bottom: -50%;
    right: -50%;
    background: radial-gradient(circle at center, #333, #fff);
    background-size: 0.01em 0.1em;
    transform: rotate(20deg);
    z-index: 1;
    pointer-events: none;
  }
  
  .canvas img {
    width: 100%;
    height: auto;
    mix-blend-mode: hard-light;
    filter:
      grayscale(1)
      brightness(90%) 
      contrast(90%);
    position: relative;
    z-index: 2;
  }

  .canvas video {
    width: 100%;
    height: auto;
    mix-blend-mode: hard-light;
    filter:
      grayscale(1)
      brightness(90%) 
      contrast(100%);
    position: relative;
    z-index: 2;
  }



  .canvas:hover, .canvas:hover img, .canvas:hover video {
    filter: none; /* Remove filters to show the original image */
    mix-blend-mode: initial; /* Reset blend mode to default */
  }
  
  .canvas_3:hover, .canvas_3:hover img {
    filter: none; /* Remove filters to show the original image */
    mix-blend-mode: initial; /* Reset blend mode to default */
  }
  


  .canvas_2 img {
    width: 100%;
    height: auto;
    mix-blend-mode: hard-light;
    filter:
      grayscale(1) 
      brightness(100%) 
      contrast(60%) 
      blur(1px);
    position: relative;
    z-index: 2;
  }
  
  
  .canvas_4 {
    position: relative;
    overflow: hidden;
  }
  
  .canvas_4::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    bottom: -50%;
    right: -50%;
    z-index: 1;
    pointer-events: none;
  }
  
  .canvas_4 img {
    width: 100%;
    height: auto;
    filter:
      grayscale(1);
    position: relative;
    z-index: 2;
  }

  .canvas_3 {
      position: relative;
      filter: contrast(1000%)
      brightness(100%);
      overflow: hidden;
      border: 1px solid gray;
      border-radius: 1rem;
    }
    
    .canvas_3::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      bottom: -50%;
      right: -50%;
      background: radial-gradient(circle at center, #333, #fff);
      background-size: 0.01em 0.1em;
      transform: rotate(20deg);
      z-index: 1;
      pointer-events: none;
    }
    
    .canvas_3 img {
      width: 100%;
      height: auto;
      mix-blend-mode: hard-light;
      filter:
        grayscale(1)
        brightness(75%) 
        contrast(54%);
      position: relative;
      z-index: 2;
    }
  

  .canvas_2 {
    position: relative;
    filter: contrast(1000%)
    brightness(100%);
    overflow: hidden;
    border: 1px solid gray;
    border-radius: 1rem;
  }
  
  .canvas_2::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    bottom: -50%;
    right: -50%;
    background: radial-gradient(circle at center, #333, #fff);
    background-size: 0.01em 0.1em;
    transform: rotate(20deg);
    z-index: 1;
    pointer-events: none;
  }
  
  .canvas_2 img {
    width: 100%;
    height: auto;
    mix-blend-mode: hard-light;
    filter:
      grayscale(1) 
      brightness(90%) 
      contrast(45%);
    position: relative;
    z-index: 2;
  }

  .border {
    border: 1px solid gray;
    border-radius: 1rem;
  }

.img_ ul {
    list-style-type: none;
    padding-left: 0;
    font-weight: 300;
    font-size: 1.09rem;
    padding: 3em 0 0 0;
}

.img_ li {
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    padding: 12px 0;
}

.heading {
    padding: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
}

.sub-heading {
    font-weight: 500;
    font-size: 1.09rem;
    font-weight: 300;
    text-transform: uppercase;
}

.border_top {
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    margin: 3em 0;
    padding: 0;
}

  @media (orientation: portrait) {

.sketch__full {
    padding: 2rem;
  }
    .column__double {
      display: flex;
      flex: auto;
      width:100%;
      flex: 1;
    }

    .row {
        display: flex;
        flex: auto;
        flex-direction: column;
    }

    .rightcd {
      margin: 0em;
    }
  }

.column.sticky.weekly h1,
.column.sticky.weekly h3 {
    width: 100%;
    box-sizing: border-box;
        margin: 0;
    padding: 0 1.5rem;
    font-size: calc(10vw + 2em);
}

.column.sticky.weekly h3 {
  padding: 1rem 2rem 2rem 2rem;
    font-size: calc(0.5vw + 0.7em); /* Slightly smaller font size for h3 */
}

body {
    display: flex;
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

.index.collapsed {
    position: sticky;
    padding: 3.75em 2em 0 2em;
    width: 200px;
    height: 100vh; /* Set fixed height */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    transition: all 0.7s;
    flex-direction: column;
    align-items: flex-start;
    border-right: 2px solid rgba(0, 0, 0, 0.9);
    scrollbar-width: none;
}

.index.collapsed::-webkit-scrollbar {
    width: 6px;
}

.index.collapsed::-webkit-scrollbar-track {
    background: transparent;
}

.index.collapsed::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.index.collapsed::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.index:not(.collapsed) {
    flex-direction: column;
    justify-content: initial;
    align-items: initial;
    height: 100vh;
    padding: 6em 2em 2em 2em;
    position: relative;
    
}

.index:not(.collapsed) ul {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.index:not(.collapsed) li {
    position: absolute;
    transform: none;
    padding: 0;
    width: 300px;
}

.index:not(.collapsed) .index-item-1 {
    top: -10%;
    left: -10%;
}

.index:not(.collapsed) .index-item-2 {
    top: -10%;
    left: 30%;
}

.index:not(.collapsed) .index-item-3 {
    top: -10%;
    left: 60%;
}

.index:not(.collapsed) .index-item-4 {
    top: -10%;
    left: 0%;
}

.index:not(.collapsed) .index-item-5 {
    top: -10%;
    left: 20%;
}

.index:not(.collapsed) .index-item-6 {
    top: -10%;
    left: 40%;
}

.index:not(.collapsed) .index-item-7 {
    top: -10%;
    left: 60%;
}


/* Adjust mobile responsiveness */
@media (orientation: portrait) {
    .index:not(.collapsed) .index-item-1 { top: -15%; left: -20%; }
    .index:not(.collapsed) .index-item-2 { top: 10%; left: 20%; }
    .index:not(.collapsed) .index-item-3 { top: 35%; left: -20%; }
    .index:not(.collapsed) .index-item-4 { top: -35%; left: 20%; }
    .index:not(.collapsed) .index-item-5 { top: -10%; left: -20%; }
    .index:not(.collapsed) .index-item-6 { top: 0%; left: 20%; }
    .index:not(.collapsed) .index-item-7 { top: 10%; left: -10%; }
}

/* Adjust series titles for expanded view */
.index:not(.collapsed) .series-title,
.index:not(.collapsed) .series-title2 {
    display: none; /* Hide chapter titles in expanded view */
}

/* Maintain mobile responsiveness */
@media (orientation: portrait) {
    .index:not(.collapsed) {
        padding: 4em 1em 1em 1em;
    }

    .index:not(.collapsed) li {
        width: 230px; /* Smaller thumbnails on mobile */
    }
}

.index ul {
    display: flex;
    flex-direction: inherit;
    justify-content: center;
    align-items: center;
    padding: 0;
    list-style-type: none;
}

.index li {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.index.visible li {
    opacity: 1;
}

.index.collapsing li {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.index.collapsed li {
    opacity: 1;
    transition: opacity 0.6s ease 0.3s;
}

.containers.active ~ .index:not(.collapsed) li {
    opacity: 1;
}

.index li img {
    width: 100%;
    height: auto;
}

.index.collapsed li img {
    width: 100%;
}

.containers {
    position: relative;
    flex-grow: 1;
    display: none;
    align-items: stretch;
    transition: opacity 0.4s ease;
}

.container {
    position: absolute;
    width: 40px;
    height: 100%;
    background-color: white;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                width 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s ease;
    overflow-x: hidden;
    overflow-y: scroll;
    border-right: 1px solid rgba(0, 0, 0, 0.5);
}

.container::-webkit-scrollbar {
    display: none;
}

#container2 { 
  left: 0px;
  z-index: 7;
}
#container3 { 
  left: 40px;
  z-index: 6;
}
#container4 { 
  left: 80px;
  z-index: 5;
}

#container5 { 
  left: 120px;
  z-index: 4;
}
#container6 { 
  left: 160px;
  z-index: 3;
}
#container7 { 
  left: 200px;
  z-index: 2;
}


.container.expanded {
    width: calc(100% - 400px);
    left: 200px;
    z-index: 4;
}

.container.secondary-expanded {
    width: calc(100% - 400px);
    left: 200px;
    z-index: 0;
}

.containers.active {
    display: flex;
}

.index.collapsed .back-button {
  opacity: 1;
    display: block;
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    width: calc(100%);
}

.container {
    overflow-y: auto;
}

.container .row {
    width: 100%;
    margin: 0;
}

.toppadding {
  padding: 1.5em 0 0 0;
}

.container .column.weekly h1,
.container .column.weekly h3 {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    font-size: calc(10vw + 2em);
}

.container .column.weekly p {
    width: auto;
    max-width: 40rem;
}

.container.expanded .column.weekly h1 {
    font-size: calc(5vw + 1em);
}

.container.secondary-expanded .column.weekly h1 {
    font-size: calc(4vw + 1em);
}

/* Add inner container for content */
.container-content {
    position: relative;
    width: calc(100vw - 602.5px); /* Fixed width based on expanded state */
    height: 100%;
    padding: 40px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    transform: translateX(0); /* Initial position */
    background-color: white;
}

/* When container is not expanded, move content exactly 200px left */
.container:not(.expanded):not(.secondary-expanded) .container-content {
    transform: translateX(-100%);
    transition: transform 0.35s ease;
}

/* Remove any responsive or viewport-based styles */
.container .column.weekly h1,
.container .column.weekly h3,
.container h1 {
    font-size: 4rem;
    line-height: 0.9;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
}

/* Ensure columns maintain their proportions */
.column__double {
    flex: 2;
    width: auto;
}

.column {
    flex: 1;
    width: auto;
}

.container:not(.expanded) {
  display: block;
}

.re-button {
  display: none;
  position:fixed;
  top: 1em;
  left: 0.5em;
  margin: 10px;
  z-index: 10;
  font-weight: 300;
  font-size: 1.1rem;
  text-transform: uppercase;
  background: white;
  transition: all 0.3s ease;
  border: 1px solid black;
  padding: 10px;
  border-radius: 10px;
}


table {
  width: 100%;
  margin-bottom: 20px;
  background-color: #ffffff;
  border: 1px solid black;
  border-radius: 10px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 5px;
}

th, td {
  padding: 10px;
  text-align: left;
  border: 1px solid black;
  border-radius: 5px;
}

th {
  background-color: white;
  color: black;
}

tr:hover {
  background-color: #f1f1f1;
}

td:last-child {
  color: #555;
  font-style: italic;
}
  

.home-button {
  position: absolute;
  left: 1em;
  margin: 10px;
  z-index: 10;
  display: block;
  font-weight: 300;
  font-size: 1.1rem;
  text-transform: uppercase;
  background: none;
  transition: all 0.3s ease;
  cursor: none;
}

.home-button a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

/* Update the hover effect */
.home-button:hover, 
.home-button a:hover {
    transform: scale(1.1);
    cursor: none;
}

.back-button {
  position: relative;
  top: 0;
  padding: 0;
  z-index: 10;
  font-weight: 300;
  font-size: 1.1rem;
  text-transform: uppercase;
  background: none;
  opacity: 0;
  transition: all 0.4s ease;
  display: none;
  margin-right: 2em;
}

.home-button:hover {
transform: scale(1.1);
}

.home-button a {
    text-decoration: none;
    color: inherit;
}
.index.collapsed .home-button {
    display: none;
}

/* Add hover effect */
.back-button:hover,
.home-button:hover {
    color: #000;
    
}

/* Add hover effect for all non-active containers */
.container:not(.expanded):hover {
    transform: translateX(10px);
    
}

/* Add specific hover effect for secondary-expanded containers */
.container.secondary-expanded:hover {
    transform: translateX(10px);
    
}

/* Add these new styles near the top of your CSS file */
.fade-out {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

.index:not(.collapsed) .back-button {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.canvas_4 img:hover {
    mix-blend-mode: normal; /* Reset blend mode */
    filter: none; /* Remove any filters */
    transform: none; /* Reset any transformations */
}

.canvas_4:hover {
  mix-blend-mode: normal; /* Reset blend mode */
  filter: none; /* Remove any filters */
  transform: none; /* Reset any transformations */
}

.new-button {
    position: absolute;
    top: 0em; /* Adjust this value to position the button under the home button */
    left: 9.7em;
    margin: 10px;
    z-index: 10;
    display: block;
    font-weight: 300;
    font-size: 1.1rem;
    text-transform: uppercase;
    background: none;
    transition: all 0.3s ease;
}

.new-button a {
    text-decoration: none;
    color: inherit;
}

.index.collapsed .new-button {
    display: none;
}

.new-button:hover {
    
    transform: scale(1.1);
    color: #000;
}

.black-white-filter {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.black-white-filter:hover {
    filter: none; /* Remove the grayscale filter on hover */
}

.margin_ {
  padding-top: 4em;
}


/* Remove any media queries that might affect the container content */
@media (orientation: portrait) {
  
  h1 {
    font-size: 3em;
  }

  table {
    width: 100%;
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid black;
    border-collapse: collapse;
  }
  
  th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid black;
    font-size: small;
  }

.container:not(.expanded):not(.secondary-expanded) .container-content {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

    .column__double {
        flex: 2; /* Keep the same flex value */
        width: auto;
    }

    .row {
        display: flex;
        flex: auto;
        flex-direction: column;
    }

.container-content {
    width: calc(100vw);
    height: 100%;
    padding: 20px;
}

.container:not(.expanded) {
  display: none;
}


.container.expanded {
  width: calc(100%);
  left: 0;
  z-index: 4;
}

.container.secondary-expanded {
  width: calc(100%);
  left: 0;
  z-index: 0;
}


#container2 { 
  left: 0px;
  z-index: 7;
}
#container3 { 
  left: 0px;
  z-index: 6;
}
#container4 { 
  left: 0px;
  z-index: 5;
}
#container5 { 
  left: 0px;
  z-index: 4;
}
#container6 { 
  left: 0px;
  z-index: 3;
}
#container7 { 
  left: 0px;
  z-index: 2;
}

    .index.collapsed {
      display: none;
        position: sticky;
        padding: 3.75em 2em 0 2em;
        width: 200px;
        height: 100vh; /* Set fixed height */
        overflow-y: auto; /* Enable vertical scrolling */
        overflow-x: hidden; /* Prevent horizontal scrolling */
        transition: all 0.7s;
        flex-direction: column;
        align-items: flex-start;
        border-right: 2px solid rgba(0, 0, 0, 0.9);
    }
    
    /* Add smooth scrolling behavior */
    .index.collapsed::-webkit-scrollbar {
        width: 6px;
    }
    
    .index.collapsed::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .index.collapsed::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }
    
    .index.collapsed::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .index:not(.collapsed) {
        flex-direction: row; /* Change to row layout when not collapsed */
        justify-content: center; /* Center align items horizontally */
        align-items: center; /* Center align items vertically */
    }
    
    .index:not(.collapsed) li {
        padding: 1em;
    }
    
    
    .index ul {
        display: flex;
        flex-direction: inherit; /* Inherit the flex direction from the parent */
        justify-content: center; /* Center align items horizontally */
        align-items: center; /* Center align items vertically */
        padding: 0;
        list-style-type: none;
    }
    
    .index li {
        
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        flex: 1; /* Allow items to grow equally in the row */
        display: flex;
        justify-content: center; /* Center align content horizontally */
        align-items: center; /* Center align content vertically */
    }
    
    .index li img {
        width: 100%;
        height: auto;
    }
    
    /* Adjust image size when index is collapsed */
    .index.collapsed li img {
        width: 100%;
    }

.home-button {
  left: 0;
}
    
}

/* Add hover effects for images */
.canvas img, .canvas_4 img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.canvas:hover img, .canvas_4:hover img {
    filter: brightness(1.1) contrast(1.1);
}

/* Add smooth transitions for container expansion */
.container {
    position: absolute;
    width: 40px;
    height: 100%;
    background-color: white;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                width 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s ease;
    overflow-x: hidden;
    overflow-y: scroll;
    border-right: 1px solid rgba(0, 0, 0, 0.5);
}

/* Add hover effect for non-expanded containers */
.container:not(.expanded):not(.secondary-expanded):hover {
    transform: translateX(15px) scale(1.1);
    border-right: 1px solid rgba(0, 0, 0, 1); /* Darker border on hover instead of shadow */
}

/* Enhance text animations */
.weekly ul li h1, 
.weekly ul li .text-container {
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add smooth fade for content */
.container-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.container.expanded .container-content,
.container.secondary-expanded .container-content {
    opacity: 1;
    transform: translateY(0);
}

/* Add hover effects for tables */
table tr {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

table tr:hover {
    background-color: grey;
}

/* Add animation for back button */
.back-button {
    transition: all 0.3s ease;
}

.back-button:hover p {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #000;
  color: white;
  transition: all 0.3s ease;
}

/* Add subtle animation for borders */
.border_top {
    position: relative;
    overflow: hidden;
}

.border_top::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.5);
    animation: borderSlide 0.3s ease forwards;
}

@keyframes borderSlide {
    to {
        left: 0;
    }
}

/* Add these styles */
.top-right-button {
    position: absolute;
    top: 0em;
    right: 1em; /* Position from right instead of left */
    margin: 10px;
    z-index: 10;
    display: block;
    font-weight: 300;
    font-size: 1.1rem;
    text-transform: uppercase;
    background: none;
    transition: all 0.3s ease;
}

.top-right-button a {
    text-decoration: none;
    color: inherit;
}

.index.collapsed .top-right-button {
    display: none; /* Hide button when index is collapsed */
}

.top-right-button:hover {
    
    transform: scale(1.1);
    color: #000;
}

/* Add this to the media query for portrait orientation */
@media (orientation: portrait) {
    .top-right-button {
        right: 0; /* Adjust position for mobile */
    }
}

/* Add/modify these classes */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Modify the existing .index class */
.index {
    position: relative;
    opacity: 0; /* Start hidden */
    transition: opacity 0.6s ease;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    padding: 2em;
    z-index: 99;
    display: flex;
    flex-direction: column; /* Default to column layout */
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

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

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.loading-percentage {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  margin-top: 10px;
  opacity: 0.7;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body {
  cursor: none;
}

.cursor {
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid black;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: difference;
}

.overlay-content {
  display: none;
  opacity: 0;
  transform: none; /* Remove initial transform */
}

.overlay-content.active {
  display: block;
  opacity: 1;
  transform: none; /* Ensure no transform on initial display */
}

/* Update overlay content styles */
.overlay-content {
    display: none;
    opacity: 0;
    transform: none; /* Remove initial transform */
}

.overlay-content.active {
    display: block;
    opacity: 1;
    transform: none; /* Ensure no transform on initial display */
}


/* Print animation for entire content */
@keyframes print-content {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Hide animation in portrait mode */
@media (orientation: portrait) {
    .overlay-content {
        transform: none;
        animation: none;
    }
}

/* Add subtle printer texture effect */
.draggable-container {
    position: relative;
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.02) 1px, 
        transparent 1px
    );
    background-size: 100% 4px;
}

/* Ensure overlay title moves with content */
.overlay-title {
    position: relative;
    z-index: 1;
}

/* Hide animation in portrait mode */
@media (orientation: portrait) {
    .overlay-content {
        transform: none;
        animation: none;
    }
}

/* Add these new styles */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 46px;
  background-color: white;
  display: flex;
  align-items: center;
  padding: 0 2em;
  z-index: 1000;
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
}

/* Update container padding to account for nav bar */
.container-content {
  padding-top: 80px;
}

/* Update media query */
@media (orientation: portrait) {
  .nav-bar {
    padding: 0 1em;
  }
}

.series-title, .series-title2 {
    font-size: 1.1rem;
    font-weight: 300;
    text-transform: uppercase;
    width: 100%;
    width: calc(100% + 3.8em);
    margin-left: -1.9em;
    margin-right: -1.9em;
    text-align: center;
    padding-bottom: 0.75em;
    margin-bottom: 1.0em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: none;
}

.series-title2 {
  margin-top: 1em;;
  border-top: 1px solid rgba(0, 0, 0, 0.5);
  padding-top: 0.75em;
}

.index.collapsed .series-title, .index.collapsed .series-title2 {
    opacity: 1;
    display: block;
}

/* Update media query for portrait mode */
@media (orientation: portrait) {
  #container2, #container3, #container4, #container5, #container6 { 
    left: 0px;
  }
  #container2 { z-index: 7; }
  #container3 { z-index: 6; }
  #container4 { z-index: 5; }
  #container5 { z-index: 4; }
  #container6 { z-index: 3; }
  #container7 { z-index: 2; }
}

/* Add simple modular grid background */
.index:not(.collapsed) {
    flex-direction: column;
    justify-content: initial;
    align-items: initial;
    height: 100vh;
    padding: 6em 2em 2em 2em;
    position: relative;
}

@media (orientation: portrait) {
    .index:not(.collapsed) {
        background-size: 50px 50px;
    }
}

.index:not(.collapsed) {
    animation: fadeGrid 0.5s ease-in-out;
}

@keyframes fadeGrid {
    from {
        background-size: 0 0;
    }
    to {
        background-size: 100px 100px;
    }
}

.index li {
    position: relative;
}

.frame-sequence {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.frame-sequence img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

/* Show first frame by default when hovering */
.index li:hover .frame-sequence {
    opacity: 1;
}

.index li:hover .frame-sequence img:first-child {
    opacity: 1;
}

/* When a frame becomes active, hide the first frame */
.frame-sequence img.active:not(:first-child) {
    opacity: 1;
}

.frame-sequence img.active ~ img:first-child {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Remove or modify these rules that were hiding the first frame */
.index li:hover .canvas_4 > img:first-child {
    opacity: 1; /* Change from 0 to 1 */
}

/* Add keyframe animation for smooth frame transitions */
@keyframes frameAnimation {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Add class for active frame */
.frame-sequence img.active {
    opacity: 1;
}

.index li:hover .canvas_4 > img:first-child {
    opacity: 0;
}

@media (orientation: landscape) {
  #container2 { z-index: 7; }
  #container3 { z-index: 6; }
  #container4 { z-index: 5; }
  #container5 { z-index: 4; }
  #container6 { z-index: 3; }
  #container7 { z-index: 2; }
}

.draggable-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 37px;
    gap: 30px;
    overflow: visible;
}

.draggable {
    position: relative;
    user-select: none;
    touch-action: none;
    width: 200px;
    max-width: 100%;
    z-index: 1;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.draggable:active {
    z-index: 1000;
}

.overlay-content {
    display: none;
    opacity: 0;
    transform: none; /* Remove initial transform */
}

.overlay-content.active {
    display: block;
    opacity: 1;
    transform: none; /* Ensure no transform on initial display */
}

/* Hide overlay on mobile */
@media (orientation: portrait) {
    .right-overlay {
        display: none;
    }
}

/* Ensure the overlay allows for dragging */
.right-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 201px;
    height: 100vh;
    overflow: visible;
    background-color: white;
    z-index: 100;
    border-left: 1px solid rgba(0, 0, 0, 0.5);
    scrollbar-width: none;     /* Hide scrollbar for Firefox */
}

/* Ensure note content remains visible while dragging */
.note-content {
    background: white;
    font-size: 0.9em;
    color: #000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Specific styles for image draggables */
.draggable .canvas_4 {
    position: relative;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Specific styles for note draggables */
.draggable.note .note-content {
    padding: 1em;
    font-weight: 300;
    line-height: 1.4em;
}

/* Add hover effect */
.draggable:hover::before {
    background: rgba(255, 255, 255, 0.5);
}

.index:not(.collapsed) .canvas_4 {
    filter: none;
}

.index:not(.collapsed) .canvas_4 img {
    filter: none;
    mix-blend-mode: normal;
}
  
.index:not(.collapsed) .canvas_4::before {
  background: transparent;
}

/* Add these new styles for fade-in animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Adjust container content for smoother animations */
.container-content .row {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.container-content .row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Update media query for portrait mode to include container7 */
@media (orientation: portrait) {
  #container2, #container3, #container4, #container5, #container6, #container7 { 
    left: 0px;
  }
  #container2 { z-index: 7; }
  #container3 { z-index: 6; }
  #container4 { z-index: 5; }
  #container5 { z-index: 4; }
  #container6 { z-index: 3; }
  #container7 { z-index: 2; }
}

@media (orientation: landscape) {
  #container2 { z-index: 7; }
  #container3 { z-index: 6; }
  #container4 { z-index: 5; }
  #container5 { z-index: 4; }
  #container6 { z-index: 3; }
  #container7 { z-index: 2; }
}

/* Add these new styles for the trail effect */
.draggable {
    position: relative;
}

.trail {
    position: absolute;
    pointer-events: none;
    opacity: 0.3;
    transition: opacity 0.8s ease-out;
    z-index: 1;
}

.trail.fade-out {
    opacity: 0;
}

/* Optional: Add a subtle glow effect when dragging */
.draggable.dragging {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.right-overlay {
    z-index: 100;
}

.draggable-container {
    z-index: 101;
    position: relative;
}

.draggable {
    z-index: 102;
    position: relative;
}

.draggable.dragging {
    z-index: 1000;
}

.overlay-content {
    z-index: 101;
}

/* Update cursor z-index to stay on top */
.cursor {
    z-index: 9999;
    mix-blend-mode: difference;
}

/* Add this style to ensure heatmap canvas appears above content */
.heatmap-canvas {
    z-index: 9998;
    pointer-events: none;
    position: absolute !important; /* Change from fixed to absolute */
    width: 100%;
    height: 100%;
}

/* Add positioning context for heatmap */
.index {
    position: relative; /* Add positioning context */
}

/* Hide heatmap when index is collapsed */
.index.collapsed .heatmap-canvas {
    display: none;
}

@keyframes printText {
    from { width: 0; }
    to { width: 100%; }
}

/* Update overlay content styles */
.overlay-content {
    display: none;
    opacity: 0;
    transform: none; /* Remove initial transform */
}

.overlay-content.active {
    display: block;
    opacity: 1;
    transform: none; /* Ensure no transform on initial display */
}

.overlay-content.printing {
    transform: translateY(-100%); /* Move up before printing */
    animation: print-content 2s steps(20, jump-end) forwards;
}

/* Print animation for entire content */
@keyframes print-content {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Hide animation in portrait mode */
@media (orientation: portrait) {
    .overlay-content {
        transform: none;
        animation: none;
    }
}

/* Update print button styles */
.print-button {
    position: fixed;
    width: 201px;
    top: 0;
    right: 0;
    padding: 1em;
    margin: 2.75em 0;
    border: 0px solid rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(0, 0, 0, 0.5);
    background-color: white;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    font-weight: 300;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 1000;
}

.print-button:hover {
    background: rgba(0, 0, 0, 0.95);
    color: white;
}

/* Update container h1 styles to remove margin we previously added for print button */
.container h1 {
    margin-bottom: 0;
}

/* Hide print button when index is not collapsed */
.index:not(.collapsed) .print-button {
    display: none;
}

/* Adjust for mobile */
@media (orientation: portrait) {
    .print-button {
        right: 0.5em;
    }
}

/* Add these styles to initially hide draggable items */
.draggable-container .draggable {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent interaction until printed */
}

.draggable-container .draggable.printed {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* Re-enable interaction */
}
@keyframes print-item {
    0% {
        opacity: 0;
        transform: translateY(20px);

        pointer-events: none;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Update print button to be hidden initially since printing will happen automatically */
.print-button {
    display: none;  /* Hide by default since we'll auto-print */
}

/* Update index item transitions */
.index li {
    transition: opacity 0.4s ease, transform 0.05s;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* When index is collapsing, fade out items immediately */
.index.collapsing li {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* When index is collapsed, delay the fade in of items */
.index.collapsed li {
    opacity: 1;
    transition: opacity 0.4s ease 0.6s; /* Delay fade in until after collapse */
}

/* When a container is active (item chosen), fade out index items */
.containers.active ~ .index:not(.collapsed) li {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Update index item styles */
.index li {
    filter: brightness(1.6) contrast(0.91);
}

/* Slideshow Styles */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 400px; /* Set a fixed height */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid grey;
  border-radius: 10px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out;
}

.slide.active {
  transform: translateX(0);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow-sidebar {
  padding-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.thumbnails {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.thumbnail {
  width: 100%;
  height: 100%;
  cursor: pointer;
  filter: grayscale(100%);
  overflow: hidden;
}

.thumbnail.active {
  opacity: 1;
  filter: grayscale(0%);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid grey;
  border-radius: 10px;
}

/* Swipe Animation */
.slideshow.swiping {
  transition: none;
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slide-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid black;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator.active {
    background: white;
    transform: scale(1.4);
}

.slide-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    color: black;
    font-size: 14px;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 10;
    border: 1px solid black;
}

