/* Reset och grundinställningar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  position: relative;
  background-color: #4e0f04; /* mörkröd/brun */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
}

/* Splash-container */
.splash {
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  padding-bottom: 3rem; /* plats för footern */
}

/* Logotyp-animering */
.logo {
  max-width: 60%;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 1.5s ease-out forwards;
}

/* Hint-text */
.hint {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  font-family: sans-serif;
  font-size: 1rem;
  opacity: 0;
  animation: fadeIn 2.5s ease-out forwards;
}

/* Footer */
.footer {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  text-align: center;
  font-family: sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Keyframes */
@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Fade-out vid klick */
body.fade-out .splash {
  opacity: 0;
}

/* Mobilanpassning */
@media (max-width: 600px) {
  .logo {
    max-width: 80%;
  }
  .hint {
    font-size: 0.9rem;
  }
  .footer {
    font-size: 0.7rem;
  }
}
