@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);
}

#impianto_img{
  margin-top: 30px;
  margin-bottom: 30px;
  width: 60%;
  height: auto;
}

@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;
  }
}
#impianto_img {
  width: 60%;
  margin-top: 80px;
  transition: transform 0.1s;
}

#impianto_img:hover{
  transform: scale(1.1);
}


#caption_elem{
  display: none;
}

.caption{
  position: absolute;
  background: rgba(60, 137, 195,0.8);
  color: white;
  border-radius: 5px;
  padding: 3px;
  z-index: 100;
  margin-top: 530px;
}

#c4{
  top: 40px;
  margin-left: 225px;
}

#c3{
  top: 120px;
  margin-left: 240px;
}
#c2{
  top:100px;
  margin-left: 20px;

}

#c1{
  top: 300px;
  margin-left: 25px;
}


.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);
}

.highlight-coin{
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  width: 80px;
  height: 80px;
  line-height: 80px;
  background-color: white;
  transition: transform .2s;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin: 0 auto 0px;
}

.highlight-coin:hover{
    transform: scale(1.5);
    -ms-transformm: scale(1.5);
}

.popover-title{
  color: #252850;
}

.popover-content{
  color: #252850;
  text-align: center;
}

.popover{
    width: 400px;;
  }

@media screen and (max-width: 768px){
  .video-box{
    padding-top: 7%;
  }

  #video iframe{
    height: 135px;
    width: 255px;
  }

  .popover{
    width: 200px;
  }
}

@media screen and (max-width: 1300px){
  .video-box{
    margin-top: 10%;
  }
}

@media screen and (max-width: 1200px){
  .video-box{
    margin-top: 15%;
  }
}

@media screen and (max-width: 1100px){
  .video-box{
    margin-top: 20%;
  }
}

@media screen and (max-width: 1000px){
  .video-box{
    margin-top: 25%;
  }
}

@media screen and (max-width: 800px){
  .video-box{
    margin-top: 30%;
  }
}

@media screen and (max-width: 600px){
  .video-box{
    margin-top: 65%;
  }
}

@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;
  }