/* 🌸 fond global */
body {
  margin: 0;
  font-family: Georgia, serif;
  background-image: url("photo/télécharger (4).png");
  background-repeat: repeat;
  background-size: auto;

  color: #2e2e2e;

  cursor: url("curseur/ezgif-6061a353d312551a.png") 16 16, auto;
}

/* 📦 layout principal */
.container {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 20px;
  padding: 20px;
}

audio {
  width: 180px;   /* petit lecteur style rétro */
  opacity: 0.9;
}


/* 🟡 sidebars */
.sidebar,
.rightbar {
  background: #E8D387;
  padding: 15px;
  border: 3px solid #aaa;
  box-shadow: 6px 6px 0 #999;
}

/* 📋 menu */
.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 8px 0;
  letter-spacing: 2px;
}

/* 💖 contenu central */
.content {
  background: #DB72A7;
  padding: 20px;
  border: 3px solid #bbb;
  position: relative;
  box-shadow: 6px 6px 0 #999;
}

/* 🏷️ titre */
.title {
  font-size: 48px;
  text-align: center;
  font-family: "Times New Roman", serif;
  color: #e6cfcf;
  text-shadow: 2px 2px #555;
  margin-bottom: 10px;
}

/* 📄 blocs papier */
.paper {
  background: #B8E3DE;
  border: 2px solid #cfcfcf;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.1);
  background-image: url("https://www.transparenttextures.com/patterns/paper.png");
}

/* 📐 colonnes */
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* 🖼️ orques décoratives */
.orca {
  position: fixed;
  width: 150px;
  opacity: 0.9;
}

.orca.top {
  top: 20px;
  left: 300px;
}

.orca.bottom {
  bottom: 50px;
  right: 375px;
  transform: scaleX(-1);
}

/* 🏷️ images sidebar */
.stamp img {
  width: 100%;
  margin-top: 10px;
}

.blinkies img {
  width: 100%;
  margin-top: 5px;
}

/* ✨ étoiles souris */
.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;

  background: radial-gradient(circle, white 0%, #bcdfff 40%, transparent 70%);
  border-radius: 50%;

  box-shadow:
    0 0 6px white,
    0 0 12px #aeefff,
    0 0 18px #7fdfff;

  animation: sparkleFade 0.8s linear;
}

/* ✨ animation étoiles */
@keyframes sparkleFade {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.3);
    opacity: 0;
  }
}

/* ✨ petit fade optionnel */
@keyframes fade {
  to {
    opacity: 0;
    transform: scale(0.4);
  }
}

/* 💖 GLITTER SLIDER */
.slider-box {
  position: relative;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: 0 0 15px #fff, 0 0 25px pink;
  border-radius: 10px;
}

/* images slider */
.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
}
.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
  align-items: center;
  min-height: 0;
}

/* images qui gardent leur taille naturelle */
.slides img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  display: block;
  border-radius: 6px;
}

.slider-box {
  position: relative;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: 0 0 15px #fff, 0 0 25px pink;
  border-radius: 10px;
  display: flex;
  align-items: center;
}

/* flèches */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 12px;
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0 0 10px white;
}

.arrow:hover {
  background: white;
}

.left {
  left: 8px;
}

.right {
  right: 8px;
}

/* ✨ glitter titre slider */
.slider h2 {
  text-shadow: 0 0 10px white, 0 0 20px pink;
}

/* ✨ animation sparkle slider */
.slider-box::before {
  content: "✨ ✦ ✨ ✦ ✨";
  position: absolute;
  top: -15px;
  left: 10px;
  font-size: 14px;
  color: white;
  animation: sparkleMove 2s infinite linear;
}

@keyframes sparkleMove {
  0% { transform: translateX(0); opacity: 0.4; }
  50% { opacity: 1; }
  100% { transform: translateX(10px); opacity: 0.4; }
}