/* ! Stili Base */

body {font-family: 'Inter', sans-serif; font-size: 16px;}
a {text-decoration: none;}
h1, h2, h3, h4, h4, p {color: #000; padding-bottom: 30px;}
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: 18px 28px; background: #316bff; color: #fff; display: inline-block;border-radius: 4px;}

@media (max-width: 768px) {

  .big-text {font-size: 40px;font-weight: 900;}


}



/* ! Header */

.header {


  width: 100%;
  height: 159px;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  padding: 30px;
  display: flex;
/* ! Siccome è position fixed per allienaerlo con l'hero ho bisogno del seguente codice*/
  max-width: 1350px;
  left: 50%;
  transform: translateX(-50%);



}

.logo  {
  z-index: 1;


}

.menu  {
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
  z-index: 0;
  width: 100%;

}

.menu li{
  display: inline-block;
}

.menu li a{
  color: #fff;
  padding: 15px;
  display: block;
}

.hamburger {display: none;}

@media (max-width: 768px) {

  .cta  {display: none;  }
  .menu {position: absolute; top: 0; right: -100%; background: black; height: 100vh; padding-top: 140px;}
  .menu--open {right:0;}
  .menu li {display: block;}
  .menu li a {padding: 15 30;font-size: 20px;}
  .hamburger {
    display: block;
    width: 30px;
    height: 30px;

    position: absolute;
    top: 40px;
    right: 30px;
  }
  .hamburger span {background: #fff; height: 3px; width: 100%; display: block; margin-bottom: 5px;}
}



/* Hero */

.hero {
  position: relative;
  /* background: linear-gradient(0deg, rgba(0,0,0,.2), rgba(0,0,0,0.7) 70.71%), url("Images/bg-video.jpg") no-repeat center center; */
  background-size: cover;
  height: 100vh;
  display: flex; width: 100%; align-items: center;
  overflow: hidden;

}

.hero:after{
  content: ' ';
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.4;
}

.hero p,h1 {color: white;}
.hero__content {


  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 20px;

}

#video-back{
  position: absolute;
  bottom: 0;
  left: 0;
  border: 1px solid red;
  width: auto;
  height: auto;
  z-index: 0;
}


/* Poster */

.poster {

  display: flex;
  height: auto;
  width: 100%;
  align-items: center;
}

.poster__img{

  width: 60%;
  height: 50%;

}

.poster__img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.poster__content {

  width: 40%;
  padding: 50px;
}

@media (max-width: 768px) {

  .poster{flex-wrap: wrap; height: auto;} /* ! serve per fare andare a capo le 2 colonne */
  .poster__img,
  .poster__content {width: 100%; }
}

/* ! BG-Cover */

.bg-cover{

  display: flex;  /* serve per fare 2 colonne */
  padding: 100px 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0.7) 70.71%), url("Images/bg-video.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{
  width: 100%;
  padding: 30px;
}

.bg-cover__title{
  width: 100%;
  padding: 50px;
  display: flex;
  align-items: center;
}

}


/* ! Grid */

.grid {

  display: flex;
  /* min-width: 1350px; */
  padding: 0 30px;
  margin: 0 auto;
}

.grid .col {width: 100%;}

.col__text{
  width: 50%;
  padding: 30px;
}

.col__title{
  width: 50%;
  padding: 50px;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .grid{min-width: auto;}
  .grid{flex-wrap: wrap;}
}

/* ! Slider */

.main-carousel {

  padding: 40px 0;
}
.carousel-cell {
  height: 350px;
  width: 350px;
  background: #6adf91;
  border-radius: 100%;
  line-height: 350px;
  text-align: center;
  margin-right: 20px;
  margin-left: 20px;
}

.spaziatura{
  height: 159px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  background: url("Images/Dermatoscopia.png");


color: #white;
font-family: 'Concert One', cursive;
padding: 20px 0px
}


/* ! Footer */
 .footer{
   background-color: #000;
   padding: 150px 0;
   margin-left: auto;
   margin-right: auto;
   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;
}
