#iframeGioco {
    display: block !important;
    margin: 0 auto !important;
    width: 100% !important;
    height: 100vh !important;
    border: none !important;
    overflow: hidden !important;
    background-color: #f1f2f2 !important;
}

#iframeCarosello {
	width: 100%;
	margin: 0 auto !important;
  height: 100vh;  
  border: none !important; 
  background-color: #f1f2f2 !important;
}

.jetpack-notes-cookie-check {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
}

.breathing-circle {
  position: relative;
  display: flex; /* Utilizziamo Flexbox */
  justify-content: center; /* Centriamo l'immagine orizzontalmente */
  align-items: center; /* Centriamo l'immagine verticalmente */
  margin: 0 auto; /* Centra il contenitore rispetto al genitore */
  width: 240px; /* Dimensione del cerchio */
  height: 240px; /* Uguale alla larghezza per il cerchio perfetto */
  border-radius: 50%; /* Forma circolare */
  animation: breathingEffect 2s infinite alternate;
  transition: box-shadow 0.6s ease-in-out;
  box-shadow: 0 0 30px #cd0c89; /* Ombra iniziale */
  overflow: hidden; /* Limita l'immagine al contenitore */
}

.breathing-circle img {
  width: 100%; /* L'immagine si adatta al contenitore */
  height: 100%; /* Si adatta al cerchio */
  border-radius: 50%; /* Mantiene l'immagine circolare */
  display: block;
}

/* Effetto "breathing" */
@keyframes breathingEffect {
  0% {
    box-shadow: 0 0 10px #cd0c89;
  }
  50% {
    box-shadow: 0 0 30px #e068a2;
  }
  100% {
    box-shadow: 0 0 10px #cd0c89;
  }
}

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

.wp-image-1472 {
  animation: pulse 2s infinite;
  transition: transform 0.3s ease-in-out;
	position: absolute;
  top: 30%;
  right: 0%;
  z-index: 999;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card-flip {
  background: transparent;
  width: 250px;
  height: 250px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.card-flip:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 15px;
  box-sizing: border-box;
}

.card-front {
  background-color: #fefefe;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-front h3 {
  margin: 0;
  font-size: 1.2em;
}

.card-back {
  background-color: #ffe0ec;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-back p{
	text-align:center;
}

.card-back a {
  margin-top: 10px;
  color: #d6336c;
  text-decoration: none;
  font-weight: normal;
}

.card-back a.card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.card-back-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card-front .img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* Mantiene proporzione quadrata */
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card-front p{
	text-align:center;
}