
@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 200;
    src: local('Rubik Light'), local('Rubik-Light'),
         url('../fonts/Rubik-Light.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-Light.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'Rubik';
    font-style: italic;
    font-weight: 200;
    src: local('Rubik Light Italic'), local('Rubik-LightItalic'),
         url('../fonts/Rubik-LightItalic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-LightItalic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    src: local('Rubik Regular'), local('Rubik-Regular'),
         url('../fonts/Rubik-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'Rubik';
    font-style: italic;
    font-weight: 400;
    src: local('Rubik Italic'), local('Rubik-Italic'),
         url('../fonts/Rubik-Italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-Italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    src: local('Rubik Medium'), local('Rubik-Medium'),
         url('../fonts/Rubik-Medium.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-Medium.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'Rubik';
    font-style: italic;
    font-weight: 500;
    src: local('Rubik Medium Italic'), local('Rubik-MediumItalic'),
         url('../fonts/Rubik-MediumItalic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-MediumItalic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }


@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 600;
    src: local('Rubik Bold'), local('Rubik-Bold'),
         url('../fonts/Rubik-Bold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-Bold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'Rubik';
    font-style: italic;
    font-weight: 600;
    src: local('Rubik Bold Italic'), local('Rubik-BoldItalic'),
         url('../fonts/Rubik-BoldItalic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-BoldItalic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }



@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 700;
    src: local('Rubik ExtraBold'), local('Rubik-ExtraBold'),
         url('../fonts/Rubik-ExtraBold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-ExtraBold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'Rubik';
    font-style: italic;
    font-weight: 700;
    src: local('Rubik ExtraBold Italic'), local('Rubik-ExtraBoldItalic'),
         url('../fonts/Rubik-ExtraBoldItalic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-ExtraBoldItalic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }



@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 800;
    src: local('Rubik Black'), local('Rubik-Black'),
         url('../fonts/Rubik-Black.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-Black.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'Rubik';
    font-style: italic;
    font-weight: 800;
    src: local('Rubik Black Italic'), local('Rubik-BlackItalic'),
         url('../fonts/Rubik-BlackItalic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/Rubik-BlackItalic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }


@font-face {
    font-family: 'Rubik Beastly';
    font-style: normal;
    font-weight: 900;
    src: local('Rubik Beastly Regular'), local('RubikBeastly-Regular'),
         url('../fonts/RubikBeastly-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/RubikBeastly-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }


body {
    font-family: 'Rubik', sans-serif;
    background-color: #fff;
}

.video-stack {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 1;
    overflow: hidden;
    /* This makes the mask on .video-stack act as an eraser */
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    background: transparent;
}


#the-void {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    pointer-events: none; /* User can click through the hole to islands below */
    z-index: 500;
    visibility: hidden; /* We only need its position for the mask, not the element itself */
}


.islands-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999; 
    pointer-events: none; 
}

/* Color Overlays for Videos */
.mask-layer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Tint for the Past (Bottom Video) - e.g., Sepia/Warm */
/*#layer-past::after {
    background: rgba(255, 150, 50, 0.3); 
    mix-blend-mode: multiply;
}*/

/* Tint for the Live (Island Video) - e.g., Blue/Cool */
/*#layer-live::after {
    background: rgba(160, 216, 213,0.2);
    mix-blend-mode: screen;
}*/

/* Island Adjustments */
.island {
    position: absolute;
    width: 500px;
    height: auto;
    cursor: grab;
    z-index: 100;
    pointer-events: auto; /* Required for dragging */
}

.island img.island-texture {
    width: 100%;
    display: block;
    pointer-events: none;
    opacity: 0; /* Hidden until hover */
    transition: opacity 0.3s ease-in-out;
}

/* Show texture on hover */
.island:hover img.island-texture {
    opacity: 0.4;
}

#layer-live {
    z-index: 5;
    position: fixed;
    opacity: 0.99;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* Allows clicking the islands underneath */
    background: transparent;
}



/* Ensure the YouTube iframes fill the screen */
#player-1, #player-2, iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* (16/9 aspect ratio * 100vh) */
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    transform: translate(-50%, -50%); /* Centers the video */
    pointer-events: none;
}


.page-content-text {
    position: relative;
    z-index: 20; /* Highest layer */
    color: #fc6802; /* Ensure it's visible over the video */
    font-size: 2em;
    pointer-events: none; /* Optional: allows you to click islands THROUGH the text */
}



.countdown-layer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20; /* Above everything else */
    color: #fc6802; /* Dark Orange to match your text */
    font-family: 'Rubik', sans-serif;
    text-align: right;
    pointer-events: none; /* Allows you to click things behind the timer */
    /*text-shadow: 0 0 10px rgba(0,0,0,0.8);*/
}

.countdown-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

#countdown-timer {
    font-size: 2.5rem;
    font-weight: 700;
}










