body {
  background-color: #faf8f5;
  background-size: cover;     /* l'immagine riempie lo spazio senza deformarsi */
  background-position: center; /* centrata orizzontalmente e verticalmente */
  background-repeat: no-repeat; /* non si ripete */
}



.container {
  margin-top: 50px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  opacity: 0.9;
}

h1 {
  color: #343a40;
  font-weight: bold;
  max-width: 700px;
  margin: auto;
}

.description {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 700px;  
  margin: auto;
}

.regolamento {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 20px;
}



.btn-whatsapp {
  background-color: #25D366;
  color: white;
  font-size: 1.2rem;
}

.btn-whatsapp:hover {
  background-color: #1EB341;
  color: white;
}

.btn-richiesta {
  background-color: #1916ce;
  color: white;
  font-size: 1.2rem;
}

.btn-richiesta:hover {
  background-color: #151385;
  color: white;
}

.immagine  {
  max-width: 400px;
  max-height: 400px;
}

@media (max-width: 768px) {
  .immagine {
    max-width: 250px;
    max-height: 250px;
  }
}

.carousel-cell {
  margin-right: 20px; /* Spazio a destra di ogni cella */
}

b{
  color:black;
}

.langToolbar {
  text-align: center;
  background-color: #EEEEEE;
  width: 98%;
  margin: auto;
  border-radius: 10px;
  padding-bottom: 3px;
  padding-top: 3px;
  max-width: 400px;
}

.langIco {
  width: 80%;
  cursor: pointer;
  max-width: 48px;
}

.form-check-input {    
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    margin-right: 0.6rem !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65% 65%;
    transition: background-color 0.15s ease, border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.form-check-input:checked {
    background-color: #001f3f;
    border-color: #001f3f;
    /* Check icon (inline SVG) */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M12.97 4.97a.75.75 0 010 1.06L7.477 11.53a.75.75 0 01-1.06 0L3.03 8.142a.75.75 0 111.06-1.06L6.948 9.94l4.963-4.97a.75.75 0 011.06 0z' fill='%23fff'/%3e%3c/svg%3e");
}

/* Hover feedback */
.form-check-input:hover {
    border-color: #888;
}

/* Keyboard focus ring */
.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 31, 63, 0.25);
}

/* Disabled state */
.form-check-input:disabled {
    cursor: not-allowed;
    background-color: #f2f2f2;
    border-color: #e0e0e0;
}

/* Explicit large size helper if used alongside Bootstrap */
.form-check-input-lg {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
}

.imgEmbB64 {
    margin: auto;
    width: 80%;
    max-width: 1024px;
    display: block; /* utile per centrare l'immagine */
}

/* Su mobile (max 768px) la larghezza diventa 100% */
@media (max-width: 768px) {
    .imgEmbB64 {
        width: 100%;
    }
}

/* Sets the background image for the wheel */
.the_wheel
{
    background-image: url(../../js/wheel/wheel_back.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70%; /* Reduced by 30% to match wheel size */
    background-color: transparent;
    margin: 10px auto; /* Reduced from 40px to 10px */
    width: 100%;
    max-width: 616px; /* 880 * 0.7 = 616px (30% reduction) */
    height: auto;
    aspect-ratio: 1 / 1; /* Changed to square to reduce vertical space */
    position: relative;
    padding: 0;
    /* Sfuma i bordi dell'immagine di sfondo */
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 45%, transparent 95%);
    mask-image: radial-gradient(ellipse 80% 80% at center, black 45%, transparent 95%);
}

/* Canvas styling for proper centering */
.the_wheel canvas {
    position: absolute;
    display: block;
}

.testoWin {
    font-family: 'Fredoka One', cursive;
    font-size: 38px; /* Adatta la dimensione come preferisci */
    color: black; /* Colore del testo */
    text-shadow: 
        -1px -1px 0 white,  /* Bordo viola scuro */
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white; /* Ombra per il contorno spesso */
    /* Puoi anche aggiungere un effetto luccicante con altre proprietà,
       ma questo rende il testo molto simile a quello nell'immagine. */
}