*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


body{
  font-family: Arial, sans-serif;
  background-color: white;
}


html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/*HEADER*/
.header{
  height: 600px;
  width: 100%;
  background-image: linear-gradient(rgba(3, 6, 19, 0.496),rgba(3, 6, 19, 0.558)),url(images/sfondo_personalizzato.png);
  background-position: center;
  background-size: cover;
  position: relative;
  min-width: 300px;
}

.header2{
  height: 250px;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  min-width: 370px;
}

/*BARRA DI NAVIGAZIONE*/
nav{
  display: flex;
  width: 100%;
  height: 80px;
  justify-content: space-between;
  align-items: center;
  background: white;
  position:fixed;
  z-index: 7;
}

/*LOGO*/
nav img{
 width: 120px;
 margin-left: 10px;
}

/*PAGINE NAV BAR*/
.nav-links{
  flex: 1;
  text-align: right; 
}

.nav-links ul{
margin-right: 20px;
}

.nav-links ul li{
  list-style: none;
  display: inline-block;
  padding: 8px 8px;
  position: relative;
}

.nav-links ul li2{
  list-style: none;
  display: inline-block;
  padding: 11px 24px;
  position: relative;
  background-color:#2B375F;
  border-radius: 15px;
}

.nav-links ul li a{
  color: #2B375F;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links ul li2 a{
  color: white;
  text-decoration: none;
  font-size: 14px;
}


.nav-links ul li a::after{
  content: '';
  width: 0%;
  height: 2px;
  background: rgb(12, 12, 52);
  display: block;
  margin: auto;
  margin-top: 3px;
  transition: 0.5s;
}

.nav-links ul li a:hover::after{
  width: 100%;
}

nav .fa{
  display: none;
}

nav .fa-bars{
  background:rgb(12, 12, 52);
}

 /*cover*/
 .text-box{
    width:670px;
    color: white;
    position: relative;
    margin: auto;
    text-align: center;
    z-index: 4;
    top: 150px;
 }

 .text-box h1{
   font-size: 55px;
 }

 .text-box p{
    margin: 10px 0px 10px;
    margin-bottom: 40px;
    font-size: 24px;
    color: white;
  }

  .text-box p1{
    margin: 10px 0px 40px;
    margin-bottom: 60px;
    margin-left: 3px;
    font-size: 15px;
    color: white;
  }

  .text-box p2{
    font-size: 23px;
    color: white;
  }

  .hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    margin-right: 20px;
  }

  .hero-btn2{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
  }

  .hero-btn3{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
  }

  .hero-btn4{
    display: inline-block;
    text-decoration: none;
    color: rgb(7, 46, 58);
    border: 4px solid rgb(12, 12, 52);
    padding: 12px 34px;
    font-size: 17px;
    background: white;
    position: relative;
    cursor: pointer;
    border-radius: 18px;
    margin-top: 50px;
    
  }

  #image-header
  {
    width: 290px;
    height: 290px;
    margin-left: calc(50% - 145px);
    margin-top: -145px;
    position: absolute;
    border-radius: 50%;
    border: 10px solid white;;
  }

/*MODULO CHISONO*/

.modulochisiamo{
  margin: auto;
  width: 900px;
  margin-top: 160px;
  margin-bottom: 150px;
  line-height: 1.3;
  text-align: center;
}

.modulochisiamo h1{
  color:  #2B375F;
  font-size: 27px;
  text-align: center;
  margin-bottom: 10px;
}

.modulochisiamo h2{
  color:  #2B375F;
  font-size: 27px;
  text-align: center;
  margin-bottom: 10px;
}
.modulochisiamo h3{
  color:  #2B375F;
  font-size: 27px;
  text-align: center;
  margin-bottom: 10px;
}

.modulochisiamo p{
  text-align: left;
  font-size: 20px;
  inline-size: 1.3;
  width: 900px;
  color:#2B375F;
  text-align: center;
}

.modulochisiamo ul{
 list-style: none;
}

.modulochisiamo li{
  background-color:rgba(43, 64, 112, 0.3); /* Blue con trasparenza */
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  margin-left: 60px;
  margin-right: 60px;

}

/* MODULO DI TESTA*/
.modulot{
  border-bottom: solid 6px #2B375F; 
  border-top: solid 6px #2b375f; 
  border-radius: 18px; padding: 15px;
  background: none;
  margin: auto;
  width: 900px;
  margin-top: 60px;
  background-color: none;
  padding: 40px;
}

.modulot h2{
  width: 55%;
  color:#2B375F;
  font-size: 17px;
  padding-bottom: 8px;
}

.modulot h1{
  width: 55%;
  color:  #2B375F;
  font-size: 27px;
  padding-bottom: 10px;
}

.modulot p{
  width: 55%;
  color:  #2B375F;
  font-size: 21px;
}

