/*resetcss*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/minireset.css/0.0.2/minireset.min.css");

/* definisco VARIABILI */
:root {
  --maxw: 1140px;
  --white: #f9f9f9;
  --black: #161616;
  --primario: #69905d; /*#e7d352;*/

  --main_font: "Roboto", sans-serif;
  --head_font: "Barlow", sans-serif;
  /*--awesome_font: "Font Awesome 5 Free";*/
}
/* colore selezione */
::selection {
  mix-blend-mode: difference;
  background: var(--primario);
  color: var(--white);
  text-shadow: none;
  -webkit-text-stroke-width: 0;
  -webkit-text-stroke-color: transparent;
  -webkit-text-fill-color: var(--white);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.25s;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-family: var(--main_font);
  font-weight: 300;
  font-size: 18px;
  color: var(--black);
  /*overflow: hidden;*/
}

a {
  text-decoration: none;
  color: var(--black);
  /*transition: all 0.25s;*/
}
a:hover {
  color: var(--primario);
}

p {
  font-size: 26px;
  line-height: 30px;
}

h1 {
  font-size: 85px;
  font-weight: 600;
  line-height: 85px;
}

h2 {
  font-size: 60px;
  font-weight: 400;
  line-height: 60px;
}

h1,
h2 {
  margin-bottom: 40px;
}

.button {
  /* NASCONDO TEMPORANEAMENTE */
  display: none;
  /*display: inline-block;*/
  text-decoration: none;
  padding-bottom: 14px;
  border-bottom: 4px solid var(--black);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  margin-top: 40px;
}

.button:hover {
  border-bottom-color: var(--primario);
}
/*
.progressbar {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 8px;
  background-color: rgba(0,0,0,1);
  z-index: 20;
}
*/
/*
#progressbar-scroll {
  position: fixed;
  top: 0;
  left: 0;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border: none;
  background: #f00;
  z-index: 20;
}
#progressbar-scroll::-webkit-progress-bar {
  background: transparent;
}
#progressbar-scroll::-webkit-progress-value {
  background: var(--primario);
  background-attachment: fixed;
}
#progressbar-scroll::-moz-progress-bar {
  background: var(--primario);
  background-attachment: fixed;
}
*/

.sposta {
  padding-left: calc(10vw + 10px);
}

.center {
  text-align: center;
}

.col-60 {
  width: 60%;
}
.col-40 {
  width: 40%;
}
.col-50 {
  width: 50%;
}
.col-100 {
  width: 100%;
}
.contenitore-centro,
.contenitore-capitolo {
  padding: 0 60px;
}
.intro {
  padding: 8vw;
}
.contenitore-centro {
  text-align: center;
}
.contenitore-capitolo {
  display: flex;
  align-items: center;
  justify-content: center;
}
#videoclip {
  width: 100vw;
}

.invisible {
  opacity: 0;
  transition: opacity 1.3s ease-in;
}

.appear {
  opacity: 1;
}

.h100 {
  height: 100vh;
  align-items: center;
  justify-content: center;
}
.costruzione {
  position: relative;
  left: 13vw;
}
.capitolo08 {
  background-color: var(--primario);
  padding: 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
}
.capitolo08 ::selection {
  background: var(--white);
  color: var(--primario);
  text-shadow: none;
  -webkit-text-stroke-width: 0;
  -webkit-text-stroke-color: transparent;
  -webkit-text-fill-color: var(--primario);
}

.bianco {
  color: var(--white);
}

.cta {
  font-size: 50px;
  line-height: 60px;
  padding: 10vw;
}
.cta a {
  border-bottom: 4px solid var(--black);
}

.cont-sx,
.cont-dx {
  flex: 1 1 0;
} /* flex: auto se si deve adattare in larghezza */

.cont-sx p,
.cont-dx p {
  padding-right: 140px;
}

.cont-sx {
  padding-right: 20px;
}
.cont-dx {
  padding-left: 20px;
}

#footer-container {
  background-color: var(--black);
  color: var(--white);
  font-size: 14px;
  padding: 60px 0;
}
/*
* HEADER
*/

#contenitore-header {
  display: flex;
  width: 100%;
  height: auto;
  padding: 40px 60px;
  /*justify-content: space-between;*/
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  align-items: center;
  pointer-events: none;
  overflow: hidden;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
}
/* provvisorio */
nav.main-navmenu,
#social-icons {
  display: none;
}
/* .provvisorio */
nav.main-navmenu,
#social-icons,
#logo-link {
  pointer-events: all;
}
nav.main-navmenu ul {
  display: flex;
  height: 100%;
}

nav.main-navmenu li {
  padding: 0 40px;
}
nav.main-navmenu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  font-weight: 700;
}

#social-icons a {
  margin-left: 10px;
  color: var(--primario);
}

#social-icons a:hover {
  color: var(--black);
}

/*
* HERO VIDEO
*/
.contenitore-video {
  background-image: none;
  text-align: center;
}
.contenitore-video img {
  width: 100%;
  height: auto;
}
#video-hero {
  height: 100vh;
  overflow: hidden;
}
#scroll-down {
  position: absolute;
  /*top: 85vh;*/
  width: 100%;
  margin: 0 auto;
  text-align: center;
  pointer-events: none;
  z-index: 5;
  animation: scroll-animate-desktop ease-in 1.25s infinite alternate;
}

@keyframes scroll-animate-desktop {
  0% {
    top: 90vh;
  }
  100% {
    top: 92vh;
  }
}

@keyframes scroll-animate-mobile {
  0% {
    top: 85vh;
  }
  100% {
    top: 88vh;
  }
}

/**************************
****** MEDIA QUERY ********
**************************/
@media screen and (max-width: 1280px) {
  .sposta {
    padding-left: 20px;
  }
  .col-dx {
    padding-left: 40px;
  }

  .costruzione {
    position: relative;
    left: 100px;
  }
}
@media screen and (max-width: 1024px) {
  html {
    overflow: auto;
  }

  #contenitore-header {
    padding: 25px 40px;
    justify-content: center;
  }
  #social-icons,
  .main-navmenu {
    display: none;
  }

  h1 {
    font-size: 40px;
    line-height: 42px;
  }
  h2 {
    font-size: 28px;
    line-height: 30px;
  }

  h1,
  h2 {
    margin-bottom: 20px;
  }
  p {
    font-size: 24px;
    line-height: 28px;
  }

  .sposta,
  .col-dx {
    padding-left: 0;
  }

  .item1,
  .pull {
    order: 1;
  }
  .item2,
  .push {
    order: 2;
  }
  .h100 {
    height: unset;
  }
  .col-40,
  .col-60 {
    width: unset;
    margin: 20px 0;
  }
  section {
    padding: 40px 0;
    overflow: hidden;
  }

  .contenitore-capitolo,
  .contenitore-video {
    display: grid;
    text-align: center;
  }
  .contenitore-capitolo {
    padding: 0 24px;
  }

  .contenitore-video {
    padding: 0;
  }

  #scroll-down {
    animation: scroll-animate-mobile ease-in 1.25s infinite alternate;
  }
  /***
  * img resize 
  */
  .incrocio,
  .sopralluogo,
  .comunicazione {
    max-width: 70%;
  }

  .costruzione {
    max-width: 90%;
    position: unset;
    left: unset;
  }

  .conoscersi {
    max-width: 50%;
  }
  /*#videoclip {
    display: none;
  }
  #video-hero {
    background-image: url("../imgs/hero-home-video-480.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
  }*/
}
