/*    CSS SURVEY   */
/* Stili generali */
body {
  background-color: #000000;
  color: #fff;
  font-family: "Outfit", sans-serif !important;
  font-size: 16px;
}

#domande {
    /*max-width: 90%;*/
    margin: 0 auto;
    padding: 20px 20px 0 20px;
    width: 95%;
}

.domanda {
  background-color: white;
  border-radius: 10px;
  padding: 50px;
  margin: 0 auto;
  transition: opacity 0.3s ease-in-out;
  color: black;
}

h2 {
  color: #33CCCC;
  line-height: 120%;
  font-family: "Outfit", sans-serif;
  font-weight: 200;
}

p {
  margin-bottom: 10px;
}

/* Stili degli input */
input[type="radio"], input[type="text"] {
    margin-right: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    color: #333;
    height: auto;
    width: auto;
}

input[type="text"] { width: 100%; }

/* Stile al passaggio del mouse */
input[type="radio"]:hover,
input[type="text"]:hover {
  background-color: #e0e0e0;
}

/* Stile al focus */
input[type="radio"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: #33CCCC;
  box-shadow: 0 0 5px rgba(51, 204, 204, 0.5);
}

input[type="text"] { margin-top: 1em; }

.right {text-align: right;}

label { 
display: inline !important;
}

/* Stili dei pulsanti */
button.pulsante {
  background-color: #33CCCC;
  color: #333;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  margin-right: 10px;
  margin-top: 2em;
}

button.pulsante:hover {
  background-color: #00b3b3;
}

.pulsante {
  background: linear-gradient(to bottom, #33CCCC 0%, #00b3b3 100%);
  color: white;
  border: none;
  border-radius: 3px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.pulsante:hover {
  background: linear-gradient(to bottom, #00b3b3 0%, #33CCCC 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#fineSondaggio {
  text-align: center;
}

/* Stile per la barra progressiva */
.progress-container {
  width: 100%;
  margin-top: 20px;
  height: 20px;
  background-color: #f0f0f0;
  border-radius: 20px;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: #33CCCC;
  border-radius: 20px;
  transition: width 0.5s ease-in-out;
}

.progress-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #fff;
  border: 2px solid #33CCCC;
  border-radius: 50%;
  transition: left 0.5s ease-in-out;
}

/* Aggiungi i segnalini di progresso */
.progress-container::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background-color: #ccc;
  z-index: -1;
}

.progress-container::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(10% * 1);
  height: 2px;
  background-color: #33CCCC;
  z-index: -1;
  transition: width 0.5s ease-in-out;
}

/* Aggiorna la posizione del segnalino di progresso */
#progresso {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
  position: relative;
}

/* Aggiungi animazione alla transizione della barra di progresso */
#progresso::-webkit-progress-value {
  background-color: #33CCCC;
  border-radius: 20px;
  transition: width 0.5s ease-in-out;
}


footer {
  background-color: #212121; 
  color: #fff; 
  padding: 15px 0; 
  font-size: 11px; 
  left: 0; 
  right: 0; 
  z-index: 999;	
  bottom: 0;
  width: 100%;

}

@media (min-width: 768px) {
  footer {
    position: fixed;
    bottom: 0;
  }
}

footer a {
  color: #fff; /* Cambia colore dei link */
}

footer a:hover {
  text-decoration: underline; /* Sottolinea i link al passaggio del mouse */
}





