main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
  width: 80%;
  padding-left: 10%;
  margin-top: 90px;
}
.alert{
  font-style: italic;
}
.red{
  color: var(--titoli);
}
.info a{
  color: var(--titoli);
  text-decoration: underline;
}
.info a:hover{
  color: var(--hover);
}
.btn{
  margin-top: 20px;
  margin-bottom: 20px;
}
.corso {
  background: linear-gradient(to right, var(--bg_contenuti), #f9f9f9);
  border: 2px solid var(--hover);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 1000px;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  text-align: left;
  transition: transform 0.3s ease;
}

.corso:hover {
  transform: scale(1.01);
}

.corso h2 {
  margin-top: 0;
  color: var(--hover);
}

.corso h3 {
  font-style: italic;
  color: var(--sottotitoli);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.corso h4 {
  font-weight: bold;
  margin-top: 1.2rem;
  color: var(--sottotitoli);
}

.corso ul {
  padding-left: 1.5rem;
  font-size: 18px;
}

#orari{
    width: 300px;
    height: auto;
}

/* RESPONSIVE */
/* smartphone */
@media screen and (min-width: 320px) {
  .corso ul {
    font-size: 18px;
  }
}
/* tablet */
@media screen and (min-width: 500px) {
  .corso ul {
    font-size: 20px;
  }
}
/* netbook */
@media screen and (min-width: 1024px) {
  .corso ul {
    font-size: 24px;
  }
}
/* desktop */
@media screen and (min-width: 1397px) {
  .corso ul {
    font-size: 24px;
  }
}
