
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body, html {
    color: #ffffff;
    background-color: #1a1a1a;
    font-family: 'Roboto','Helvetica Neue', sans-serif;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
  }
/* -- NAVBAR -----*/
.navbar {
  position: fixed;
  top: 0;
  width: -webkit-fill-available;
  padding: 2.5em 2.5em;
  z-index: 100;
  display: flex;
  justify-content: space-between;
}  
.navbar .logo, .navbar li{
  width: 10vw;
}
.navbar ul {
  display: flex;
  list-style: none;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}  
.navbar nav a, a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
}
.navbar nav a{
  position: relative;
  display: inline-block;
}
.navbar nav a span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.navbar nav a:hover span{
  transform: translateX(20px); 
}
.navbar nav a::before{
  position: absolute;
  content: '\2022';
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  opacity: 0;
  /* animazione */
  transition: left 0.3s ease, opacity 0.3s ease;
}
.navbar nav a:hover::before{
  position: absolute;
  left: 0px;
  opacity: 1;
}

.progress-container {
  height: 2px;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 9999;
  margin-bottom: 1.5rem;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #FFF;
  transition: width 0.1s;
}
/* ACTIONS */
@media(max-width: 979px){
  .navbar_actions{display:none}
}
.navbar_actions .button+.button{margin-left:10px}
.navbar_actions .button{transform-origin:center left;display:inline-block;vertical-align:middle;min-width:60px;text-align:center}
.button{position:relative;padding:7px 20px 8px 35px;height:36px;text-transform:uppercase;display:inline-block;cursor:pointer;border-radius:5em;color:#fff;font-weight:380; background: transparent; border: 0; height: auto; font-size: 12px;}
.button+.button{margin-left:10px}

.button--round{width:36px;padding:8px 0;text-align:center}
.button--empty{padding:10px 20px}
.button::before{content:"";position:absolute;z-index:0;top:0;left:0;right:0;bottom:0;border:1px solid currentColor;border-radius:36px;transition:transform .5s cubic-bezier(0.075, 0.82, 0.165, 1)}
.button_circle{position:absolute;z-index:1;width:8px;height:8px;border-radius:8px;top:50%;left:15px;margin-top:-4px;background-color:currentColor;transition:transform .6s cubic-bezier(0.19, 1, 0.22, 1),opacity .2s linear}
.button_label{position:relative;z-index:1;display:inline-block}
.button_plus{position:absolute;z-index:1;right:18px;transform:translateX(30px) scale(0);opacity:0;transition:transform .6s cubic-bezier(0.19, 1, 0.22, 1),opacity .2s linear}
@media(hover: hover){
  .button:hover::before{transform:scale(1.1)}
}
.button:hover .button_circle{transform:translateX(-30px) scale(0);opacity:0}
.button:hover .button_plus{transform:translateX(0) scale(1);opacity:1}
.button:active::before{transform:scale(1)}
.ambienceSoundToggle{position:relative;display:inline-block;vertical-align:middle;width:70px;height:36px;padding:0 !important;text-align:center;border-radius:50px}
@media(max-width: 767px){
  .ambienceSoundToggle{display:none !important}
}
.ambienceSoundToggle_render{display:inline-block;vertical-align:middle;position:relative;width:30px;height:30px;opacity:0;transform:scaleY(0);transition:opacity .2s linear,transform .6s cubic-bezier(0.19, 1, 0.22, 1)}
.ambienceSoundToggle_render canvas{position:absolute;top:0;left:0;width:30px;height:30px}
.ambienceSoundToggle_label{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);text-align:center;transition:opacity .2s linear}
.ambienceSoundToggle.playing .ambienceSoundToggle_render{opacity:1;transform:scaleY(1)}
.ambienceSoundToggle.playing .ambienceSoundToggle_label{opacity:0}
/* FINE ACTIONS */
/* -- FINE --- NAVBAR -----*/  

.section, .phantom {
  /*position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  */
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  overflow: hidden;
}

.generalScroll{
  position:absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 40%;
  right: 40%;
  top: 40%;
  bottom: 40%;
  z-index: 100;
}

.scroll-button{
  text-align: center;
  width: 100px;
  height: 100px;
  line-height: 100px;
  margin: 5px;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 100px;
  transition: all 0.3s;
}
.scroll-button:hover{
  width: 110px;
  height: 110px;
  line-height: 110px;
}

