/* ! Base Style */
body{font-family: 'Inter', sans-serif;font-size: 16px}

a{text-decoration: none;}

h1, h2, h3, h4, h5, p{color:#000; padding-bottom: 40px;}

p{line-height: 28px; color:#666; font-weight: 300;}

.big-text{font-size: 70px;font-weight: 900;}
.med-text{font-size: 40px;}
.normal-text{font-size: 20px;}
.small-text{font-size: 14px;}

.intro-text{text-transform: uppercase;font-size: 20px;font-weight: bold;}

.button{padding: 10px 28px;background: #316bff; color:#fff; display: inline-block;border-radius: 4px}

@media (max-width: 768px) {

  .big-text{font-size: 40px;}

}



/* ! header */

.header{
width: 100%;
height: 100px;
position: fixed;
z-index: 10;
top:0;
left:50%;
transform: translateX(-50%);
padding: 30px;
display: flex;
/* max-width: 1500px; */
max-width: 100%;
background: #fff;
}

.logo{z-index: 1}

.menu{
  width: 100%;
  z-index: 0;
}

.menu li{display: inline-block;}
.menu li a{color: #000;padding: 15px;display: block;}

.hamburger{display: none;}

  @media (max-width: 768px) {

    .cta{display: none;}

    .menu{position: absolute; top: 0; right: -100%;background: #fff;height: 100vh;padding-top: 80px}
    .menu li{display: block;}
    .menu li a{padding: 15px 30px;font-size: 20px;}

    .menu--open{right:0%;}

    .hamburger{
      display: block;
      width: 30px;
      height: 30px;
      position: absolute;
      top: 40px;
      right: 30px;
    }
    .hamburger span{background:#808080;height: 3px;width: 100%;display: block;margin-bottom: 5px;}

  }

/* ! Hero */

.hero{
  position: relative;
  height: 100vh;
  display: flex; width: 100%;align-items: center;
  background-size: cover;
  overflow: hidden;
}

.hero2{
  position: relative;
  height: 100vh;
  display: flex;
  width: 50%;
  align-items: center;
  background-size: cover;
  overflow: hidden;
}

.hero:after{
  content: ' ';
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0; left: 0;
  background: #000;
  opacity: 0.4;
  }


.hero__content{
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 30px;
  z-index: 1;
  position: relative;
}

.hero__content h1,
.hero__content p{color: #fff;}


/* #video-back{
  width: 100%;
  height: 100vh;
  position: absolute;
  background-size: cover;
  bottom: 0;
  left:0;
  z-index: 0;
} */

#video-back{
  width: 100%;
  position: absolute;
  background-size: cover;
  top:0;
  left:50%;
  transform: translateX(-50%);
  display: flex;
}

@media only screen and (max-width: 1200px) {
  #video-back{
    position: absolute;
    background-size: cover;
    top:0;
    left:50%;
    transform: translateX(-50%);
    display: flex;
    height: 100vh;
    width: auto;
  }
}

.slider{
  height: 300px;
  margin: auto;
  position: relative;
  width: 95%;
  display: grid;
  place-items: center;
  overflow: hidden;
}


.slide-track{
  display: flex;
  width: calc(300px * 18);
  animation: scroll 30s linear infinite;
}
.slide-track:hover{
  animation-play-state: paused;
}


@keyframes scroll{
  0%{
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 9));
  }
}

.slide{
  height: 200px;
  width: 250px;
  display: flex;
  align-items: center;
  padding: 15px;
  perspective: 100px;
}

img{
  width: 100%;
  transition: transform 1s;
}

img hover{
  transform: translateZ(20px);
}


/* ! Poster */

.poster{
  display: flex;
  height: 100vh;
  width: 100%;
  align-items: center;
}

.poster__img{
  width: 100%;
  height: 100%;
  position: relative;
  width: 50%;
}

.poster__img img{object-fit: cover; width: 100%;height: 100%;}

.poster__content{width: 50%; padding: 50px;}

@media (max-width: 768px) {
  .poster{flex-wrap: wrap;height: auto;}
  .poster__img{width: 100%; height: 500px;}
}

/* @media (max-width: 768px) {
  .poster{flex-wrap: wrap;height: auto;}
  .poster__img,
  .poster__content{width: 100%;}
} */

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #000;
}

.poster__img:hover .overlay {
  opacity: 0.8;
}

.text_overlay {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.normal-text:hover {
  color: #6adf91;
}

/* ! BG cover */

.bg-cover{
  display: flex;
  padding: 10px 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0.7) 70.71%),
   url('accessori.jpg') no-repeat center center;
  background-size: cover;
}

.bg-cover__text{width: 50%;padding: 30px;}
.bg-cover__title{width: 50%;padding: 50px;display: flex;align-items: center;}

@media (max-width: 768px) {
  .bg-cover{flex-wrap: wrap;height: auto;}
  .bg-cover__text,
  .bg-cover__title{width: 100%;}
}

.bg-video{
  display: flex;
  padding: 10px 0;
  background-size: cover;
}

.normal-text:hover{
  text-color: #6adf91;
}

/* ! Grid */

.grid{display: flex;max-width: 1350px; padding: 0 30px;margin: 0 auto;}
.gri .col{width: 100%;}

@media (max-width: 768px) {
  .grid{flex-wrap: wrap}
}

/* ! carousel */

.main-carousel{padding: 40px 0;}
.carousel-cell{
  height: 350px;
  width: 350px;
  background: #6adf91;
  border-radius: 100%;
  line-height: 350px;
  text-align: center;
  margin-right: 40px;
}

.carousel-cell2{
  height: 350px;
  width: 350px;
  border-radius: 100%;
  line-height: 350px;
  text-align: center;
  margin-right: 40px;
}

/* sezione video */

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
  }

  .column1 {
    float: left;
    width: 50%;
  }

  .column2 {
    float: left;
    width: 50%;
    padding: 10px;
  }

  .row {
    margin-top: 70px;
  }

  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  .yt-video{
    width: 100%;
   height: 400px;
  }
  @media only screen and (max-width: 37.5em) {
    .yt-video{
      width: 100%;
      height: 300px;
      }
    }


  @media screen and (max-width: 600px) {
    .column1 {
      width: 100%;
    }

    .column2 {
        width: 100%;
      }
  }

  /* fine sezione video */

  /* Scroll to top */

  #myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #000; /* Bbackground color */
    color: white; /* Text color */
    cursor: pointer;
    padding: 15px;
    border-radius: 100px;
    font-size: 18px;
  }

  #myBtn:hover {
    background-color: #555;
  }

  /* Fine Scroll to top */



  /* Cookie */

  #cookiePopup {
    background-color: #ffffff;
    position: absolute;
    font-size: 14px;
    width: 70vw;
    max-width: 42.85em;
    box-shadow: 0 0 2em rgba(5, 0, 31, 0.15);
    font-family: "Poppins", sans-serif;
    text-align: justify;
    line-height: 1.8em;
    padding: 2em 1.4em;
    transition: all 0.5s ease-in;
  }
  #cookiePopup img {
    display: block;
    width: 3.75em;
    transform: translateZ(0);
    position: relative;
    margin: auto;
  }
  #cookiePopup p {
    text-align: center;
    margin: 1.4em 0;
  }
  #cookiePopup button {
    background-color: #490b0b;
    border: none;
    color: white;
    font-size: 1.2em;
    padding: 1em 1.4em;
    display: block;
    position: relative;
    margin: auto;
    border-radius: 5px;
  }
  #cookiePopup a {
    color: #490b0b;
  }
  .hide {
    visibility: hidden;
    bottom: 0;
    right: 2em;
  }
  .show {
    visibility: visible;
    bottom: 2em;
    right: 2em;
  }
  @media only screen and (max-width: 37.5em) {
    #cookiePopup {
      width: 100%;
    }
    .hide {
      bottom: 2em;
      right: 0;
    }
    .show {
      right: 0;
      bottom: 0;
    }
  }

  /* Fine Cookie */