.modulot img{
  float: right;
  margin-top: -250px;
  width: 300px;

}

/* MODULO CONSULENZE */
.titolo-modulo-img{
  margin-left: ((100vw - 920px) / 2);
}
.row{
  width: 100%;
  margin-left: 0%;
}
.modulo-col{
  width: 700px;
  margin-top: 60px;
  margin-left: calc(50% - 350px);
  background-color: #2B375F;
  border-radius: 10px;
  box-sizing: border-box;
  position: relative;
  padding: 20px;
}
.modulo-col h1{
  text-align: center;
  font-weight: 600;
  margin:  20px;
  color: white;
}

.modulo-col p{
  font-size: 18px;
  color: white;
  text-align: center;
  margin:  20px;
}

.btn5{
  height: 40px;
  width: 200px;
  font-size: 18px;
  cursor: pointer;
  color: black;
  background-color: white;
  text-align: center;
  margin-left: calc(50% - 100px);
  border-radius: 18px;
  margin-bottom: 20px;
}


footer {
  text-align: center;
  margin-top: 100px;
  background-color:#2B375F;
  color: white;
  padding: 1em 0;
  width: 100%;
  bottom: 0;
}

footer h2{
  padding-top: 40px;
  width: 900px;
  margin: auto;
  text-align: center;
  color: white;
  font-size: 30px;
}

footer p{
  margin: auto;
  margin-top: 10px;
  width: 900px;
  color: white;
  text-align: left;
  font-size: 18px;
}


footer ul li{
  margin: auto;
  margin-top: 5px;
  width: 900px;
  color: white;
  font-size: 18px;
  text-decoration: none;
  list-style: none;
}

footer ul li a{
  margin-left: auto;
  width: 900px;
  color: white;
  text-decoration: none;
}