.img-bg {
  position: relative;
  height: 100vh;
  width: 100%;
  inset: 0;
  z-index: 0;
  /*pointer-events: none;*/
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.img-parallax{
  position: absolute;
  height: 150%;
  left: -5%;
  right: -5%;
}
.video-bg{
  position: absolute;
  z-index: 0;
  height: 100vh;
  width: 100%;
  top: 0;
}
.video-bg video{
    object-fit: cover;
    background-color:#000; 
    height:100%; 
    width:100%;
}
.image-bg{
  position: absolute;
  z-index: 0;
  height: 100vh;
  width: 100%;
  top: 0;
}
.image-bg img,
.image-bg video{
    object-fit: cover;
    background-color:#000; 
    height:100%; 
    width:100%;
    position: absolute;
    filter: blur(0) saturate(1) brightness(1)
}

.hero-inner{
  position: absolute;
  z-index: 1;
  width: -webkit-fill-available;
  width: 100%;
  bottom: 10%;
  padding: 5em 2em 2em;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 100vh;
}
.hero-inner-center{
  align-items: center;
}
.section-hero-title{
    width: 58vw;
    padding-right: 20px;
}
.section-hero-desc{
  overflow: hidden;
  padding: 0 50px;
  width: 42vw;
}    
.section-hero-desc-2{

}
.section-hero-desc-2 p{
  font-size: 1.8rem;
}
.hero-title .char {
  opacity: 0;
  transform: translateY(50px);
  display: inline-block;
}
.hero-title {
    font-size: 5rem;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.2;
}
.hero-subtitle{
  font-size: 1.2rem;
  text-transform: uppercase;
}
.hero-subtitle span{
  text-transform: none;
}
.hero-desc,.hero-button {
  font-size: 1.3rem;
}
.hero-option{
  padding: 2%;
  width: inherit;
}
.hero-option h3{
  font-size: 1rem;
  text-transform: uppercase;
}
.hero-button {
  color: #fff;
  padding: 0.75em 0em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.2rem;
  position: relative;
  padding-right: 25px;
  margin-right: 25px;
  width: -webkit-fill-available;    
}
.hero-button:before {
  position: absolute;
  bottom: 0;
  content: '';
  width: -webkit-fill-available;
  height: 2px;
  background-color: #FFF;
}
.hero-button:after {
  position: absolute;
  content: '↓';
  width: 25px;
  height: 25px;
  text-align: center;
  right: -25px;
  font-size: 1.5rem;
  transform: translateY(0px);
  transition: all 0.3s ease;
}
.hero-button:hover::after{
  animation: arrowUpAndDown 0.5s;
}
.hero-button:hover span{
  /*
  position: absolute;
  animation: arrowUpAndDown 0.5s;
  */
}

.spacer {
    height: 150vh;
    background: #1a1a1a;
}    
.services-section {
  padding: 10vh 2em;
  background: #111;
  text-align: center;
  color: #fff;
}  
.services-title {
  font-size: 2.5rem;
  margin-bottom: 3em;
}
.services-grid {
  position: absolute;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  top: 0;
  height: 100vh;
  max-width: 37%;    
} 
.services-grid-end{
right: 0rem;
}
.services-grid-start{
  left: 0rem;
}
.service-block {
  width: -webkit-fill-available;
  padding: 0rem 2rem;
  padding-top: 1rem;
  overflow: hidden;
}
.service-block-text-img{
  border-bottom: 3px solid #fff;
  overflow: hidden;
  padding-left: 30px;
  padding-right: 30px;
  width: inherit;
  font-size: 1rem;
}
.service-block-text-img p,
.service-block-text-img img{
  margin-bottom: 0.4rem;
}
.service-title{
  display: flex;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.service-number {
  font-size: 1.3rem;
  color: #bbb;
  display: block;
  margin: 0em;
  margin-right: 1rem;
}  
.service-subtitle {
  font-size: 1.3rem;
  margin: 0em;
}  
.service-desc {
  font-size: 1rem;
  line-height: 1.5;
}
.services-grid img{
  width: 80%;
  height: auto;
}
.service-block.active .service-desc, 
.service-block.active img{
  opacity: 1;
  display: block;
}
/* ----------------------------- */
.liquid-hover {
  background: #000;
  padding: 10vh 2em;
  text-align: center;
  height: 100vh;
}

.hover-wrap {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  
}
#hover-effect {
  width: 100%;
  height: 100%;
  position: relative;
}
#hover-effect canvas {
  width: 100% !important;
  /*height: auto !important;*/
  display: block;
}
  
