html {
  min-height: 100%;
  background: linear-gradient(to bottom right, #a6c8ff, #e0f3ff);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: transparent;
  color: #222;
  overflow-x: hidden;
}

.container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
}

h1 {
    text-align: center;
}

.contact-form {
    width: 100%;
    margin: 20px 0;
    padding: 0 0 20px;
    border: none;
    border-radius: 0;
    background: transparent;
    text-align: left;
}

.contact-form-wide {
    width: 100%;
}

.contact-form label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    box-sizing: border-box;
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 10px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}

.contact-form button[type="submit"]:hover {
    opacity: 0.9;
}

.dive-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
    margin-top: 20px;
}

.dive-2 {
    width: 300px;
}

.img-lorenzo,
.img-yassine {
    width: 100%;
    cursor: pointer;
    height: 320px;
}

.descrizione-team {
    display: none;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
}

footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: none;
}

.ul-1 {
    list-style-position: inside;
    padding-left: 0;
    text-align: center;
    margin: 0;
}

.errori-js {
  color: red;
  margin-bottom: 10px;
}

@media (min-width: 768px) {


    .contact-form {
        max-width: 460px;
        margin: 20px auto;
        padding: 25px;
        box-shadow: 0 10px 30px rgb(0,0,0,0.9);
        border-radius: 1rem;
        background-color: #f9f9f9;
    }

    .contact-form-wide {
        max-width: 460px;
    }

    .dive-1 {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 60px;
    }

}