/* MAP CONTAINER*/
.map-container {
  width: 900px; 
  height: 300px;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

/* The dropdown container */
.dropdown {
  overflow: hidden;
  margin-bottom: -4px;
}

/* Dropdown button */
.dropbtn{
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  border: none;
  outline: none;
  color: #2B375F;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
  text-align: center;
}

/* Dropdown content (hidden by default) */
.dropdown-content{
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 18px;
}



/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 16px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  border-radius: 18px;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.banner{
  width: 100%;
  height: 300px;
  background-image: linear-gradient(rgba(3, 6, 19, 0.7),rgba(3, 6, 19, 1)),url(images/Screenshot\ 2024-11-20\ alle\ 21.37.52.png);
  background-size:auto;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(5px);
  text-align: center;
  color: white;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  font-weight: bold;
  position: absolute;
}

.linea-verticale {
  width: 4px; /* Spessore della linea */
  height: 30px; /* Altezza della linea */
  background-color: #2b375f; /* Colore della linea */
  margin: 20px auto; /* Distanza dalla parte superiore e centrata */
}


.footersocial{
 display: flex; 
 width: 100%; 
 margin-left: calc(50% - 210px); 
 margin-top: 20px; 
 margin-bottom: 20px; 
 background-color: none; 
 color: #2B375F;
}

@media(max-width: 920px)
{
/*LOGO*/
nav img{
  width: 100px;
  margin-left: 10px;
 }  

  .hidden-on-media{
    display: none;
  }

  .header{
    text-align: center;
  }

  .text-box{
    width: 90%;
    min-width: 300px;
    margin: auto;
    text-align: center;
    padding: 0%;
  }

  .text-box h1{
    font-size: 26px;
    width: 50%;
    margin: auto;
    margin-top: 0px;
  }

 .text-box p1{
  font-size: 13px;
  width: 50%;
  margin: auto;
  margin-top: -30px;
  }

 .text-box p{
  font-size: 16px;
  width: 50%;
  margin: auto;
  margin-top: 5px;
  margin-bottom: 10px;
  }

  .text-box p2{
    font-size: 18px;
    width: 60%;
    margin: auto;
  }


  .nav-links{
    position: absolute;
    background:  #2B375F;
    height: 100vh;
    width: 193px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  .nav-links ul li{
   display: block;
  }

  nav .fa{
    display: block;
    color: white;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links ul{
      padding: 30px;
  }

  .nav-links ul li a{
    color: white;
  }

  .nav-links ul li a::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #2B375F;
    display: block;
    margin: auto;
    transition: 0.5s;
    margin-left: 0px;
  }

  .dropdown-content a:hover {
    background-color: white;
    color: #2B375F;
    border-radius: 18px;
  }
.nav-links ul li a:hover::after{
width:90%
}

.nav-links ul li1{
  margin-top: 8px;
}

.nav-links ul li2{
  padding: 8px 8px;
  margin-top: 4px;
  text-align: left;
}
.dropbtn{
  color: white;
}

.dropdown-content{
  background-color: #2B375F;
}

.dropdown-content a{
   text-align: left;
   margin-top: 0%;
}

.row{
  margin-top: -20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: white;
  flex-direction: column;
}

.modulo-col{
  width: 80%;
  margin-left: 10%;
  background-color: none;
  border-radius: 10px;
  box-sizing: border-box;
  position: relative;
  padding: 10px;
  min-height: 260px;
  margin-bottom: 0px;
}

.modulo-col h1{
  text-align: center;
  font-size: 18px;
  margin-top:  20px;
  color: white;
}

.modulo-col p{
  font-size: 17px;
  color: white;
  text-align: center;
}

/*MODULO CHI SIAMO*/
.modulochisiamo{
  background-size: 450px;
  background-position: 13px top;
  margin: auto;
  width: 100%;
  margin-top: 160px;
  margin-bottom: 0px;
  line-height: 1.3;
}

.modulochisiamo h3{
  margin: auto;
  width: 100%;
  color:  white;
  background-color: #2B375F;
  font-size: 22px;
  padding: 30px;
  text-align: center;
}

.modulochisiamo h1{
  margin: auto;
  width: 80%;
  color:  #2B375F;
  font-size: 20px;
  padding-bottom: 10px;
  text-align: center;
}

.modulochisiamo p{
  text-align: center;
  margin: auto;
  font-size: 17px;
  width: 80%;
  padding: 20px;
}

 /* MODULO DI TESTA*/
.modulot{
  text-align: center;
  background: none;
  width: 80%;
  margin:auto;
  margin-top: 60px;
  /*margin-bottom: 400px;*/
}

.modulot h2{
  margin: auto;
  text-align: center;
  width: 100%;
  color: black;
  font-size: 17px;
  padding-bottom: 8px;
}

.modulot h1{
  margin: auto;
  text-align: center;
  width: 100%;
  color:  #2B375F;
  font-size: 19px;
  padding-bottom: 10px;
}

.modulot p{
  margin: auto;
  width: 100%;
  color:  #2B375F;
  font-size: 20px;
}

.modulot img{
  display: none;
}

.row{
  margin-top: 0px;
}

.footerlist
{
  width: 90%;
  margin-left: 5%;
  padding-bottom: 30px;
}

.footerlist h2
{
  width: 80%;
  margin: auto;
  text-align: center;

}
.footerlist p
{
  text-align: center;
  width: 80%;
  margin: auto;
  margin-top: 10px;
  padding-bottom: 20px;
}

.footerlist li{
  width: 80%;
  text-align: center;
}

.footerlist div{
  display: block;
}

.footersocial{ 
  width: 100%; 
  margin-left: calc(50% - 80px);
  margin-top: 20px; 
  margin-bottom: 20px; 
  background-color: none; 
  color: #2B375F;
 }

 .banner{
  height: 300px;
 }

}

/*PAGINE CALCOLATORI*/
.spiegazione{
  width: 900px;
  color:#2B375F;
  margin: auto;
  margin-bottom: 40px;
  margin-top: 30px;
}

.spiegazione h1{
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
}

.spiegazione h2{
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.spiegazione p{
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}

.intro{
    width: 900px;
    background-color: #2B375F;
    color: white;
    margin: auto;
    border-radius: 18px;
}

.intro h1{
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border:#2B375F solid 4px;
    background-color: white;
    color: #2B375F;
    font-size: 22px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.intro p{
  margin-top: 20px;
   margin-left: 15%;
   margin-right: 15%;
   font-size: 18px;
}

@media(max-width: 970px)
{
  .spiegazione{
    width: 80%;
    color:#2B375F;
    margin: auto;
    margin-bottom: 40px;
    margin-top: 30px;
  }
  
  .spiegazione h1{
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
  }
  
  .spiegazione h2{
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .spiegazione p{
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .intro{
      width: 80%;
      background-color: #2B375F;
      color: white;
      margin: auto;
      border-radius: 18px;
  }
  
  .intro h1{
      border-top-left-radius: 18px;
      border-top-right-radius: 18px;
      border:#2B375F solid 4px;
      background-color: white;
      color: #2B375F;
      font-size: 18px;
      text-align: center;
      padding-top: 20px;
      padding-bottom: 20px;
  }
  
  .intro p{
    margin-top: 20px;
     margin-left: 15%;
     margin-right: 15%;
     font-size: 16px;
  }
  
}

/*CALCOLATORE BUDGET*/
.input-container {
    margin-bottom: 20px;
    margin-left: auto;
    padding: 20px;
}
input {
    padding: 10px;
    font-size: 16px;
    width: 240px;
    margin-bottom: 10px;
    border-radius: 10px;
}
.bgt{
    color: white;
    border: solid 2px white;
    background-color: #2B375F;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 98px;
    border-radius: 10px;
  }
.result {
    font-size: 18px;
    margin-left: 15%;
}



