.mircopagne-wrappez {
  width: 888px; /* Largeur du cadre (et de l'image) */
  height: auto; /* Hauteur du cadre (et de l'image) */
  background-image: url("golden-frame.svg"); /* Charger le SVG depuis le fichier */
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.mircopagne-wrappez img {
  width: 777px; /* Ajuste la taille de l'image pour qu'elle s'insère dans le cadre */
  height: auto;
  position: absolute;
  top: 20px; /* Positionner l'image correctement à l'intérieur du cadre */
  left: 20px;
  border-radius: 5px; /* Optionnel : arrondir les coins de l'image pour s'adapter au cadre */
}

#mircopagne-wrappez {
  display: grid;
  justify-content: center;
  gap: 3rem;
}

#mircopagne-wrappez img {
  width: 100%;
}

.frame-container {
  perspective: 1000px;
}

.image-frame .bejitass {
  width: 100%;
  height: auto;

  position: absolute;
  top: 0;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(10deg);
}

.image-frame::before,
.image-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 10px solid #ffd700; /* Couleur dorée */
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.5),
    0 0 45px rgba(255, 215, 0, 0.3);
}

.image-frame::before {
  transform: translateZ(-20px);
  border-color: #ffec8b; /* Couleur dorée plus claire pour la profondeur */
  box-shadow: 0 0 10px rgba(255, 236, 139, 0.7),
    0 0 20px rgba(255, 236, 139, 0.5), 0 0 30px rgba(255, 236, 139, 0.3);
}

.image-frame img {
  width: auto;
  height: 100%;
  max-height: 66rem;
  border-radius: 5px;
  transform: translateZ(40px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}
