/*****************************************/
/* ANIMATION FOR THE INTRO LETTERS START */
/*****************************************/

span {
  display: inline-block;
  text-shadow: 0 0 0 whitesmoke;
  animation: smoky 5s 2s both;
}

span:nth-child(even){
  animation-name: smoky-mirror;
}

@keyframes smoky {
  60% {
    text-shadow: 0 0 40px whitesmoke;
  }
  to {
    transform:
      translate3d(2rem,-1rem,0)
      rotate(-5deg)
      skewX(5deg)
      scale(1.1);
    text-shadow: 0 0 20px whitesmoke;
    opacity: 0;
  }
}

@keyframes smoky-mirror {
  60% {
    text-shadow: 0 0 40px whitesmoke; }
  to {
    transform:
      translate3d(2rem,-1rem,0)
      rotate(-5deg) 
      skewX(-5deg)
      scale(2);
     text-shadow: 0 0 20px whitesmoke;
    opacity: 0;
  }
}

@for $item from 1 through 21 {
  span:nth-of-type(#{$item}){ 
    animation-delay: #{(2 + ($item/3))}s; 
  }
}

/*****************************************/
/* ANIMATION FOR THE INTRO LETTERS END   */
/*****************************************/


/* Landing page elements - FULL SCREEN */

.YoBkg {
    top: 0;
    display: none;
    opacity: 1;
    width: 1920px;
    /*pointer-events: none;*/
    cursor: none;
    animation: appear 2s ease-in-out forwards;
    z-index: 1;
}

/* Animation for background Image Appear */
@keyframes appear {	from {opacity: 0;} to {opacity: 1; } }

/* Animation for INTRO LETTERS Disappear */
@keyframes disappear {	from {opacity: 1;} to {opacity: 0; } }

/*.redCursor {*/
/*    top: 0;*/
/*    display: block;*/
/*    opacity: 1;*/
/*    width: 100%;*/
/*    z-index: 1;*/
    /*cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="10" fill="red"/></svg>'), auto;*/
/*}*/

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: red;
    pointer-events: none;
    mix-blend-mode: difference;
    transition: 0.1s;
    /*transform: translate(-50%,-50%);*/
}

.cursorHover {
    transform: scale(3);
    cursor: none;
}

.noCursor {
    cursor: none;
}


/* PICTURE (BACKGROUND) INTRO BLUR EFFECT   */


/* Animation for going to yoPsy site */
@keyframes zoom {	from {scale: 1;} to {scale: 150; } }

/* Animation for going to yoArt site */
@keyframes move {	from {top: 0;} to {top:100vh;} }







/* OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE */
/* OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE */
/* OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE */
/* OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE */
/* OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE */
/* OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE */
/* OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE OLD PAGE */

/* Part for RESPONSIVE mode */

/* MOBILE responsive mode: display warning to rotate phone to go in Landscape view */
.mobileWarningDiv {
    display: block;
    position: absolute;
    top: 10%;
    left: 0;
    border: 1px solid black;
    width: 100vw;
    /*text-align: center;*/
    z-index: 4;
    background-color: purple;
}

.mobileWarningText1{
    position: relative;
    color: white;
    margin: 0 auto;
    border-right: 0px solid rgba(255,255,255,.75);
    text-align: center;
    white-space: nowrap;
    /*overflow: hidden;*/
    display: block;
    width: 75%;
    font-size: 100%;
    background-color: purple;
}

.mobileWarningText2{
    position: relative;
    top: 20%;
    color: white;
    margin: 0 auto;
    border-right: 0px solid rgba(255,255,255,.75);
    text-align: center;
    white-space: nowrap;
    /*overflow: hidden;*/
    display: block;
    width: 100%;
    font-size: 90%;
    background-color: purple;
}


/* ********************** */
/* ********************** */
/* ********************** */
/* yo_AI_futures file css */
/* ********************** */
/* ********************** */
/* ********************** */
/* ********************** */

@keyframes neonFlicker {
  0%   { filter: brightness(100%); }
  2%   { filter: brightness(40%); }
  5%  { filter: brightness(100%); }
  10%  { filter: brightness(100%); }
  11%  { filter: brightness(120%); }
  13%  { filter: brightness(100%); }
  15%  { filter: brightness(30%); }
  17%  { filter: brightness(80%); }
  20%  { filter: brightness(70%); }
  22%  { filter: brightness(20%); }
  24%  { filter: brightness(120%); }
  26%  { filter: brightness(30%); }
  28%  { filter: brightness(100%); }
  30%  { filter: brightness(100%); }
  32%   { filter: brightness(40%); }
  36%  { filter: brightness(100%); }
  39%  { filter: brightness(100%); }
  40%  { filter: brightness(120%); }
  41%  { filter: brightness(100%); }
  45%  { filter: brightness(30%); }
  47%  { filter: brightness(80%); }
  50%  { filter: brightness(70%); }
  52%  { filter: brightness(20%); }
  54%  { filter: brightness(120%); }
  56%  { filter: brightness(30%); }
  58%  { filter: brightness(100%); }
  60%  { filter: brightness(30%); }
  61%  { filter: brightness(120%); }
  62%  { filter: brightness(100%); }
  65%  { filter: brightness(30%); }
  67%  { filter: brightness(80%); }
  70%  { filter: brightness(70%); }
  72%   { filter: brightness(40%); }
  75%  { filter: brightness(100%); }
  77%  { filter: brightness(100%); }
  80%  { filter: brightness(140%); }
  83%  { filter: brightness(100%); }
  85%  { filter: brightness(30%); }
  87%  { filter: brightness(80%); }
  90%  { filter: brightness(70%); }
  92%  { filter: brightness(20%); }
  94%  { filter: brightness(120%); }
  96%  { filter: brightness(30%); }
  98%  { filter: brightness(100%); }
  100% { filter: brightness(100%); }
}

#logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 6vw; /* adjust size as needed */
  height: auto;
  z-index: 1;
  animation: neonFlicker 20s infinite steps(45);
}

#info {
  position: absolute;
  bottom: 10px; /* Position at the bottom */
  right: 10px;  /* Position at the right */
  text-align: right;
  color: transparent; /* Hide the fill */
  -webkit-text-stroke: 1px #800080; /* Purple outline */
  text-shadow:
    0 0 2px #800080,
    0 0 4px #800080;
  z-index: 100;
  pointer-events: none;
  font-size: 16px; /* Adjust font size if needed */
}
#controls-toggle {
  display: none;
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 100;
}
.controls-panel {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
}

@keyframes growFromCenter {
  0% {
      transform: scale(0);
      opacity: 0;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

.scene-container {
animation: growFromCenter 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes swirl {
  0% {
      transform: translate(-50%, -50%) scale(1) rotate(0deg);
      filter: none;
  }
  100% {
      transform: translate(-50%, -50%) scale(0) rotate(720deg);
      filter: brightness(0.8) contrast(1.4);
  }
}

.swirl-animation {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  animation: swirl 2s cubic-bezier(0.645, 0.045, 0.355, 1.000) forwards;
  transform-origin: center center;
  will-change: transform;
}

@keyframes lightboxEntrance {
  0% {
      transform: translate(-50%, -50%) scale(2);
      opacity: 0;
  }
  100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
  }
}

.lightbox {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background-color: rgba(0, 0, 0, 0.8);
  border: 2px solid #800080;
  border-radius: 15px;
  display: none;
  padding: 20px;
  color: white;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  opacity: 0;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(128, 0, 128, 0.5);
}

.lightbox.animate-in {
  animation: lightboxEntrance 1s ease-out forwards;
}

.lightbox.active {
  opacity: 0.8;
}

/* Add some basic styling to the text inside lightbox */
.lightbox p {
  margin: 20px 0;
  font-size: 18px;
}

@keyframes lightboxExit {
  0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
  }
  50% {
      transform: translate(-50%, -50%) scale(1.5);
      opacity: 0.4;
  }
  100% {
      transform: translate(-50%, -50%) scale(2);
      opacity: 0;
  }
}

.lightbox.animate-out {
  animation: lightboxExit 0.4s ease-in forwards;
  will-change: transform, opacity;
}

@keyframes lineErase {
    0% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

.line-erase {
    animation: lineErase 0.5s ease-in forwards;
    transform-origin: right center;
    will-change: transform, opacity;
    background-color: black; /* Ensure no transparency */
}

.preload-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  z-index: 9998;
  pointer-events: none;
  background: transparent;
}

/* Contact me planet */
.contact-links {
    text-align: center;
    padding: 20px;
}

.contact-links a {
    color: #4287f5;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-links a:hover {
    color: #2c5aa0;
}

.contact-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-links ul li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
}

.contact-links img {
  width: 20%;
  /* height: 24px; */
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.contact-links a:hover img {
  transform: scale(1.2);
}

#contactLightbox h2 {
  font-family: 'Arial Black', Gadget, sans-serif;
  font-size: 2em;
  color: #2c5aa0; /* Base purple */
  text-shadow: 
      0 0 5px #800080,
      0 0 10px #800080,
      0 0 20px #FF00FF,
      0 0 30px #FF00FF;
}







/* Mobile responsive CSS */

/* Desktops, laptops, */
@media only screen and (min-width: 768px) {
    .mobileWarningDiv {
        display: none;
    }
}

/* Strange tablets, minimized windows */
/*@media only screen and (max-width: 768px) and (min-width: 480px) {
    .mobileWarningDiv {
        display: none;
    }
  }*/

  /* Mobile devices in Landscape orientation ONLY responsiveness */
@media only screen and (min-width: 481px) and (max-width: 900px) {
    .mobileWarningDiv {
        display: none;
    }
}

 /*Mobile devices WARNING, Hide some elements */
@media only screen and (max-width: 480px) {
    .mobileWarningDiv {
        display: block;
    }
}

/* END OF MOBILE TEXT HANDLING */