#scrollTransition {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
 /*pointer-events: none;*/
}
#scrollTransition canvas {
  width: 100% !important;
  /*height: 100% !important;*/
  display: block;
  object-fit: cover;
}
.teamlist,
.section-hero-desc-2{
  width: 42vw;
  /*
  position: absolute;
  left: 50%;
  top: 30%;
  width: 50%;
  */
}

.box-text{
  width: 350px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #333;
}
.box-text a {
  background: #ccc;
  padding: 5px 10px;
  border-radius: 20px;
  color: #333;
}
.teamItem{
  position: absolute;
  bottom: 2%;
  left: 40%;
  width: 25%;
  border-radius: 20px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px); 
}
.teamItem h4,
.teamItem p{
  background-color: rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  position: absolute;
  left: 0;
  padding: 1rem;
  width: 100%;
  display: inline-block;
}
.teamItem h4{
  top: 0;
  font-size: 1rem;
  text-align: center;
}
.teamItem p{
  bottom:0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-bottom: 0;
  text-align: left;
}
.teamItem img{
  position: relative;
}

.footer{
  background-color: #1a1a1a;
  position: fixed;
  bottom: -20px;
  width: 100%;
}
.carousel-caption{
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  padding: 0.25rem;
}


/* CONTROLLI PER IL VIDEO */
  .video-wrapper {
    position: relative;
    display: inline-block;
  }

  .custom-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    color: white;
  }
  .custom-controls button{
    background: transparent;
    border: 0;
    color: #fff;
  }


/* **** animazioni */
@keyframes arrowUpAndDown{
  0% {
    transform: translateY(0px);
  }
  50%{
    transform: translateY(35px);
  }
  100%{
    transform: translateY(0px);
  }
}

/* PRELOADER -------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111111; /* colore di sfondo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
/* FINE PRELOADER ---------------------- */

@media screen and (max-width: 767px){
  #menuNav{
    padding: 0 2em;
    padding-bottom: 0.5em;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px); 
  }
  #menuNav nav{
    display: none;
  }
  .nav-content{
    width: -webkit-fill-available;
  }
  .navbar .logo, .navbar li{
    width: auto;
  }
  .offcanvas-header .btn-close{
    filter: invert(1) brightness(1) contrast(1);
  }
  .offcanvas-body a{
    font-size: 1.8rem;
    color: #fff;
  }
  .section{
    flex-direction: column;
    justify-content: flex-end;
  }
  .services-grid{
    position: relative;
    height: unset;
    width: 100%;
  }
  .services-grid img {
    width: 100%;
  }
  .service-title{
    margin-bottom: 0;
  }
  .section-hero-title{
    width: 100vw;
  }
  .section-hero-desc{
    width: 100vw;
    padding: 0;
  }
  .service-block-text-img{
  }
  .service-block-text-img p, 
  .service-block-text-img img {
      margin-bottom: 1rem;
  }
  .accordion-button:after {
    content: ""
  }
  .accordion-button[aria-expanded="false"]:after {
    content: "+";
  }
  .accordion-button[aria-expanded="true"]:after {
    content: "-";
  }
  /*.accordion-button:not(.collapsed)::after {
    content: "−";
  }*/
  
  .hero-inner{
    position: relative;
    top: unset;
    bottom: unset;
    height: unset;
    padding-top: 2em;
    flex-wrap: wrap;
    align-content: flex-end;            
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle{
    font-size: 1.2rem;
  }
  .hero-subtitle span{
    text-transform: none;
  }
  .hero-desc,.hero-button {
    font-size: 1.3rem;
  }  
  .video-bg video{}
  .services-grid{
    max-width: 100%;
    z-index: 10;
    padding-bottom: 1rem;
  }
  .hero-option h3 {
    font-size: 0.8rem;
  }
  #section_14689{
    min-height: 100vh;
    height: auto;
  }
  #section_14689 .image-bg{
    position: relative;
  }
  .teamlist, .section-hero-desc-2{
    width: 100%;
    position: relative;
  }
  .teamItem{
    position: relative;
    width: unset;
    left: unset;
    bottom: unset;
  }
  .box-text{ 
    padding: 2rem;
  }
  .footer{
    position: relative;
    padding-bottom:100px
  }

  
}