/* Base Style */

body{font-family: 'Roboto', sans-serif;font-size: 16px; background-color: #000;}

.iframe{z-index: 1; margin-left: 110px; margin-bottom: 100px;}

.iframe-1{z-index: 1; text-align: center; margin-left: 40px;} 

.bw{background-color: #fff; height: 100px; width: 100%;}

.bb{background-color: black; height: 100px; width: 100%;}

.bb-med{background-color: black; height: 60px; width: 100%;}

a{text-decoration: none;}

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

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

.p-j{text-align: justify;}

.menu li a:hover{ 
  color: white;
  opacity: 1;
}

li, a{
  position: relative;
}

.menu li a:hover::after{
  width: 100%;
  transition: width .3s;
}

.menu li a::after{
  position: absolute;
  bottom: 0;
  content: '';
  display: block;
  background-color: currentColor;
  transition: width .3s;
  width: .001%;
  border-radius: 2px;
  height: 2px;
  left: 0;
}

.submenu {
  visibility: hidden;
  position: absolute;
  z-index: 10;
  -webkit-transform: translateY(10px);
  -ms-transform: translateY(10px);
  transform: translateY(10px);
  transition: .3s ease-in-out;
  box-shadow: 0 2px 0 0 #ECF1F2;
}

.submenu li {
  position: relative;
}

.submenu li a {
  display: block;
  text-decoration: white;
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 10px 20px;
}
  
li:hover > .submenu {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
}

.active{
  color: white !important;
  opacity: 1 !important;
}

.big-text{font-size: 70px;font-weight: 900;}

.big-text-1{font-size: 70px;font-weight: 600; text-align: center;}

.big-med-text{font-size: 50px;font-weight: 900; text-transform: uppercase;}

.big-med-text-mariner4{font-size: 50px;font-weight: 900; text-transform: uppercase; text-align: center;}

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

.med-text-1{font-size: 40px; margin-left: 50px; text-align: center; font-weight: 400px;}

.normal-text{font-size: 20px;}

.small-text{font-size: 14px;}

.intro-text{font-size: 20px; font-style:italic}

@media (max-width: 768px) {
  .spazio{padding-top: 100px;}
  .big-text{font-size: 40px;}
  .big-text-1{font-size: 40px;}
  .iframe{z-index: 1; margin-left: 0px; margin-bottom: 0px;}
  .iframe-1{z-index: 1; text-align: center; margin-left: 0px;}
} 

/* Button */

.button:hover{
  position:relative;
  animation: scopri-di-piu-insta 1.2s cubic-bezier(.03, .8, .56, 1.2) ;
}

.insta-button:hover{
  position:relative;
  animation: scopri-di-piu-insta 1.2s cubic-bezier(.03, .8, .56, 1.2) ;
}

@keyframes scopri-di-piu-insta{
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(0.9);
  }

  100%{
    transform: scale(1);
  }
}

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


/* Heder */

.header{
  width: 100%;
  position: fixed;
  z-index: 10;
  top:0;
  left:50%;
  transform: translateX(-50%);
  padding: 30px;
  display: flex;
  max-width: 1350px;
}

.logo img{
  z-index: 1;
  width: 65px;
  height: 80px;
  
}

.logo-apollo11 img{
  z-index: 1;
  width: 80px;
  height: 80px;
  
}

.logo-apollo17 img{
  z-index: 1;
  width: 80px;
  height: 80px;
  
}

.logo-marte img{
  z-index: 1;
  width: 70px;
  height: 75px;
  
}

.insta-img{
  z-index: 1;
  width: 80px;
  height: 80px;
}

.faceb-img{
  z-index: 1;
  width: 80px;
  height: 80px;
}

.menu{
  position: relative;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
  width: 100%;
  z-index: 0;
}

.menu li{display: inline-block;}

.menu li a{
  color: #fff;
  opacity: 0.5;
  padding: 15px;
  display: block;
}

.hamburger{display: none;}

@media (max-width: 768px) {

  .cta{display: none;}

  .menu{position: absolute; top:0; right:-100%;background: #000;height: 100vh;padding-top: 80px;}
  .menu li{display: block; position: relative;}
  .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: #fff;height: 3px;width: 100%;display: block;margin-bottom: 5px;}

}


/* Hero */

.hero{
  position: relative;
  height: 100vh;
  display: flex; width: 100%;align-items: center;
  background: linear-gradient(0deg, rgba(0,0,0,.2), rgba(0,0,0, 0.9)),
   url('bg-video.png') no-repeat center 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;}

.hero--small{height: 600px;text-align: center;}

#video-back{
  position:absolute;
  bottom:0;
  left:0;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
}

#video-back-apollo11{
  position: relative;
  bottom:0;
  left:0;
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
}


