@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Raleway');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
}

body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    color: rgb(60, 137, 195);
    background: white;
    text-align: left;
}


h2{
  font-size: 5vh
}

#title {
  margin: 0 0 18px;
  font-size: 40px;
  -webkit-animation: slideIn 1s ease forwards;
  animation: slideIn 1s ease forwards;
}

#subtitle {  
 font-size:30px;
 font-weight: bold;
 text-align: left;
}

.container {
  width: 800px;
  max-width: 90%;
  /*margin: 50px auto;*/
}

.container p {
  margin: 25px 0 0;
  opacity: 0;
  line-height: 28px;
  text-align: justify;
  font-size: 17px;
}

#faq a{
  text-decoration: underline;
  color:#0D567F;
}

#faq a:hover{
  text-decoration: underline;
  color: rgb(60, 137, 195);
}

#centralina {
  margin-bottom: -37px;
  height: 450px; 
  width: auto; 
  margin-left: 20%
}

@media only screen and (max-width: 600px)
{

  #impianto_img{
    width:100%;
    margin-right: auto;
    margin-left: auto;
  }
}

/* animation */
.paraFadeIn {
  -webkit-animation: slideIn 0.8s ease 0.3s forwards;
  animation: slideIn 0.8s ease 0.3s forwards;
}
@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideIn {
  0% {
    -webkit-transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    opacity: 1;
  }
}

.video-box{
  background-color: rgb(60, 137, 195);
  color: white;
  padding: 3% 0 3%;
  margin-top: 5%;
  margin-bottom: 10%;
  -webkit-transform: skewY(3deg);
  -moz-transform: skewY(3deg);
  -ms-transform: skewY(3deg);
  -o-transform: skewY(3deg);
  transform: skewY(3deg);
}

.video-box .wrapper{
  -webkit-transform: skewY(-3deg);
  -moz-transform: skewY(-3deg);
  -ms-transform: skewY(-3deg);
  -o-transform: skewY(-3deg);
  transform: skewY(-3deg);
}

@media screen and (min-width: 1500px){

  #centralina{
    margin-bottom: -42px;
  }
}

@media screen and (max-width: 768px){
  .video-box{
    padding-top: 7%;
  }

}

@media screen and (max-width: 1300px){
  .video-box{
    margin-top: 10%;

}

@media screen and (max-width: 1200px){
  .video-box{
    margin-top: 15%;
  }
    }
  #centralina{
    margin-bottom: -35px;
  }
}

@media screen and (max-width: 1100px){
  .video-box{
    margin-top: 20%;
  }
    #centralina{
    margin-bottom: -33px;
  }
}

@media screen and (max-width: 1000px){
  .video-box{
    margin-top: 25%;
  }
  #centralina{
    margin-bottom: -31px;
  }
}

@media screen and (max-width: 800px){
  .video-box{
    margin-top: 30%;
  }
  #centralina{
    margin-top: 35px;
    height: 300px;
    margin-left: 3%
  }
}

@media screen and (max-width: 600px){
  .video-box{
    margin-top: 65%;
  }
  #centralina{
    position: relative;
    bottom: -20px;
    width: 200px;
    height: auto;
    left: 0
  }
}


@media screen and (max-width: 500px){
  #centralina{
    bottom: -20px;
    width: 150px;
  }
}

@media screen and (max-width: 400px){
  #centralina{
    bottom: -50px;
    width: 120px;
  }

  h3{
    font-size: 33px;
  }
}

@media screen and (min-width: 1200px){
  #proj-desc h3, #proj-desc p{
    text-align: left;
  }


}



.to-fade-in{
    -webkit-animation-name: fadeInDown;
    -moz-animation-name: fadeInDown;
    -o-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    -o-animation-duration: 1s;
    animation-delay: 0.5s;
  }