@charset "UTF-8";

body {
  background-image: linear-gradient(rgb(0, 0, 0), #00eeff);
  display: flex;
  flex-direction: row;
  /* Default layout for larger screens */
}

@font-face {
  font-family: 'BaselBlack';
  src: url('../fonts/Basel-Grotesk-Bold-Trial.otf') format('opentype');
}

#main-title {
  font-family: 'BaselBlack';
  font-size: 4vw; /* Adjust font size based on viewport width */
  color: #000000;
  text-shadow:
    3px 3px 0 rgb(255, 0, 0),
    -1px -1px 0 rgb(255, 0, 0),
    1px -1px 0 rgb(255, 0, 0),
    -1px 1px 0 rgb(255, 0, 0),
    1px 1px 0 rgb(255, 0, 0);
  opacity: 1;
  position: fixed;
  top: 0;
  left: 10;
  right: 10;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 4vw; /* Adjust line-height based on font size */
  align-items: center;
  z-index: 30;
  transition: opacity 2s ease-out; /* Define transition here */
  letter-spacing: -0.1vw;
}

.fadeOut {
  opacity: 0; /* Set opacity to 0 for fade out effect */
}


.scrollRight {
  z-index: 25;
  filter: grayscale(0%) brightness(155%) opacity(80%) hue-rotate(150deg) saturate(499%)  contrast(96%) invert(100%);
}

.styleContainerRight {
  font-family: 'BaselBlack';
  font-size: 16px;
  line-height: 1.2;
  color: rgb(255, 255, 255);
  text-shadow:
  5px 5px 0 rgb(0, 0, 0),
    -1px -1px 0 #000000,
    1px -1px 0 #000000,
    -1px 1px 0 #000000,
    3px 3px 0 #000000;
  /* filter: blur(0.03vw); */
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  height: 100vh;
}

.article {
  padding: 1vw;
  margin: 0vw;
  margin-top: 100vw;
  margin-bottom: 100vw;
  scroll-snap-align: center;
  transition: all 0.5s;
}

.article>img {
  max-height: 100vh;
  max-width: 100%;
  
}

#video-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  mix-blend-mode: luminosity;
  filter: brightness(120%) hue-rotate(170deg) saturate(500%) contrast(100%);
  z-index: 100;
}

#video-container>video {
  width: 100%;
  height: 100%;
  border: 5px solid rgb(255, 255, 0);
  outline: 5px solid red;
}

#close-video-button {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1000;
  pointer-events: auto;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background-color: rgba(255, 0, 0, 0);
}

#close-video-button::before,
#close-video-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 32%;
  width: 20px;
  height: 3px;
  transform: translate(-50%, -50%);
  background-color: rgb(157, 255, 0);
}

#close-video-button::before {
  transform: rotate(45deg);
}

#close-video-button::after {
  transform: rotate(-45deg);
}

button {
  background-color: rgb(255, 0, 0);
  cursor:grab;
}

