

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  position: relative;
}

body {
  background-image: url('../images/indexbg/bg0.png');
  background-repeat: repeat;
  background-position: top center;
  background-attachment: scroll;
  color: white;
}

body {
  background-size: 30% auto;
}

@media (max-width: 992px) {
  body {
    background-size: 40% auto;
  }
}

@media (max-width: 768px) {
  body {
    background-size: 50% auto;
  }
}

.section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.astronaut {
  display: block;
  width: 100%;
  height: auto;
  z-index: 10;
}

.bottom-right-image {
  position: absolute;
  bottom: 0;
  right: 0;
  height: auto;
  margin: 0;
}

.left-center-image {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20%;
  height: auto;
}

.left-image,
.right-image {
  position: absolute;
  transform: translateY(-50%);
  width: 15%;
  height: auto;
  margin: 0;
}

.left-image {
  left: 0;
  top: 25%;
}

.right-image {
  right: 0;
  top: 60%;
}

.top-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width:100%;
  height: auto;
  z-index: 0;
}



#scrollToTop {
  position: fixed;
  bottom: -50px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, bottom 0.3s ease;
}

#scrollToTop.visible {
  bottom: 20px;
  transform: translateY(0);
}

#scrollToTop.hidden {
  display: none;
}

#modal-bg {
  z-index: 1000;
}

@keyframes slide-in-left {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-left {
  animation: slide-in-left 0.5s ease forwards;
  opacity: 0;
}

.animate-slide-right {
  animation: slide-in-right 0.5s ease forwards;
  opacity: 0;
}


@keyframes typing {

  0.0000%,
  27.3488% {
    content: "a";
  }

  1.1395%,
  26.2093% {
    content: "a D";
  }

  2.2791%,
  25.0698% {
    content: "a De";
  }

  3.4186%,
  23.9302% {
    content: "a Dev";
  }

  4.5581%,
  22.7907% {
    content: "a Deve";
  }

  5.6977%,
  21.6512% {
    content: "a Devel";
  }

  6.8372%,
  20.5116% {
    content: "a Develo";
  }

  7.9767%,
  19.3721% {
    content: "a Develop";
  }

  9.1163%,
  18.2326% {
    content: "a Develope";
  }

  10.2558%,
  17.0930% {
    content: "a Developer";
  }

  30.7674%,
  51.2791% {
    content: "a ";
  }

  31.9070%,
  50.1395% {
    content: "a D";
  }

  33.0465%,
  49.0000% {
    content: "a De";
  }

  34.1860%,
  47.8605% {
    content: "a Desi";
  }

  35.3256%,
  46.7209% {
    content: "a Desig";
  }

  36.4651%,
  45.5814% {
    content: "a Design";
  }

  37.6047%,
  44.4419% {
    content: "a Designer";
  }

  54.6977%,
  75.2093% {
    content: "an ";
  }

  55.8372%,
  74.0698% {
    content: "an A";
  }

  56.9767%,
  72.9302% {
    content: "an Ar";
  }

  58.1163%,
  71.7907% {
    content: "an Art";
  }

  59.2558%,
  70.6512% {
    content: "an Arti";
  }

  60.3953%,
  69.5116% {
    content: "an Artis";
  }

  61.5349%,
  68.3721% {
    content: "an Artist";
  }

  78.6279%,
  96.8605% {
    content: "a ";
  }

  79.7674%,
  95.7209% {
    content: "a H";
  }

  80.9070%,
  94.5814% {
    content: "a Hu";
  }

  82.0465%,
  93.4419% {
    content: "a Hum";
  }

  83.1860%,
  92.3023% {
    content: "a Huma";
  }

  84.3256%,
  91.1628% {
    content: "a Human!";
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.typewriter {
  --caret: currentcolor;
}

.typewriter::before {
  content: "";
  animation: typing 13.5s infinite;
}

.typewriter::after {
  content: "";
  border-right: 1px solid var(--caret);
  animation: blink 0.5s linear infinite;
}

.typewriter.nocaret::after {
  border-right: 0;
}

@media (prefers-reduced-motion) {
  .typewriter::after {
    animation: none;
  }

  @keyframes sequencePopup {

    0%,
    100% {
      content: "Designer";
    }

    25% {
      content: "Developer";
    }

    50% {
      content: "Artist";
    }

    75% {
      content: "Human";
    }
  }

  .typewriter::before {
    content: "developer";
    animation: sequencePopup 12s linear infinite;
  }
}


@media (min-width: 768px) {
  .game-container {
    order: 2;
  }
}

@media (max-width: 767px) {
  .game-container {
    order: 1;
  }

  .word-box,
  .word-box-2 {

    margin-top: 1rem;
  }
}

.word-box,
.word-box-2 {
  display: flex;
  gap: 0.5rem;
}


.headingfont {
  font-weight: bold;
}

.game-container {
  order: 2;
}

@media (min-width: 768px) {
  .game-container {
    order: 2;
  }

  .word-box,
  .word-box-2 {
    order: 1;
  }
}

@media (max-width: 767px) {
  .game-container {
    order: 1;
  }

  .word-box,
  .word-box-2 {
    order: 2;
  }

  .word-box,
  .word-box-2 {
    margin-top: 1rem;
  }
}

.word-box,
.word-box-2 {
  display: flex;
  gap: 0.5rem;
}

.container {
  width: 100%;
  height: 100%;
  perspective: 800px;
}

.bogusimage {
  width: 600px;
  height: 500px;
  margin: 0 auto 0 auto;
  background-image: url("../images/logo/bgdck.gif");
  background-size: contain;
  background-size: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  transition: transform 0.1s;
}


/* Glassmorphism container */
.glassmorphism-container {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Review cards */
.review-card {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 280px; /* Fixed height for all cards */
}

.review-card:hover {
  transform: translateY(-5px);
}
