/* old portal
    <style>
        body {
            margin: 0;
            background-color: #001f3f;
            color: white;
            font-family: Arial, sans-serif;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
    </style>
	*/

    body {
      font-family: "Comic Sans MS", cursive, sans-serif;
      background-repeat: repeat;
      background-position: center;
	  background-size: 100% 100%;
	  background-color: MidnightBlue;
	  background-image: url("../image/fond.webp");
      animation: bgPulse 2s ease-in-out infinite alternate,
                 bgCycle 30s linear infinite;
      color: #fff;
      margin: 0;
      padding: 0;
    }
	  
    @keyframes bgPulse { 0% {background-size:100%;} 100% {background-size:115%;} }


    /* --- 6. Lien arc-en-ciel --- */
    .rainbow-link {
      color: red;
      animation: colorloop 2s infinite;
    }
    @keyframes colorloop {
      0% { color: red; }
      20% { color: orange; }
      40% { color: yellow; }
      60% { color: green; }
      80% { color: blue; }
      100% { color: violet; }
    }

.back-container {
    text-align: left;
    margin: 10px 0 10px 10px; /* marge haut / droite / bas / gauche */  
}

/* ----- Bouton retour XP ----- */
.back-btn {
  display: inline-block;   /* Garde la largeur du contenu */
  text-align: left;      /* Aligné à gauche */	
  background: linear-gradient(180deg, #cfe7ff, #8ab5e8);
  border: 2px solid #1c4fa1;
  border-radius: 6px;
  color: #001f3f;
  text-decoration: none;
  padding: 6px 12px;
  font-weight: bold;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.5), inset 0 0 3px #fff;
  transition: 0.2s ease;
}

.back-btn:hover {
  background: linear-gradient(180deg, #dfffdf, #a8f0a8);
  transform: translateY(-2px);
  box-shadow: 0 0 8px #00ff90;
}

.fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain; /* ou cover */
}


    .star {
      position: fixed;
      width: 32px;
      height: 32px;
      background: url(../image/secret.jpg);
      background-size: contain;
      pointer-events: none;
      animation: starFade 0.8s linear forwards;
      z-index: 9999;
    }
    @keyframes starFade { from{opacity:1;transform:scale(1) rotate(0deg);} to{opacity:0;transform:scale(0.1) rotate(180deg);} }
	
	
		* {
  cursor: url("../image/pouler.png") 16 16, auto !important;
}
