 * {
  box-sizing: border-box;
  }

  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
  @import url('http://fonts.cdnfonts.com/css/helvetica-neue-9');


  @font-face {
  font-family: 'Solide Mirage_Etroit';
  src:    url('fonts/Etroit/Solide_Mirage-Etroit_web.eot');
  src:    url('fonts/Etroit/Solide_Mirage-Etroit_web.eot?#iefix') format('embedded-opentype'),
          url('fonts/Etroit/Solide_Mirage-Etroit_web.woff') format('woff'),
          url('fonts/Etroit/Solide_Mirage-Etroit_web.woff2') format('woff2'),
          url('fonts/Etroit/Solide_Mirage-Etroit_web.ttf') format('truetype'),
          url('fonts/Etroit/Solide_Mirage-Etroit_web.svg#svgFontName') format('svg');
  font-weight: normal;
  font-style: normal;
  }

  @font-face {
  font-family: 'bluu';
  src: url('fonts/Bluunext/bluunext-bold-webfont.woff2') format('woff2'),
        url('fonts/Bluunext/bluunext-bold-webfont.woff') format('woff'),
        url('fonts/Bluunext/bluunext-bold.ttf') format('truetype'),
        url('fonts/Bluunext/bluunext-bold-webfont.svg#bluu_nextbold') format('svg');
  font-weight: normal;
  font-style: normal;

  }

  @font-face {
  font-family: 'bluu';
  src: url('fonts/Bluunext/bluunext-bolditalic-webfont.woff2') format('woff2'),
        url('fonts/Bluunext/bluunext-bolditalic-webfont.woff') format('woff'),
        url('fonts/Bluunext/bluunext-bolditalic.ttf') format('truetype'),
        url('fonts/Bluunext/bluunext-bolditalic-webfont.svg#bluu_nextbold_italic') format('svg');
  font-weight: normal;
  font-style: italic;

  }


  @font-face {
  font-family: 'bluu_nexttitling';
  src: url('BluuNext-Titling.ttf') format('truetype'),
      url('bluunext-titling.woff2') format('woff2'),
      url('bluunext-titling.woff') format('woff');
  font-weight: normal;
  font-style: normal;

  }

  html {overflow-x: hidden;}

  body {
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
      -moz-animation: fadein 2s; /* Firefox < 16 */
      -ms-animation: fadein 2s; /* Internet Explorer */
        -o-animation: fadein 2s; /* Opera < 12.1 */
          animation: fadein 2s;
  margin: 0;
  padding: 0;

  background-image: url(img/bg-white.jpg);
  background-size: cover;
  }


  h1.main-title {
  font-family: 'Solide Mirage_Etroit';
  font-size: 105px;
  color: #fff;
  margin-top: 20%;
  }

  h2 {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 30px;
  color: #fff;
  text-align: left;
  }

  h3 {
  font-family: 'bluu';
  font-size: 50px;
  color: #292929;
  text-align: left;
  }

  h4 {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 50px;
  color: #292929;
  font-weight: 400;
  }

  p {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 20px;
  color: #292929;
  font-weight: 400;
  padding-top: 50px;
  }


  a {
  color: #292929;
  text-decoration: underline;

  }


  a:hover, a:active {
  color: #3B4DA0;
  text-decoration: underline;
  font-style: italic;
  }

  .more-top {
  margin-top: 40px;
  }

  .more-more-top {
  margin-top: 80px;
  }

  .more-more-more-top {
  margin-top: 120px;
  }

  .main-container {
  width: 100vw;
  z-index: 100;
  position: relative;
  height: 100%;
  }


  /* / NAV / */

  #nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60px;
  background-color: #ffffff;
  height: 100vh;
  z-index: 1000;
  padding: 60px 18px;
  /* border-right: 1px solid #fff; */
  }


  .content-info {
  position: relative;
  width: 100%;
  height: 100%;
  }


  .logo-white,  .logo-white-mobile, .logo-black-mobile {
    display: none;
  }

  .logo-black, .logo-black-mobile {
    width: 100%;
    position: absolute;
    bottom: 0;
    cursor: pointer;
  }

  .logo-black-mobile {
    bottom: 25px;
  }


  ul {
  list-style-type: none;
  width: 600px;
  position: absolute;
  transform: rotate(-90deg) translate(-180px, -287px);
  }

  li {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  float: left;
  padding-right: 3%;
  }

  li a {
  color: #151515;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;

  }

  li a:hover, li a:active {
  color: #3B4DA0;
  font-style: italic;
  text-decoration: none;

  }

  /*  fine NAV  */





/* SWITCHER */