.styleContainerLeft {
  font-family: 'BaselBlack';
  font-size: 7vw;
  background-image: linear-gradient(#00eeff, black);
  color: red;
  text-shadow:
    -1px 1px black,
    -1px 1px black,
    -1px 1px black,
    8px 8px black;
  filter: blur(0.1vw) opacity(100%);
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  height: 100vh;
  
}

.Title {
  cursor: pointer;
  text-align: center;
  letter-spacing: -2px;
  height: fit-content;
  max-height:8.8vh;
  margin-bottom: 1vw;
  scroll-snap-align: center;
  transition: all 0.5s;
}

.sousTitre {
  font-family: 'BaselBlack';
  font-size: 1vw;
  text-align: center;
  align-content: center;
  height: 3vh;
}

body {
  overscroll-behavior-y: none;
  overscroll-behavior: none;
}

.scrollLeft,
.scrollRight {
  flex: 1;
  overflow-y: auto;
  height: 100vh;
}

.scrollLeft::-webkit-scrollbar,
.scrollRight::-webkit-scrollbar,
.styleContainerRight::-webkit-scrollbar,
.styleContainerLeft::-webkit-scrollbar {
  display: none;
}

.scrollLeft {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollRight {
  /* overflow: hidden; */
  -ms-overflow-style: none;
  scrollbar-width: none;
  pointer-events: none;
}

img[src$=".svg"] {
  filter: drop-shadow(7px 7px 1px rgb(255, 255, 255))blur(0.15vw);;
 
}

/* Media Query for screens smaller than 800px */
@media (max-width: 800px) {
  body {
    flex-direction: column;
    height: 100vh;
     background-image: linear-gradient(rgb(0, 0, 0) 50%, #00eeff 100%);
  }

  .Title {
    font-size: 9vw;
    line-height: 0.2vh;
    letter-spacing: -2px;
    padding-top: 3vh;
    margin-bottom: 1vw;
  }

  .scrollLeft,
  .scrollRight {
    height: 100vh;
    overflow-y: auto;
  }

  

  .styleContainerRight,
  .styleContainerLeft {
    font-size: 8vw;
    height: 50vh;
   
  }

  

  #video-container {
    width: 90%;
    height: auto;
  }

  #video-container>video {
    width: 100%;
    height: auto;
  }

    .article {
      padding: 6vw;

      margin: 0vw;
      margin-top: 100vw;
      margin-bottom: 100vw;
      scroll-snap-align: start;
      transition: all 0.5s;
    }
}
@keyframes flicker {

  0% {
    opacity: 0.27861;
  }

  5% {
    opacity: 0.34769;
  }

  10% {
    opacity: 0.23604;
  }

  15% {
    opacity: 0.90626;
  }

  20% {
    opacity: 0.18128;
  }

  25% {
    opacity: 0.83891;
  }

  30% {
    opacity: 0.65583;
  }

  35% {
    opacity: 0.67807;
  }

  40% {
    opacity: 0.26559;
  }

  45% {
    opacity: 0.84693;
  }

  50% {
    opacity: 0.96019;
  }

  55% {
    opacity: 0.08594;
  }

  60% {
    opacity: 0.20313;
  }

  65% {
    opacity: 0.71988;
  }

  70% {
    opacity: 0.53455;
  }

  75% {
    opacity: 0.37288;
  }

  80% {
    opacity: 0.71428;
  }

  85% {
    opacity: 0.70419;
  }

  90% {
    opacity: 0.7003;
  }

  95% {
    opacity: 0.36108;
  }

  100% {
    opacity: 0.24387;
  }
}

@keyframes textShadow {
  0% {
    text-shadow: 0.4389924193300864px 0 1px rgba(234, 255, 0, 0.5), -0.4389924193300864px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  5% {
    text-shadow: 2.7928974010788217px 0 1px rgba(234, 255, 0, 0.5), -2.7928974010788217px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  10% {
    text-shadow: 0.02956275843481219px 0 1px rgba(234, 255, 0, 0.5), -0.02956275843481219px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  15% {
    text-shadow: 0.40218538552878136px 0 1px rgba(234, 255, 0, 0.5), -0.40218538552878136px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  20% {
    text-shadow: 3.4794037899852017px 0 1px rgba(234, 255, 0, 0.5), -3.4794037899852017px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  25% {
    text-shadow: 1.6125630401149584px 0 1px rgba(234, 255, 0, 0.5), -1.6125630401149584px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  30% {
    text-shadow: 0.7015590085143956px 0 1px rgba(234, 255, 0, 0.5), -0.7015590085143956px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  35% {
    text-shadow: 3.896914047650351px 0 1px rgba(234, 255, 0, 0.5), -3.896914047650351px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  40% {
    text-shadow: 3.870905614848819px 0 1px rgba(234, 255, 0, 0.5), -3.870905614848819px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  45% {
    text-shadow: 2.231056963361899px 0 1px rgba(234, 255, 0, 0.5), -2.231056963361899px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  50% {
    text-shadow: 0.08084290417898504px 0 1px rgba(234, 255, 0, 0.5), -0.08084290417898504px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  55% {
    text-shadow: 2.3758461067427543px 0 1px rgba(234, 255, 0, 0.5), -2.3758461067427543px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  60% {
    text-shadow: 2.202193051050636px 0 1px rgba(234, 255, 0, 0.5), -2.202193051050636px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  65% {
    text-shadow: 2.8638780614874975px 0 1px rgba(234, 255, 0, 0.5), -2.8638780614874975px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  70% {
    text-shadow: 0.48874025155497314px 0 1px rgba(234, 255, 0, 0.5), -0.48874025155497314px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  75% {
    text-shadow: 1.8948491305757957px 0 1px rgba(234, 255, 0, 0.5), -1.8948491305757957px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  80% {
    text-shadow: 0.0833037308038857px 0 1px rgba(246, 255, 0, 0.5), -0.0833037308038857px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  85% {
    text-shadow: 0.09769827255241735px 0 1px rgba(234, 255, 0, 0.5), -0.09769827255241735px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  90% {
    text-shadow: 3.443339761481782px 0 1px rgba(234, 255, 0, 0.5), -3.443339761481782px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  95% {
    text-shadow: 2.1841838852799786px 0 1px rgba(234, 255, 0, 0.5), -2.1841838852799786px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  100% {
    text-shadow: 2.6208764473832513px 0 1px rgba(234, 255, 0, 0.5), -2.6208764473832513px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 0.2;
  pointer-events: none;
  animation: flicker 1s infinite;
  z-index: 999;
}

.crt::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  z-index: 999;
}

.crt {
  animation: textShadow 1s infinite;
}