﻿/* Stili da applicare per intro */

.intro {
  background: #fafafa url('../images/intro.jpg') no-repeat scroll center top / cover;
  position: relative;
  overflow: hidden;
  color: #fff;
  font-size: 18px;
}

  .intro .lead {
    color: #fff;
    margin-left: 4px;
    font-size: 22px;
  }

  .intro h1 {
    font-size: 3.5em;
  }

  /* Contenuti */
  .intro .intro__details {
    position: relative;
    height: 35vh;
    min-height: 350px;
  }

  /* Contenitore informazioni */
  .intro .container {
    margin-right: auto;
    margin-left: auto;
    max-width: 960px;
  }

  /* Grafica vettoriale */
  .intro .steps__illustration {
    position: absolute;
    bottom: -90px;
    right: -120px;
  }

  /* Scritte */
  .intro .details__wrapper {
    position: absolute;
    left: 50px;
    bottom: 4em;
  }

/* Aggiustamenti per schermi piccoli */
@media only screen and (max-width: 1200px) {
  .intro .steps__illustration {
    width: 1400px;
    bottom: -130px;
    right: -20px;
  }

  .intro .details__wrapper {
    left: 150px;
  }
}

@media only screen and (max-width: 992px) {
  .intro .intro__details {
    height: 30vh;
    min-height: 320px;
  }

  .intro .steps__illustration {
    width: 1100px;
    bottom: -180px;
    right: -40px;
  }

  .intro .details__wrapper {
    left: 100px;
  }
}

@media only screen and (max-width: 767px) {
  .intro .intro__details {
    height: 20vh;
    min-height: 240px;
  }

  .intro .steps__illustration {
    width: 900px;
    bottom: -210px;
    right: -15px;
  }

  .intro .details__wrapper {
    left: 50px;
  }
}

@media only screen and (max-width: 640px) {
  .intro .intro__details {
    height: auto;
    min-height: 0px;
  }

  .intro .steps__illustration {
    display: none;
  }

  .intro .details__wrapper {
    left: auto;
    bottom: auto;
    position: relative;
    padding: 2.85em 0px 2em;
    text-align: center;
  }
}
