@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;600;700&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Familjen Grotesk', sans-serif;
  background: #000;
  color: #fff;
}

a {
  text-decoration: none;
  color: #fff;
}

ul {
  list-style: none;
}

/* Header/Navbar */
.main-header {
  position: fixed;
  background-color: #000;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  height: 55px;
  padding: 0 30px;
}

/* Logo */
.logo {
  width: 210px;
  height: auto;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}






/* Desktop Menu */


.desktop-main-menu {
  width: 100%;
  font-size: 25px;
 
}

.desktop-main-menu ul {
  display:flex;
  align-items: center;
  justify-content: center;
  
}

.desktop-main-menu ul li {
  position: relative;
  margin-right: 75px;
  
  border-bottom: #fff;
  border-bottom-width: 0ch;
  font-size: 20px


}

/* Menu item bottom border */
.desktop-main-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: all 1s ease-out;
  transform-origin: right center;
  transform-style: preserve-3d;
  
}

.desktop-main-menu ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
  transition-duration: 1s;
}

/* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */
/* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */
/* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */ /* INDEX */

/* Secciones de contenido*/
section {
  position: relative;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-transform: uppercase;
}

.section_1{
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-transform: uppercase;
  width: 100%;
  display: flex;
  align-content: center;
  border-top-style: solid;
  border-bottom-style: solid;
  border-radius: 20px;
  border-top-width: 2px;
  border-bottom-width: 2px;
  margin-top: 4%;
  height: 93vh;

}

.section-inner_A {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;

}

.section-inner_A h2 {
  
  font-size: 30px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  width: 80%;
  margin-left: 10%;
  animation: fadeInUp 0.5s ease-in-out;
  text-shadow: 1px  0px 0px black,
               0px  1px 0px black,
              -1px  0px 0px black,
               0px -1px 0px black;
              
              }
 

.section_2{
  position: relative;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-transform: uppercase;
  width: 100%;
  display: flex;
  align-content: center;
  border-top-style: solid;
  border-bottom-style: solid;
  border-radius: 20px;
  border-top-width: 2px;
  border-bottom-width: 2px;
  height: 100vh;
}               


.section-inner_B {
  width: 100%;
  display: flex;
  align-items: center;
 
}

.section-inner_B h2 {
  position: relative;
  font-size: 30px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  width: 80%;
  margin-left: 10%;
  animation: fadeInUp 0.5s ease-in-out;
  text-shadow: 1px  0px 0px black,
               0px  1px 0px black,
              -1px  0px 0px black,
               0px -1px 0px black;
  
}

.section_3{
  position: relative;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-transform: uppercase;
  width: 100%;
  display: flex;
  align-content: center;
  border-top-style: solid;
  border-bottom-style: solid;
  border-radius: 20px;
  border-top-width: 2px;
  border-bottom-width: 2px;
  height: 100vh;
}    

.section-inner_C {
  width: 100%;
  display: flex;
  align-items: center;
}

.section-inner_C h2 {
  position: relative;
  font-size: 30px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  width: 80%;
  margin-left: 10%;
  animation: fadeInUp 0.5s ease-in-out;
  text-shadow: 1px  0px 0px black,
               0px  1px 0px black,
              -1px  0px 0px black,
               0px -1px 0px black;

}



/* Background images */
.section_1 { background-image: url('../img/ISS.jpg');}
.section_2 {background-image: url('../img/petroleo.jpg');}
.section_3 {background-image: url('../img/sig_4.jpg');}
.section_4  {background-image: url('../img/RPCS_meteo3.png');}

.btn {
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  min-width: 130px;
  padding: 15px 50px;
  margin-top: 10px;
  border: 2px solid #fff;
  text-transform: uppercase;
  font-weight: bold;
  overflow: hidden;
  z-index: 2;
}

.btn:hover span {
  color: #000;
}

.btn .hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  color: #000;
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover .hover {
  transform: translateY(0);
}

.scroll-arrow {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeBounce 5s infinite;
}

/* Footer */

footer {
  position: relative;
  padding: 55px 0;
  color:lightslategrey;
 
}

footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  
}

footer ul li {
  margin-right: 30px;
  color: #aaa;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 2.5;
}

footer ul li a {
  color: #fff;
  transition: color 0.6s;
}

footer ul li a:hover {
  color: #aaa;
}

/* Hamburger Menu */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  position: absolute;
  width: 20px;
  height: 2px;
  top: 0;
  left: 0;
  background: #fff;
  transition: all 0.5s;
}

.hamburger-middle {
  transform: translateY(5px);
}

.hamburger-bottom {
  transform: translateY(10px);
}

/* Transition hamburger to X when open */
.open {
  transform: rotate(90deg);
}

.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translateX(6px);
}

.open .hamburger-middle {
  display: none;
}

.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translateX(-6px);
}





