/* Nollställ och gör layouten responsiv */
* {
       -webkit-touch-callout: none;
       -webkit-user-select: none;
       -khtml-user-select: none;
       -moz-user-select: none;
       -ms-user-select: none;
        user-select: none;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* förhindra scroll på mobil */
  background: #000000; /* mörk bakgrund bakom stjärnorna */
}

/* Canvas bakom allt */
#canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Centrera snurret / logotypen */
.centerpiece {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* ovanpå canvas */
  text-align: center;
}

.centerpiece img {
  max-width: 80vw;  /* gör att loggan skalar ner på mobil */
  height: auto;
}

.pulse {
  display: inline-block;
  width: 100px;
  height: 100px;

  border-radius: 30%;
  animation: pulse 1.5s infinite;
    width: 300px;
  height: 300px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);

  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.redirect-btn {
  display: block;
  margin: 16px auto 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.redirect-btn img {
  width: 64px;   /* ändra storlek här */
  height: 64px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

.redirect-btn:hover img,
.redirect-btn:focus img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
/* Puls + Glow på 3Fas-bilden */
#pulseImg {
  animation: pulseGlow 2s infinite ease-in-out;
}

/* Keyframes för både storlek + glow */
@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 2px #ff1a1a)
            drop-shadow(0 0 6px #ff1a1a)
            drop-shadow(0 0 12px #ff3333);
  }
  50% {
    transform: scale(1.2);
    opacity: 0.85;
    filter: drop-shadow(0 0 2px #ff1a1a)
            drop-shadow(0 0 6px #ff1a1a)
            drop-shadow(0 0 12px #ff3333);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 2px #ff1a1a)
            drop-shadow(0 0 6px #ff1a1a)
            drop-shadow(0 0 12px #ff3333);
  }
}