.google-maps {
  position: relative;
  padding-bottom: 20%;
  height: 0;
  overflow: hidden;
}

.google-maps > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}


#footer-main {
  background-color: #000;
  padding: 20px;
  padding-top: 60px;
  padding-bottom: 0px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: auto;
  grid-gap: 10px;
  margin: 0 auto;
  max-width: 100%;
  padding-left: 180px;
  color: #fff;
}

@media (max-width: 1024px) {
  .footer-grid {
    padding-left: 20px;
  }
}

.footer-title {
  color: #fff;
}

.copy {
  text-align: center;
  margin-top: 20px;
}


/*footer*/

/* .footer {
  background-color: #000;
  color: #fff;
  padding: 6px;

}

.contatti-social{
  display:inline-block;
  margin: 0px 30px;
}

#map {
  width: auto;
  height: 150px;
  margin-right:40px;
}

.fot{
  display: inline-block;
  margin: 10px auto;
  vertical-align: top;
}

#rimandosocial{
  margin-left:50px ;
  padding-left:50px;
  color: #fff;
}

#testofooter{
  max-width: 500px;
  font-size: 12px;
  color: #fff;
  text-align: center;
}

*/


/* ! helpers */

.mt-1{margin-top: 50px;}
.mt-2{margin-top: 100px;}
.mt-3{margin-top: 150px;}
.tw{color:#fff}





*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
