:root {
  --mainGreen: #429f2a;
  --mainBlue: #004393;
}

body {
  background-image: url(../img/wallpaperPompe.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.container-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 50px;
  width: 100%;
}

.right-column {
  flex: 2;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.right-column img {
  width: 100%;
  height: auto;
}

form .left-column {
  flex: 2;
  margin-left: 30px;
  margin-bottom: 100px;
}

.contact-mailto {
  flex: 1;
  width: min(560px, 92vw);
  margin: 2rem auto 6rem;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 67, 147, 0.15);
  color: var(--mainBlue);
  text-align: center;
}

.contact-mailto h1 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}

.contact-mailto p {
  margin: 0.75rem 0;
  line-height: 1.5;
}

.contact-mailto__address a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--mainGreen);
  text-decoration: none;
}

.contact-mailto__address a:hover {
  text-decoration: underline;
}

.contact-mailto__btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--mainGreen);
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.contact-mailto__btn:hover {
  background: #357a22;
}

.contact-mailto__hint {
  font-size: 0.9rem;
  opacity: 0.85;
}

.contact-mailto__privacy a {
  color: var(--mainBlue);
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  margin-bottom: 2px;
  transition: all 0.2s ease-out;
}

input[type="text"]:hover,
input[type="tel"]:hover,
input[type="email"]:hover {
  background-color: var(--mainBlue);
  color: white;
  margin-bottom: 2px;
  transition: all 0.2s ease-out;
}

.custom-navbar {
  background-color: white;
}

input {
  width: 98%;
  padding: 10px;
  margin: 10px 20px 10px 20px;
  border: 3px solid var(--mainBlue);
  border-radius: 12px;
  margin: 20rem;
}

input[type="checkbox"] {
  width: auto;
  margin-left: 10px;
  transition: all 0.2s ease-out;
  /* TODO: aggiungi grandezza scalabile checkbox*/
}
input[type="submit"] {
  background-color: var(--mainBlue);
  color: white;
  margin-left: 10px;
  transition: all 0.2s ease-out;
}

input[type="submit"]:hover {
  background-color: white;
  color: var(--mainBlue);
  transition: all 0.2s ease-out;
}

.textarea {
  margin: 20px;
  border-radius: 4px;
}

label {
  padding-bottom: 5px;
}

#foto-sede {
  width: 20vw;
}

@media screen and (max-width: 800px) {
  body {
      background: none;
  }
  
}