.night-day {
    font-family: 'bluu';
    font-size: 16px;
    color: #151515;
    float: left;
    margin-top: 0px;
    margin-right: 13px;
    padding-top: 0px;
}

.box-switch {
  position: fixed;
  z-index: 1000;
  right: 3%;
  top: 50px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #151515;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ccc;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ccc;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}



/* fine SWITCHER */




  .section {
    display: none;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .cont {
  max-width: 1300px;
  margin: 0 auto;
  }


  #home {
    left: 0px;
    top: 0px;
    height: auto;
    z-index: 100;
  }

  #progetto, #documentario, #pinnettas {
    right: 0px;
    top: 0px;
    z-index: 200;
    /* background-color: #fff; */
    width: calc(100vw - 60px);
    height: auto;
    padding: 4% 4% 10% 4%;
  }


  .section.active {
    display: block;
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
    -o-animation: fadein 1s; /* Opera < 12.1 */
    animation: fadein 1s;
    z-index: 300;
  }

  .first-img {
    padding-top: 40px; 
  }


  .intro {
  display: flex;
  /* align-items: center; */
  margin-top: 2%;
  justify-content: center;
  height: 100vh;
  }



  #background-video, #background-video-2 {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute; /* position: fixed; */
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background-color: #000;
  background-blend-mode: multiply;
  }


  #background-mobile, #background-mobile-2 {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute; /* position: fixed; */
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;

  background-image: url(img/terra.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  display: none;
  }


  .box-intro {
    width: 60%;
    max-width: 700px;
    height: auto;
    text-align: left !important;
  }

  .a-cura-di {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 15px !important;
    color: #fff;
    margin: 0px !important;
    margin-top: 20px !important;
    padding: 0px;
  }

  .a-cura-di-2 {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 11px !important;
    color: #151515;
    margin: 0px !important;
    margin-top: 25px !important;
    padding: 0px;
    margin-bottom: 15px !important;
  }

  .logo-issla {
    width: 90px;
    margin: 0px !important;
    margin-top: 10px !important;
  }


  .footer {
  /* position: absolute;
  bottom: -5px;
  left: 0px; */
  width: 100%;
  min-height: auto;
  background-color: #fff;
  /* margin-top: 100vh; */
  padding: 20px;
  margin-top: -2%;
  }


  .link-contatti, .link-contatti a {
    text-align: right;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 14px !important;
    color: #151515;
    font-weight: bold;
    text-decoration: none;
  }

  .link-contatti-mobile {
    text-align: left;
    padding-top: 20px;
  }

  .link-contatti a:hover {
  color: #3B4DA0;
  text-decoration: none;
  font-style: italic;
  }

  .loghi_partner_bianco, .logo-issla-bianco, .video-buio {
    display: none;
  }

  .loghi_partner_nero, .logo-issla-nero, .video-luce {
    display: block;
  }


  #png-pietre, #jpg-copertura, #jpg-meilogu-villanova, #jpg-sardegna-no, #png-mossa {display: none;}

  .footer-mobile {display: none;}


  @keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
  }

  /* Firefox < 16 */
  @-moz-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
  }

  /* Safari, Chrome and Opera > 12.1 */
  @-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
  }

  /* Internet Explorer */
  @-ms-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
  }

  /* Opera < 12.1 */
  @-o-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
  }




  @media screen and (max-width: 963px) {
    h1.main-title {font-size: 87px;}

    #background-video, #background-video-2 {display: none;}

    #background-mobile {display: block;}
}


  @media screen and (max-width: 797px) {
    h1.main-title {font-size: 72px; margin-top: 25%;}
}




  @media screen and (max-width: 767px) {
    .footer {display: none;}

    .footer-mobile {display: block;}
  }





  @media screen and (max-width: 758px) {
    h3, h4 {
      font-size: 40px;
    }

    p {
      font-size: 18px;
    }

    h1.main-title {font-size: 72px; margin-top: 40%;}

    .more-more-more-top, .more-more-top, .more-top {margin-top: 20px;}

    .mobile-hide {display: none;}
}


  @media screen and (max-width: 660px) {
    h1.main-title {font-size: 60px;}

    h2 {font-size: 25px;}

    #progetto, #documentario, #pinnettas {
      padding: 20% 4% 10% 4%;
    }

    #nav {
      padding: 30px 18px 60px 18px;
    }

    }


  @media screen and (max-width: 580px) {
    
    h1.main-title {margin-top: 50%;}

    h1.main-title {font-size: 35px;}

    h2 {font-size: 25px;}

    h3, h4 {font-size: 35px;}

    .intro { padding-left: 30px; }

    }


      @media screen and (max-height: 790px) {
        .logo-white, .logo-black {display: none;}

        .logo-black-mobile {display: block;}

      }





