/* Base page styles */
body,
html {
  margin: 0;
  padding: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: system-ui, sans-serif;
  font-weight: normal;
  position: relative;
  width: 100%;
  background: #111 url('./assets/bg.jpeg');
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

body:before {
  content: '';
  background: #111;
  position: absolute;
  width: 100%;
  height: 100%;
  filter: blur(100px);
  opacity: 0.75;
  z-index: -1;
}

#neural {
  position: absolute;
}
header .logo {
  cursor: pointer;
  margin-block: 5rem;
}

header .logo svg {
  width: 500px;
  height: 100px;
  fill: rgb(0, 255, 255);
  transition: fill 0.3s ease;
  animation: glow 2s infinite alternate ease-in-out;
  @media (prefers-color-scheme: dark) {
    fill: rgb(156, 217, 249);
  }
}

.contianer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.contianer svg#cogito {
  max-width: 75%;
  width: 320px;
  height: 100%;
  fill: rgb(0, 255, 255);
  cursor: pointer;
  transition: fill 0.3s ease;
  animation: glow 2s infinite alternate ease-in-out;
  @media (prefers-color-scheme: dark) {
    fill: rgb(156, 217, 249);
  }
}

/* Card appearance for logos */
.card {
  display: none; /* Initially hidden */
  background-color: #444; /* Dark grey for contrast */
  color: #fff;
  border-radius: 8px;
  margin: 20px 0;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Initial states for SVG logos within the main */
#iggy,
#pinno,
#nora {
  cursor: pointer;
  transition: fill 0.3s ease;
}

/* When logos are clicked, show cards with detailed information */
/* Use JavaScript to toggle these classes based on interaction */
.card.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.card.hidden {
  opacity: 0;
  transform: translateY(-20px);
}

/* Specific target colors for SVG interaction, assuming you'll use JavaScript to add these classes */
.active-iggy #iggy {
  fill: #e63946;
} /* Example: Change Iggy to Red */
.active-pinno #pinno {
  fill: #f4f1de;
} /* Example: Change Pinno to Off-white */
.active-nora #nora {
  fill: #a8dadc;
} /* Example: Change Nora to Teal */

footer {
  margin-top: auto;
  padding: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #fff;

  a {
    color: #fff;
  }
}

/* Light ness  glow animation */
@keyframes glow {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.5))
      drop-shadow(0 0 6px rgba(0, 255, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.4))
      drop-shadow(0 0 8px rgba(0, 255, 255, 0.5));
  }
}

@media (prefers-color-scheme: dark) {
  /* Dark ness  glow animation */
  @keyframes glow {
    0%,
    100% {
      filter: drop-shadow(0 0 4px rgba(156, 217, 249, 0.5))
        drop-shadow(0 0 6px rgba(156, 217, 249, 0.3));
    }
    50% {
      filter: drop-shadow(0 0 5px rgba(156, 217, 249, 0.4))
        drop-shadow(0 0 8px rgba(156, 217, 249, 0.5));
    }
  }
}