/* Poster */

.poster{
  position: relative;
  display: flex;
  height: auto;
  width: 100%;
  align-items: center;
  z-index: 0;
}

.poster__img{width: 65%; height: 100vh;}
.poster__img img{object-fit: cover; width: 100%;height: 100%;}
.poster__content{width: 35%;padding: 50px;}

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


/* BG Cover */

.bg-cover{
  display: flex;
  padding: 100px 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0, 0.7)),
   url('IL/lunabg.jpg') no-repeat center center;
  background-size: cover;
}

.bg-cover-apollo17{
  display: flex;
  padding: 100px 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0, 0.7)),
   url('IL//bg-apollo17.jpg') no-repeat center center;
  background-size: cover;
}

.bg-cover-mariner4{
  display: flex;
  padding: 100px 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0, 0.7)),
   url('IM/martebg-1.jpg') no-repeat center center;
  background-size: cover;
}

.bg-cover-marte{
  display: flex;
  padding: 100px 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0, 0.7)),
   url('IM//martebg.jpg') no-repeat center center;
  background-size: cover;
}

.bg-cover-jfk{
  display: flex;
  padding: 100px 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0, 0.7)),
   url('IL//discorsokennedy.jpg') no-repeat center center;
  background-size: cover;
}

.bgim{background-image: url(altro//sfondopallozzi.jpg);}

.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-mariner4{flex-wrap: wrap; height: auto;}
  .bg-cover-marte{flex-wrap: wrap; height: auto;}
  .bg-cover-jfk{flex-wrap: wrap; height: auto;}
  .bg-cover__text,
  .bg-cover__title{width: 100%;}
}


/* Grid */

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

@media (max-width: 768px) {
  .grid{flex-wrap: wrap}
  .col{flex-wrap: wrap;}
  .footer-a{padding-left: 50px;}
  .text-footer-nome{margin-top: 40px;}
}


/* Carousel */

.main-carousel{padding: 40px 0;}

.carousel-cell{
  height: 350px;
  width: 350px;
  margin-right: 40px;
}

.carousel-cell__content{
  width: 100%;
  height: 100%;
  background: #6adf91;
  border-radius: 100%;
  line-height: 350px;
  text-align: center;
}


/* Carousel-cell img */

.carousel-cell2 {
  width: 100%;  /*full width*/ 
  height: 100%;
  background: #222;
  /* center images in cells with flexbox */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.carousel .is-fullscreen .carousel-cell {
  height: 100%;
  z-index:20;
}

.carousel{position: relative; z-index: 30;}

.carousel-cell img {
  display: block;
  max-height: 100%;
  
}


/* Panel Blue */

.panel-blue{background-image: url(altro//sfondogalassia.jpg); padding: 100px 30px;}
.panel-galassia{background-image: url(Altro/sfondopallozzi.jpg); padding: 100px 30px;}
.panel-blue__text{display: flex;align-items: center;}
.dot{
  height: 250px;width: 250px;
  background: #6adf91;border-radius: 100%;
  line-height: 250px;
  text-align: center;
  display: inline-block;
  margin-right: 40px;
  margin-bottom: 40px;
}


/* Footer */

.footer{
  background: #010e30;
  padding: 150px 0;
}

a{color: white;}
.text-footer-nome{font-size: 30px; margin-left: 50px; font-weight: 400px;}
.text-footer-cognome{font-size: 30px; margin-left: 50px; font-weight: 400px;}


/* Content */

.content{max-width: 900px; margin: 40px auto;}


/* Tabella */

.colore-tabella{
  width: 600px;
  text-align: center;
  margin: auto;
  margin-top: 0px;
  margin-bottom: 0px;
  background-color: white;
  padding: 0px;
}

td{text-align: center; margin-top: 5px;}

#Spazio {
  width: 100%;
}
#Spazio,
#Spazio th,
#Spazio td {
  border: 1px solid black;
  border-collapse: collapse;
}
#Spazio th {
  background-color: #000080;
  color: white;
}


/* Helpers */

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

@media (max-width: 768px) {
  .mt-sma-0{margin-top: 0}
  .mb-sma-0{margin-bottom: 0}
}

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