@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;
  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;
}





.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');
}

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

/* SECCION DE NAVEGACION*/

.section-animate_NAV {
  margin-top: 4%;
  height: 93vh;
  border-top-style: solid;
  border-bottom-style: solid;
  border-radius: 20px;
  border-top-width: 2px;
  border-bottom-width: 2px;

}
.section-inner-center_NAV {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  
  
}

.section-inner-center_NAV h3 {
  font-size: 40px;
  text-transform: uppercase;
  margin-bottom: 100px;
  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;
  width: 100%;
  text-align: center;
  line-height: 5px;
  
}

.section-inner-center_NAV p {
 
  font-size: 30px;
  font-style: italic;
  font-family: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-shadow: 1px  0px 0px black,
  0px  1px 0px black,
 -1px  0px 0px black,
  0px -1px 0px black;
  width: 100%;
  text-align: center;

}
  

/* subsections_NAV  */
.subsection_1 {
  
  display: inline-block;
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /*display: flexbox;
  flex-wrap: wrap;*/
 
}

.subsection-inner_A_RPCS_tittle{
  padding-top: 5%;
  width: 100%;
  bottom: 100px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  font-family:sans-serif;
  animation-fill-mode: both;
  display: flex;
  justify-content: center;
  align-self: center;
  
}

.subsection-inner_A_RPCS_tittle li{

  font-size: 25px;
  width: 60%;
  margin-left:15%;
  margin-right: 15%;
  list-style: none;
  border-spacing:10px;
  text-align: center;
  font-style: italic;
  font-family: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;
  border-bottom: 3px solid #EEF1F4;
  border-width: 3px 0;
  
}

.subsection-inner_A_RPCS {
  padding: 5%;
  width: 100%;
  bottom: 100px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  font-family:sans-serif;
  animation-fill-mode: both;
  justify-content: center;
      align-items: center;
  }


.subsection-inner_A_RPCS li{
  font-size: 25px;
  width: 70%;
  margin-left: 15%;
  margin-right: 15%;
  list-style: none;
  padding: 25px;
  border-spacing:10px;
  text-align: justify;
  font-style: italic;
  font-family: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;
  justify-content: center;

}


.art-container {
  position: relative;
  width: 100%;
  height: 400px;
}



.earth {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: #146938;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(12, 70, 12, 0.6);
  z-index: 2;
}

.orbit {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed #3498db;
  border-radius: 50%;
}

.satellite-orbit {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 10s linear infinite;
}

.satellite {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 30px;
  height: 30px;
  background: #f1c40f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: black;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Duplicar la animación con distintos tiempos o rotaciones */
.satellite-orbit:nth-child(4) { animation-delay: 0s; }
.satellite-orbit:nth-child(5) { animation-delay: -2.5s; }
.satellite-orbit:nth-child(6) { animation-delay: -5s; }
.satellite-orbit:nth-child(7) { animation-delay: -7.5s; }

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}



.text_table{

  padding: 5%;
  width: 100%;
  bottom: 100px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  font-family:sans-serif;
  animation-fill-mode: both;
  justify-content: center;
  align-items: center;

}

.text_table li{

  font-size: 25px;
  width: 40%;
  margin-left: 30%;
  margin-right: 30%;
  list-style: none;
  padding: 10px;
  border-spacing:10px;
  text-align: center;
  font-style: italic;
  font-family: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;

  
}



.subsection-inner_A_RPCS_text_video{
  
  max-width: 100%;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  display: flex;
  justify-content: center;
}

.subsection-inner_A_RPCS_text_video li{
  font-size: 25px;
  width: 75%;
  list-style: none;
  padding: 50px;
  text-align: justify;
  font-style: italic;
  font-family: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;

}

.subsection-inner_A_RPCS_video{
  align-items: center;
  max-width: 100%;
}


.subsection-inner_A_RPCS_video video{
  border-radius: 20px;
  border-style:double;
  border-color: #fff;
  border-width: 5px;

  width: 40%;
  height: 30%;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both; 
  margin: 0 auto ;
  display: block;
}




/* 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: 601px) and (max-width:1000px){

  .main-header {
    position: fixed;
    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;
}



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: 30px;
}


.subsection-inner_A_RPCS_tittle li{

  font-size: 20px;  
}

.subsection-inner_A_RPCS li{
  font-size: 20px;
}

.subsection-inner_A_RPCS_text_video li{
  font-size: 20px;

}

.text_table li{

  font-size: 20px;
  
}








}

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

.main-header {
  position: fixed;
  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: 15px;
  z-index: 10;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
}

.text_table li{

  font-size: 25px;
  width: 70%;
  margin-left: 15%;
  margin-right: 15%;
}


         

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

 
 
   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;
   }
 
.subsection-inner_A_RPCS_tittle li,
.subsection-inner_A_RPCS li,
.subsection-inner_A_RPCS_text_video li,
.text_table li{
font-size: 16px; /* Antes: 25px en escritorio */
}

    

   

 }






 
