
/* /////////////////////////////////////////////////////////////////
////////////////////////////  SECTION 1 ////////////////////////////
/////////////////////////////////////////////////////////////////// */
#section1 {
  height: 100vh;
  position: relative;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  display: flex;
  align-items: flex-start;
  background:linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../imgs/contatti.jpg");
  background-position: 50% 20%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
}

#section1 h1{
  font-family: 'Domine', sans-serif;
  width: 250px;
  margin-bottom: 30px;
  font-size: 60px;
}
#section1 a {
  border: 1px solid #c8bda7;
  padding: 10px 25px;
  color: white;
  margin-bottom: 50px;
}
.ruota {
  animation: ruota 25s linear; /* se non metto linear va a scatti */
  animation-iteration-count: infinite;
  width: 700px;
  height: 700px;
  position: absolute;
  right: -180px;
  bottom: -250px;
}
@keyframes ruota {
  100% { transform: rotate(360deg); }
}

/* /////////////////////////////////////////////////////////////////
////////////////////////  SEZIONE FORM E MAPPA /////////////////////
/////////////////////////////////////////////////////////////////// */
#formEMappa{
  margin-top: 50px;
  margin-bottom: 30px;
}
#formEMappa a {
  color: inherit;
}
/* GESTIONE MAPPA */
.mappaContainer{
    overflow:hidden;
    padding-bottom:39.68%;
    position:relative;
    height:0;
}
.mappaContainer iframe{
    left:0;
    top:0;
    height:100%;
    width:96%;
    margin-left: 2%;
    position:absolute;
}
/* fine gestione mappa */

.campiForm {
  margin-bottom: 50px;
}
.campiForm input,
.campiForm textarea{
  border: 2px solid #c8bda7;
  padding: 10px;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
  outline: none;
  width: 100%;
}
.campiForm button{
  padding: 10px 15px;
  background-color: black;
  color: white;
  border: 0;
  outline: none;
}

/* /////////////////////////////////////////////////////////////////
//////////////////////////  MEDIA QUERIES /////////////////////////
/////////////////////////////////////////////////////////////////// */

@media all and (max-width: 575px){
  /* section1 */
  #section1 .titolo{
    margin-top: calc(30% + 85px);
  }
  #section1 h1{
    font-family: 'Domine', sans-serif;
    width: 200px;
    margin-bottom: 30px;
  }
  #section1 a {
    border: 1px solid #c8bda7;
    padding: 10px 25px;
    color: white;
    margin-bottom: 50px;
  }
  .ruota {
    width: 350px;
    height: 350px;
    position: absolute;
    right: -100px;
    bottom: -100px;
  }
  /* gestione mappa */
  .mappaContainer{
      padding-bottom: 90%;
  }

}

@media all and (min-width: 576px) and (max-width: 767px) {
  .ruota {
    width: 500px;
    height: 500px;
    position: absolute;
    right: -150px;
    bottom: -150px;
  }
  /* gestione mappa */
  .mappaContainer{
      padding-bottom: 70%;
  }
  /* fine gestione mappa */
}

/* Medium devices (tablets, 768px and up) */
@media all and (min-width: 768px) and (max-width: 991px) {
  /* gestione mappa */
  .mappaContainer{
      padding-bottom: 60%;
  }
}

/* Large devices (desktops, 992px and up) */
@media all and (min-width: 992px) and (max-width: 1200px) {

}
/* Large devices (desktops, 992px and up) */
@media all and (min-width: 1201px) {

}
