/* Importa lo stile base */
@import url('styleLab25.css');


/* Stile specifico per la pagina FAQ */
.faq {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  position: relative;
}

.faq:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.5);
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.faq-item {
  background-color: #f5f5f5;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 20px;
  width: 45%;
  margin-bottom: 20px;
  border-radius: 15px; /* Aggiunge angoli arrotondati */
  position: relative;
  z-index: 2;
  transition: all 0.3s ease-in-out; /* Aggiunge transizione */
}

.faq-item:hover,
.faq-item:focus {
  transform: scale(1.1); /* Allarga il riquadro */
}

.faq-item h3 {
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .faq-item {
    width: 100%;
  }
}
