

body {
      margin: 0px;
      background-image: url("./media/fond.jpg");  /* nombre de tu imagen */
      background-size: cover;             /* la ajusta a la pantalla */
      background-repeat: no-repeat;       /* evita que se repita */
      background-attachment: fixed;       /* hace que quede fija al hacer scroll */
      font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }
    /* Barra */
.navbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 20px;
  background-color: rgb(16, 5, 172);
  color: white;
  border-bottom: 5px solid black;
}

/* Logo a la izquierda */
.logocontenitore { flex: 0 0 auto; }
.logo { width: 60px; border-radius: 50%; box-shadow: 1px 2px blue; }

/* Valores centrados */
.valore {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex: 1;                  /* ocupa el espacio central */
  justify-content: center;  /* centra el grupo */
  align-items: center;
}

/* Nombre a la derecha */
.nome {
  margin: 0;
  margin-left: auto;        /* 👉 empuja el nombre hacia la derecha */
  font-weight: 700;
  white-space: nowrap;      /* evita salto de línea del nombre */
}

/* (Opcional) Responsive: en pantallas chicas apila en 2 líneas */
@media (max-width: 700px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nome { order: 3; width: 100%; text-align: right; }
}
/*
nav{
    background-color: rgb(16, 5, 172);
    color:white;
    min-height: 20px;
    display: flex;
    border-bottom: 5px solid black;
    
}

.logocontenitore{
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.logo{
    width: 60px;
    box-shadow: 1px 2px blue;
    border-radius: 50%
}
.navLinks{
    list-style:none;
    display: flex;
    align-items: center;
    width: 80%;
    justify-content: space-between;

}

.nome{
    display: flex;
    justify-content: center;
}
*/
header{
    background-image: url("./media/Fondo1.jpg");
    height: 40vh;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px rgba(34, 40, 168, 0.889);
    background-attachment: fixed;

}




.titolo1{ 
    font-size: 80px;
    text-align: center;
    flex-direction: column;
        
}

.sottotitolo{ 
    font-size: 30px;
    text-align: center;
    text-shadow: 2px 2px rgba(34, 40, 168, 0.889);

}

/* sezione */
.sezione{
    min-height: 70vh;
    border-top: 8px solid rgb(6, 6, 46);
    border-bottom: 8px solid  rgb(6, 6, 46);
    background-image: url(./fond.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-attachment: fixed;

}

.titolosezione{
    font-size: 70px;
    text-align: center;
    text-shadow: 2px 2px rgba(196, 212, 244, 0.775);
    color: rgb(24, 19, 123);   
}

.titolocontenitore{
    font-size: 30px;
    font-weight: 200;
    text-decoration: underline;     
    background-color: rgba(2, 2, 22, 0.171);
    text-align: left;
    
    
}
.contenitore-servizi {
  display: flex;                    
  padding: 20px;
}

.contenitoregenerale{
    font-size: 20px;
    font-weight: 400;
    text-decoration:wavy;    
    min-height: 250px;
    width: 450px;
    display:flex;
    border: 4px solid black;
    border-radius: 20px;
    margin-left: 200px;    
    flex-direction: column;
    justify-content: center;
    box-shadow: 5px 5px rgba(14, 17, 68, 0.908);    
}

.sottotitoloart{
    font-size: 20px;
    font-weight: 300;
}

.titoloarticolo1{ 
    font-size: 30px;
    font-weight: 400;
    text-decoration: underline;    
}

.sottotitoloart1{
    font-size: 20px;
    font-weight: 300;
}


/* sezzione form */

.sezioneform{    
    min-height: 80vh;
    border-bottom: 8px solid  rgb(6, 6, 46);
    background-image: url("./media/Fondo1.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
}
form{
    
    min-height: 350px;
    width: 800px;
    background-color: rgba(2, 2, 22, 0.171);
    display: flex;
    border: 4px solid black;
    border-radius: 20px;
    margin: 0 auto 40px auto;     
    flex-direction: column;
    justify-content: center;
    box-shadow: 2px 2px rgba(34, 40, 168, 0.889);
    text-align: center;
}

.titoloform {
    font-size: 30px;
    font-weight: 400;
    font-size: 50px;
    text-align: center;
    text-shadow: 2px 2px blue;
}

.sottotitoloform{
    font-size: 30px;
    font-weight: 400;
    font-size: 30px;
    color: rgb(10, 23, 58);
    text-align: center;
    text-shadow: 2px 1px rgb(0, 0, 240);
    justify-content: center;
}

.dati{
    font-size: 20px;
    font-weight: 300;
    justify-content: space-around;
    text-align: justify;
    flex-direction: column;
    display: flex;
    margin: 10px;
}

.ContenitoreInput{
    display: flex;
    flex-direction: column;
    margin: 10px;
}

label{
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 5px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;    
}

button{
    width: 80px;
    height: 40px;
    font-weight: bold;
    font-size: large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    border: 2px solid whitesmoke;
    border-radius: 15px;
    background-color: rgb(34, 11, 204);
    box-shadow: 2px 2px rgb(255, 255, 255);
    
}

.ContenitoreBottoneForm{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}



/* footer */

.contenitoreCopyright{
    display: flex;
    align-items: center;
    justify-content: space-around;
}


.titolofooter{
    min-height: 50px;    
    font-size: large;
    font-weight: 500;
    color: rgb(2, 9, 15);
}

.sottotitolofooter{
    
    background-size: cover;
    min-height: 70px;    
    font-size: large;
    font-weight: 500;
    color: rgb(13, 16, 19);
}