@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,600;0,900;1,100;1,200;1,300;1,600;1,900&family=Roboto:ital,wght@1,100&display=swap');

body {
  margin: 9px;
  padding: 0px;
  font-family: 'Raleway', sans-serif;
  text-align: center;
}


h1 {
    font-size: 50px; 
    color: #FFEBCD;

}
h2 {
    font-size: 50px; 
    color: #ECE4B7;
    font-family: 'Roboto', sans-serif;
}
h3 {
    text-align: center;
    color: #ECE4B7;
    background-color:#B5B682; 
  }
h5 {
    font-size: 50px; 
    color: #FFEBCD;
  }
  
p1 {
    color: #ECE4B7;
    font-size: 25px;
}
p2 {
    color: #ECE4B7;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
}
p3 {
    color: black;
    font-size: 20px;
    font-family: 'Raleway', sans-serif;
    text-align: center;
}

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("immagini/sole nero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.3;
  z-index: -1;
}
.custom-img-size {
  width: 100%;
  height: 100%; 
}


img {
  width: 400px;
  height: 350px;
  margin: 15px;
  padding: 3px;
  
}

header {
  background-color: #00171F;
  color: #00171F;
  text-align: left;
  padding: 5px;
  position: sticky;
  top: 0px;
  z-index: 999;

  
}

nav {
  background-color:  #00171F;
  color:  #ECE4B7;
  padding: 3px;
  
  
}

nav ul {
  list-style-type: none;
  margin: px;
  padding: 5px;
  overflow: hidden;
  
}

nav li {
  float: left;
}

nav li a {
  display: block;
  color: #ECE4B7;
  text-align: left;
  padding: 15px 30px;
  text-decoration: none;

}

nav li a:hover {
  background-color: #1B3244;
  box-shadow:
   -1px -1px 20px 0px rgba(236, 228, 183, 1),
   -4px -4px 5px 0px rgba(236, 228, 183 ,1),
   7px 7px 20px 0px rgba(0,0,0,.4),
   4px 4px 5px 0px rgba(0,0,0,.3);
}

main {
  padding: 20px;
}

/*form*/
.form-container {
  margin: 10px 0;
  padding: 30px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: bold;
  color: #00171F;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid #ccc;
}
/*check box privacy*/
.privacy-text {
  margin-top: 10px;
  font-size: 15px;
  color:  blue;
}
.checkbox-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f0f0f0;
  color:  #ECE4B7;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.checkbox-btn:hover {
  background-color: #ccc;
}
.checkbox-btn:checked {
  background-color: #55b957;
  color: #fff;
}
/*fine check box privacy*/

/* Stile per l'avviso sui cookie */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color:#00171F;
    color: #fff;
    text-align: center;
    padding: 10px;
    z-index: 9999;
}

.cookie-message {
  font-size: 14px;
  color: white;
  margin-right: 10px;
  z-index: 9999;
}

.accept-cookie {
    background-color: blue;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.accept-cookie:hover {
    background-color: #FFEBCD;
}

#back-to-top-button {
  display: none; 
  
  /* Nascondi il pulsante inizialmente */
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: salmon;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

footer {
  background-color: #ECE4B7;
  color:  #00171F;
  text-align: center;
  padding: 10px;
}



/* Stili per la responsive design */
@media only screen and (max-width: 900px) {
  nav li {
    float: none;
    display: inline-block;
  }
  nav li a {
    padding: 10px;
  }
}
@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
    font-size: 12px;
    }
