body {
  margin: 0;
  padding: 0;
  font-family: Verdana, sans-serif;
  overflow-x: hidden;
  position: relative;
  background-color: black;
}

/* Background image fade-in using ::before */
body::before {
  content: ""; /* important â€” do not add text here */
  position: fixed;
  top: 0;
  left: 0;
  background-color: black;
  width: 100%;
  height: 100%;
  background-image: url('https://i.pinimg.com/736x/36/b4/87/36b4877e24a06625ece7ea64092824dd.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
  opacity: 0;
  animation: fadeInBG 0.5s ease-out 2s forwards;
}

.content {
  position: relative;
  z-index: 1;
}
.borderBottom {
  border-radius: 5px;
  border: 2px solid black;
  position: absolute;
  top: 45vh;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 240px;
  height: 30px;
  background-color: white;
  color: black;
  opacity: 0;

  /* Combined fadeIn + fadeOut sequence */
  animation-name: fadeInBG, fadeOut;
  animation-duration: 2s, 2s;
  animation-timing-function: ease-out, ease-out;
  animation-delay: 2.5s, 5s;
  animation-fill-mode: forwards, forwards;
}

@keyframes fadeInBG {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
.Name {
  position: absolute;
  width: 80vw;
  max-width: 600px;
  aspect-ratio: 5 / 5;
  background-image: url('ms.gif');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  left: 30%;
  top: 10%;
  transform: translateX(-50%);
  opacity: 1;
  animation:
    fadeInBG 0.2s ease-out 7s forwards,
    SizeBig 0.4s ease-out 7s forwards,
    MoveToTopLeft 0.5s ease-out 7.3s forwards;
  z-index: 2;
}

.NameBG {
    position: absolute;
  width: 80vw;
  max-width: 549px;
  aspect-ratio: 5 / 5;
  background-image: url('https://i.pinimg.com/originals/97/25/39/97253941a874955f10c180764759d2cd.gif');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  left: 28%;
  top: 10%;
  transform: translateX(-50%);
  opacity: 1;
  animation:
    fadeInBG 0.2s ease-out 7s forwards,
    SizeBig 0.4s ease-out 7s forwards,
    MoveToTopLeft 0.5s ease-out 7.3s forwards;
  z-index: 1;
}

.NameBox {
  width: 100%;
  left:25%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}




.Name2 {
  position: absolute;
  width: 80vw;
  max-width: 700px;
  aspect-ratio: 6 / 4;
  background-image: url('https://www.pngkey.com/png/full/863-8634579_microsoft-paint-transparent-background-computer-window.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  left: 28%;
  top: 20%;
  transform: translateX(-50%);
  opacity: 1;
  animation:
    fadeInBG 0.2s ease-out 7s forwards,
    SizeBig 0.4s ease-out 7s forwards,
    MoveToTopLeftEye 0.5s ease-out 7.3s forwards;
  z-index: 2;
}

.NameBG2 {
  background-image: url('https://external-media.spacehey.net/media/sturum3Y3YiYzNx6y-tLRrjYyKZ3DfvmKKCTE1CLdNaY=/https://i.pinimg.com/736x/83/4e/75/834e75dbf1c90e3a4c999ccf0a74565d.jpg');
  position: relative;
  width: 80vw;
  background-size: cover;
  max-width: 450px;
  aspect-ratio: 3 / 1;
  background-repeat: no-repeat;
  left: 20%;
  margin-top: 250px;
  margin-left: -150px;
  transform: translateX(-50%);
  opacity: 1;
  animation:
    fadeInBG 0.2s ease-out 7s forwards,
    SizeBig 0.4s ease-out 7s forwards,
    MoveToTopLeftEye 0.5s ease-out 7.3s forwards;
  z-index: 1;
}




.NameBox2 {
  width: 100%;
  left:25%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}



@keyframes SizeBig {
  0% {
    transform: scale(0.5);
  }
  50% {
    transform: scale(1.3);
  }
  80% {
    transform: scale(.9);
  }
    100% {
    transform: scale(1);
  }
}
@keyframes MoveToTopLeft {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(-100%, -10%);
  }
}

@keyframes MoveToTopLeftWater {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(-100%, -10%);
  }
}
@keyframes MoveToTopLeftNeedy {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(70%, 0%);
  }
}
@keyframes MoveToTopLeftEye {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(10%, 90%);
  }
}
.Needy {
  position: absolute;
  width: 80vw;              /* Responsive width */
  max-width: 500px;         /* Limit at original size */
  aspect-ratio: 7 / 5;      /* Maintain aspect ratio */
  background-image: url('needy.png'); 
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  top: 50%;
  right: 30%;
  transform: translateX(50%); /* Center horizontally from right */
  opacity: 0;
  animation:
    fadeInBG 0.2s ease-out 7.5s forwards,
    SizeBig 0.4s ease-out 7.6s forwards,
    MoveToTopLeftNeedy 0.7s ease-out 7.7s forwards;
  z-index: 2;
}
.NeedyContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.task {
  position: fixed;
  width: 98%;
  height: 8%;
  border-radius: 5px;
  border: 2px solid black;
  background-color: white;
  bottom: 0; /* Start from visible bottom */
  left: 20px;
  opacity: 0;
  transform: translateY(100%); /* Start off-screen */
  animation: TaskBar 0.5s ease-out 8.3s forwards;
  z-index: 2;
}

@keyframes TaskBar {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
