body {
  background-image: url("../../quiz.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: "DINSchrift";
  color: white;
  padding-bottom: 100px;
  overflow: scroll;
  /* Spazio per il footer */
}

.main-container {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 1200px;
  margin: 2rem auto;
}

.form-label {
  font-weight: bold;
}

.form-control,
.form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #ccc;
  color: white;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 0 0 0.25rem rgba(224, 12, 25, 0.5);
  border-color: #e00c19;
}

.mandatory-note {
  font-size: 0.8rem;
  color: #fff;
}

.mandatory-star {
  color: #e00c19;
  font-weight: bold;
}

#step2,
#quiz-container,
#thank-you-message {
  display: none;
}

.attitude-card {
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  border-radius: 1rem;
  overflow: hidden;
}

.attitude-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.attitude-card .card-title {
  font-weight: bold;
  text-transform: uppercase;
}

.attitude-card.selected {
  border-color: #e00c19;
  box-shadow: 0 0 15px #e00c19;
  background-color: #e00c19 !important;
}

.attitude-card.selected h5 {
  color: white;
}

.quiz-answer {
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  border-radius: 1rem;
  overflow: hidden;
}

.quiz-answer img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.quiz-answer.selected {
  border-color: #e00c19;
  box-shadow: 0 0 15px #e00c19;
  background-color: #e00c19 !important;
}

.btn-custom {
  background-color: #e00c19;
  color: white;
  font-weight: bold;
  border: 0;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  transform: none;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #ad0914 !important;
  color: white !important;
}

.btn-custom:disabled,
.btn-secondary {
  background-color: #6c757d;
}

.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  padding: 1rem;
  text-align: center;
  z-index: 10;
}
