body {
  height: 100%;
  overflow-y: hidden;
}

.slides-nav {
  z-index: 99;
  position: fixed;
  left: 0%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  height: 100%;
  color: var(--nero);
  background-color: var(--trasp);
}
@media (min-width: 54em) {
  .slides-nav {
    left: 0%;
  }
}
.slides-nav__nav {
  position: relative;
  right: 0;
  display: block;
  font-size: 1em;
  transform: rotate(-90deg);
  transform-origin: center;
}
.slides-nav button {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0.5rem;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background: transparent;
  border: 0;
  overflow-x: hidden;
  text-transform: uppercase;
  font-weight: 300;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.slides-nav button:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--nero);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.slides-nav button:hover {
  cursor: pointer;
  color: var(--primo);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.slides-nav button:hover:after {
  width: 100%;
  background: var(--primo);
}
.slides-nav button:focus {
  outline: 0;
}
.is-sliding .slides-nav {
  pointer-events: none;
}

.slides {
  position: relative;
  display: block;
  height: 100vh;
  padding: 0;
  margin: 0;
  width: 100%;
  background: var(--trasp);
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
}
.is-sliding .slides {
  background: var(--trasp);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.slide {
  z-index: -1;
  padding: 0;
  position: absolute;
  width: 100%;
  height: 100vh;
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
  /*background-color: var(--trasp);*/
  background-color: var(--bianco);
}
.slide.is-active {
  z-index: 19;
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
}
.slide__content {
  position: relative;
  margin: 0 auto;
  height: 100%;
  width: 100%;
  top: 0%;
}
/*@media (min-width: 54em) {
  .slide__content {
    height: 80%;
    width: 80%;
    top: 10%;
  }
}*/
.slide__header {
  z-index: 9;
  position: relative;
  height: 100%;
  /*width: 80%;
  margin-left: 10%;*/
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow-y: hidden;
  transform: translateX(0%);
}
/*@media (min-width: 54em) {
  .slide__header {
    transform: translateX(-5%);
  }
}*/
/*.slide__title {
  font-family: Montserrat, helvetica;
  font-size: 2.5em;
  font-weight: 700;
  color: #111;
  overflow-y: hidden;
}
@media (min-width: 54em) {
  .slide__title {
    font-size: 5em;
  }
}
.slide__title .title-line {
  display: block;
  overflow-y: hidden;
}*/
.slide__header h1,
.slide__header h2,
.slide__header p,
.slide__header .cta-frame{
  width: 50%;
  display: inline-block;
  transform: translate3d(0, 40%, 0);
  opacity: 0;
  -webkit-transition: all 1.2s ease-out;
  -moz-transition: all 1.2s ease-out;
  -o-transition: all 1.2s ease-out;
  transition: all 1.2s ease-out;
}

.slide-sx .slide__header h1,
.slide-sx .slide__header h2,
.slide-sx .slide__header p,
.slide-sx .slide__header .cta-frame{
  width: 50%;
  margin-left: 50%;
}

.slide__header h1{
  position: relative;
  transition-delay: 0.15s;
  padding: 2rem 0rem;
  font-size: 4rem;
  line-height: 4rem;
  margin-bottom: 0;
  font-weight: 400;
  font-style: italic;
  color: var(--secondo);
}

.slide__header h2{
  /*font-family: "Arial", "Helvetica Neue", Helvetica, sans-serif;*/
  position: relative;
  transition-delay: 0.15s;
  padding: 2rem 0rem;
  font-size: 4rem;
  line-height: 4rem;
  margin-bottom: 0;
  font-weight: 400;
  font-style: italic;
  font-weight: 700;
  color: var(--grigio-testo);
}

/*.slide__header h1 span,
.slide__header h2 span{
  position: relative;
  z-index: 2;
}

.slide__header h1::before,
.slide__header h2::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  background-color: var(--bianco-trasp);
  z-index: 1;
}*/

.slide__header p{
  transition-delay: 0.3s;
  padding: 2rem 0rem;
  font-size: 1.4rem;
  line-height: 2.1rem;
  font-weight: 300;
  color: var(--nero);
  margin-bottom: 0;
}

/*.slide__header p::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  background-color: var(--bianco-trasp);
  z-index: 1;
}

.slide__header p span{
  position: relative;
  z-index: 2;
}*/

.slide__header .cta-frame{
  transition-delay: 0.45s;
  /*background-color: var(--bianco-trasp);*/
  padding: 2rem 0rem;
}

.is-active .slide__header h1,
.is-active .slide__header h2,
.is-active .slide__header p,
.is-active .slide__header .cta-frame{
  transform: translate3d(0, 0, 0);
  opacity: 1;
  -webkit-transition: all 1.2s ease-out;
  -moz-transition: all 1.2s ease-out;
  -o-transition: all 1.2s ease-out;
  transition: all 1.2s ease-out;
}
.is-active .slide__header p{
  transition-delay: 0.2s;
}

.is-active .slide__header .cta-frame{
  transition-delay: 0.4s;
}
.slide__figure {
  z-index: 7;
  position: absolute;
  top:0;
  bottom:0;
  left: 30%;
  right: 0;
  margin: 0 auto;
  height: 100%;
  width: 70%;
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
}

.slide__figure::before{
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  background: #FFFFFF;
  background: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
  background: -moz-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#FFFFFF", GradientType=1);
  z-index: 2;
}

.slide-sx .slide__figure {
  z-index: 7;
  position: absolute;
  top:0;
  bottom:0;
  left: 0;
  right: auto;
  margin: 0 auto;
  height: 100%;
  width: 70%;
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
}

.slide-sx .slide__figure::before{
  background: #FFFFFF;
  background: -webkit-linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
  background: -moz-linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
  background: linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#FFFFFF", GradientType=1);
}

.is-sliding .slide__figure {
  transform: scale(1);
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
}

.slide.is-active .slide__content .slide__figure{
  opacity: 1;
}

.slide__img {
  position: relative;
  display: block;
  background-size: cover;
  /*background-attachment: fixed;*/
  background-position: 0 0;
  -webkit-backface-visibility: hidden;
  height: 100%;
  width: 100%;
  /*filter: opacity(0) grayscale(100%);*/
  opacity: 0;
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
}

/*.slide__video{
  height: 0%;
  width: 100%;
  filter: opacity(0.4) grayscale(100%);
  transition: height 1s 1.4s cubic-bezier(0.19, 1, 0.22, 1), filter 0.4s 0.1s ease;
}*/

.is-active .slide__img {
  height: 100%;
  /*filter: opacity(0.2) grayscale(100%);*/
  opacity: 1;
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
}

/*.is-active .slide__video {
  height: 100%;
  opacity: 1;
  transition: height 0.5s 0.3s cubic-bezier(0.77, 0, 0.175, 1), filter 0.4s 0.1s ease;
}*/

.is-sliding .slide__img {
  /*filter: opacity(1) grayscale(0%);*/
  /*filter: opacity(0) grayscale(100%);*/
  opacity: 0;
}

/*.is-sliding .slide__video {
  filter: opacity(1) grayscale(0%);
}*/
