* {
 /*  font-family: Roboto, sans-serif !important;
  */
  font-family: Montserrat, sans-serif !important;
  color: #0d3b66;
}
h2 {
  font-size: 45px;
}
h3 {
  font-size: 30px;
}
p {
  font-size: 20px;
  margin-top: -30px;
}
.maincontainer {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-template-areas:
    "top-nav"
    "diving"
    "newsletter"
    "footer";
}
.item-a {
  grid-area: top-nav;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
.item-b {
  grid-area: diving;
  padding-left: 10%;
  padding-right: 10%;
}
.item-c {
  grid-area: newsletter;
  padding-left: 10%;
  padding-right: 10%;
}
.item-h {
  grid-area: footer;
}
.diving {
  margin-top: -100px;
  background-position: 50% 50%, 50% 50%;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-image: url("../images/ischia_diving_site_bg_blue_wave_top.png");
  /* min-width: 1140px; */
  max-width: 100%;
}
.divinginfo {
  margin-top: 350px;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(13, 59, 102, 0.15);
  margin-bottom: 50px;
}
.divingdettaglicontainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-template-areas: "divingdettagli divingmap";
  margin-bottom: 50px;
}
.item-j {
  grid-area: divingdettagli;
  text-align: left;
}
.item-k {
  grid-area: divingmap;
}
.divingmap {
  display: block;
  text-align: left;
  z-index: 1;
}
.newsletter {
  border-color: #0d3b66;
  border-width: 3px;
  border-style: double;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-template-areas: "newsletterform social";
}
.newsletter h2 {
  font-size: 3rem;
  font-weight: 700;
  font-family: Ubuntu, sans-serif !important;
}
.newsletterform {
  padding-left: 20%;
}
.social {
  padding-right: 10%;
}
.custom-form {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}
.custom-form label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.custom-form input,
.custom-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.custom-form button {
  width: 100%;
  padding: 10px;
  background: #0d3b66;
  color: white;
  border: none;
  border-radius: 4px;
  margin-top: 15px;
  cursor: pointer;
  font-size: 16px;
}

.custom-form button:hover {
  background: #092a4e;
}
.privacy-label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem; /* spazio tra checkbox e testo */
  font-size: 14px;
  line-height: 1.5;
  flex-wrap: wrap;
}
.privacy-label input[type="checkbox"] {
  margin: 0;
}
.privacy-label a {
  color: #0d3b66; /* colore coerente col tuo sito */
  text-decoration: underline;
}

@media (max-width: 890px) {
  .diving {
    background-color: #fff;
    text-align: left;
    padding: 10%;
    align-items: left;
    min-width: 500px;
    margin-top: 1;
  }
}

@media (max-width: 768px) {
  .diving {
    min-width: 350px;
  }
  .divingdettaglicontainer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "divingdettagli" "divingmap";
  }
  .divingmap {
    max-width: fit-content;
    align-items: left;
  }
  .newsletter {
    border-color: #0d3b66;
    border-width: 3px;
    border-style: double;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "newsletterform" "social";
    width: 100%;
    text-align: center;
  }
  .newsletterform {
    padding: 20px;
  }
}
