/* Lavora con noi - Main section */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30vh 20px;
  background: #f9f9f900;
}

/* Form section */
section {
  max-width: 480px;
  width: 100%;
  background: #ffffff;
  border: 3px solid #000;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 32px;
}

/* Heading */
h1 {
  margin: 0 0 10px;
  font-size: 2rem;
  text-transform: uppercase;
  color: #E65100;
  text-align: center;
}

/* Intro paragraph */
p {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

footer p {
color: #9ca3af;}

/* Form labels */
label {
  display: block;
  margin-bottom: 18px;
  font-weight: 700;
  color: #000;
}

/* Form inputs and textarea */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  border: 2px solid #000;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

textarea {
  resize: none;
}

/* Submit button */
button[type="submit"] {
  width: 100%;
  padding: 14px 0;
  background: #E65100;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

button[type="submit"]:hover {
  background: #FF7043;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

button[type="submit"]:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #000;
}

@media (min-width: 768px) {
  main {
    padding: 10vh 20px;
  }
}

/* Responsive */
@media (max-width: 480px) {
  main {
    padding: 5vh 20px;

  }

  section {
    padding: 24px;
  }

  h1 {
    font-size: 1.5rem;
  }

  label {
    margin-bottom: 15px;
    font-size: 0.95rem;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    padding: 10px;
    font-size: 1rem;
  }

  button[type="submit"] {
    padding: 12px 0;
    font-size: 0.95rem;
  }
}