/* Overlay */
.overlay-show {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

/* Stop body scroll */
.stop-scrolling {
  overflow: hidden;
}

/* Hide mobile main menu items */
.mobile-only {
  display: none;
}

/* Mobile menu */
.mobile-main-menu {
  position: fixed;
  top: 9%;
  right: 0;
  width: 280px;
  height: 70%;
  background: #000000;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border-color: #585858;
  border-top-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 1px;
  border-right-width: 1px;
  border-style: solid;
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Bring menu from right */
.show-menu {
  transform: translateY(0);
}

.mobile-main-menu ul {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  padding: 50px;
  width: 100%;
}

.mobile-main-menu ul li {
  margin-bottom: 20px;
  font-size: 18px;
  text-transform: uppercase;
  border-bottom: 1px #555 dotted;
  width: 100%;
  text-align: right;
  padding-bottom: 8px;
}

.mobile-main-menu ul li a {
  color: #fff;
  transition: color 0.6s;
}

.mobile-main-menu ul li a:hover {
  color: #aaa;
}



.stats {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  text-transform: uppercase;
}

.stats div span {
  font-size: 160px;
}

/* IMAGENES DE LAS SECCIONES*/ /* IMAGENES DE LAS SECCIONES*/ /* IMAGENES DE LAS SECCIONES*/ /* IMAGENES DE LAS SECCIONES*/

/* Inner Pages */
.ISS {
  background-image: url('../img/ISS.jpg');
}

.Polar {
  background-image: url('../img/polar.jpg');
}

.Cirrus {
  background-image: url('../img/Aurora.gif');
}

.section-animate_NAV {
  animation: fadeIn 4s ease-in-out;
}


/* Animations */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(500px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(140px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }

  40% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Media Queries */

@media  screen and (min-width: 1px) and (max-width:600px),
        screen and (max-height: 700px)  {

.main-header {
  position: fixed;
  background-color:none;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  height: 120px;
  padding: 0 30px;
}


          /* Hamburger Menu */
.hamburger {
  position: fixed;
  top: 5%;
  right: 20px;
  z-index: 10;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
}


         

  /* Hide desktop menu */
  .desktop-main-menu {
   display: none;
 }
 
 
 .mobile-only {
   display: block;
 }
 /* Show main mobile items */
 .section-inner_A {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;

}

.section-inner_A h2 {
  
  font-size: 20px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  width: 80%;
  margin-left: 10%;
  animation: fadeInUp 0.5s ease-in-out;
  text-shadow: 1px  0px 0px black,
               0px  1px 0px black,
              -1px  0px 0px black,
               0px -1px 0px black;
              
              }
 

.section_2{
  position: relative;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-transform: uppercase;
  width: 100%;
  display: flex;
  align-content: center;
}               


.section-inner_B {
  width: 100%;
  display: flex;
  align-items: center;
 
}

.section-inner_B h2 {
  position: relative;
  font-size: 20px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  width: 80%;
  margin-left: 10%;
  animation: fadeInUp 0.5s ease-in-out;
  text-shadow: 1px  0px 0px black,
               0px  1px 0px black,
              -1px  0px 0px black,
               0px -1px 0px black;
  
}

.section_3{
  position: relative;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-transform: uppercase;
  width: 100%;
  display: flex;
  align-content: center;
}    

.section-inner_C {
  width: 100%;
  display: flex;
  align-items: center;
}

.section-inner_C h2 {
  position: relative;
  font-size: 20px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  width: 80%;
  margin-left: 10%;
  animation: fadeInUp 0.5s ease-in-out;
  text-shadow: 1px  0px 0px black,
               0px  1px 0px black,
              -1px  0px 0px black,
               0px -1px 0px black;

}

 
   footer ul li:first-child {
     position: absolute;
     top: 30px;
     left: 50%;
     transform: translate(-50%, -50%);
   }
 
   footer ul li {
     margin-right: 15px;
   }
 
   .logo {
     width: 150px;
     margin: auto;
   }
 
   .section-inner-center h3 {
     font-size: 50px;
   }
 
    

 }

@media  screen and (min-width: 401px) and (max-width:1000px){

  .main-header {
    position: fixed;
    background-color:none;
    background: none;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    height: 120px;
    padding: 0 30px;
  }
  
  
            /* Hamburger Menu */
  .hamburger {
    position: fixed;
    top: 5%;
    right: 20px;
    z-index: 10;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
  }

/* Hide desktop menu */
.desktop-main-menu {
display: none;
}


.mobile-only {
display: block;
}
/* Show main mobile items */
.section-inner_A {
position: absolute;
bottom: 80%;
width: 100%;
display: flex;
justify-content: center;
}

.section-inner_A h2 {
font-size: 20px;
animation: fadeInUp 0.5s ease-in-out 0.2s;
animation-fill-mode: both;
width: 80%;
animation: fadeInUp 0.5s ease-in-out;
text-shadow: 1px  0px 0px black,
          0px  1px 0px black,
         -1px  0px 0px black,
          0px -1px 0px black;
transform: translate(10%, 100%);
}

.section-inner_B {
position: absolute;
bottom: 95%;
width: 80%;
display: flex;
justify-content: center;
}

.section-inner_B h2 {
font-size: 20px;
animation: fadeInUp 0.5s ease-in-out 0.2s;
animation-fill-mode: both;
width: 100%;
animation: fadeInUp 0.5s ease-in-out;
text-shadow: 1px  0px 0px black,
        0px  1px 0px black,
       -1px  0px 0px black,
        0px -1px 0px black;
transform:  translate(10%, 100%);
}

.section-inner_C {
position: absolute;
bottom: 95%;

width: 100%;
}

.section-inner_C h2 {
font-size: 20px;


animation: fadeInUp 0.5s ease-in-out 0.2s;
animation-fill-mode: both; 
width: 80%;
animation: fadeInUp 0.5s ease-in-out;
text-shadow: 1px  0px 0px black,
        0px  1px 0px black,
       -1px  0px 0px black,
        0px -1px 0px black;
transform: translate(10%, 100%);
}


footer ul li:first-child {
position: absolute;
top: 30px;
left: 50%;
transform: translate(-50%, -50%);
}

footer ul li {
margin-right: 15px;
}

.logo {
width: 150px;
margin: auto;
}

.section-inner-center h3 {
font-size: 50px;
}











}


 
