@font-face {
    font-family: "Manzanares-CondensedThin";
    src: url("../fonts/Manzanares-CondensedThin.otf") format('opentype');
}

@font-face {
    font-family: "Manzanares-NarrowBold";
    src: url("../fonts/Manzanares-NarrowBold.otf") format('opentype');
}

@font-face {
    font-family: "Manzanares-NarrowLight";
    src: url("../fonts/Manzanares-NarrowLight.otf") format('opentype');
}

@font-face {
    font-family: "Manzanares-NarrowThin";
    src: url("../fonts/Manzanares-NarrowThin.otf") format('opentype');
}

body{
    margin: 0;
    font-family: sans-serif;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    scroll-behavior: smooth;
    background-color: black;
    color: white;
    overflow-x: hidden;
}

/* Fonts */
body p, button, footer a{
  font-family: Manzanares-NarrowLight;
}

body h1,h2, .title{
    font-family: Manzanares-CondensedThin;
    font-weight: unset;
}

body b{
  font-family: Manzanares-NarrowBold;
}

body .menu{
  font-family: Manzanares-NarrowThin;
}

/* Secciones */

.section {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  background-color: black;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#intro{
    width: 100%;
    position: relative;
}

#intro .intro-content{
    width: 1300px;
    margin: 0 auto;
    text-align: center;
}

/* #intro .planet{
    height: auto;
    position: absolute;
    bottom: 0px;
    bottom: -450px;
      left: 50%;
  transform: translateX(-50%);
  transition: transform 1.5s ease, opacity 1.5s ease
} */

#intro .planet-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 265px;
  width: auto;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
  max-width: 100%;
}

#intro .planet {
  height: auto;
  width: auto;
  transform: translateY(30px); /* sube o baja según la parte que quieres mostrar */
  transition: transform 1.5s ease, opacity 1.5s ease;
}


#intro .intro-content .logo{
    position: relative;
    z-index: 1;
    margin-top: 35px;
}

#intro .intro-content .content{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#intro .title, #intro .subtitle{
 width: 370px;
 z-index: 100;
}
.wrapper-video-logo {
  /* position: relative; */
  min-height: 80vh;
  /* width: 1024px;
  max-width: 400px;
  overflow: hidden; */
}
.wrapper-video-logo video {
  position: absolute;
  z-index: 10;
  transform: translateX(-50%);
  width: 1024px;
  height: 717px;
}

.wrapper-video-logo img {
  position: absolute;
  z-index: 10;
  transform: translateX(-50%);
  width: 1024px;
  height: 717px;
}



#intro .title h1{
  font-size: 60px;
  text-align: right;
  text-transform: uppercase;
}

#intro .subtitle h2{
  font-size: 60px;
  text-align: left;
  text-transform: uppercase;
}

#intro .div-button{
  position: relative;
  width: 450px;
  margin: 0 auto;
  z-index: 999;
}

.stars{
  position: absolute;
}

#intro .div-button .l-top{
  top: 24px;
  z-index: 2;
  left: -6px;
}

#intro .div-button .r-top{
  top: 24px;
  z-index: 2;
  right: -5px;
}

#intro .div-button .l-bottom{
  bottom: -5px;
  z-index: 2;
  left: -5px;
}

#intro .div-button .r-bottom{
  bottom: -5px;
  z-index: 2;
  right: -5px;
}

#intro .intro-content  button{
    margin-top: 30px;
    width: 450px;
    height: 70px;
    text-align: center;
    border: 1.5px solid white;
    position: relative;
    z-index: 1;
    /* background-color: transparent; */
    color: white;
    cursor: pointer;
    font-size: 34px;
    text-transform: uppercase;
    background-color: rgba(95, 95, 95, 0.4);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

#intro .intro-content  button:hover{
    background-color: white;
    color: black;
}

#skip-btn{
    /* opacity: 0; */
    position: relative;
    z-index: 1;

    width: 350px;
    height: 50px;
    text-align: center;
    border: 1.5px solid white;
    z-index: 1;
    background-color: transparent;
    color: white;
    cursor: pointer;
    font-size: 23px;
}

#intro-video-section video{
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

#main-video-section{
  position: relative;
}

#main-video-section video{
    /* width: 100%;
    height: 100%; */
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

#main-video-section #customPlay{
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  cursor: pointer;
  z-index: 10;
}

#info-section{
    width: 100%;
    position: relative;
    overflow: hidden;
}

#info-section .wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 0px;
    transform: translateY(-50%);
    top: 50%;
    position: relative;
}

#info-section .wrapper .text{
    font-size: 24px;
    max-width: 900px;
    border: 1px solid white;
    padding: 30px 50px;
    margin: 0 auto;
    background-color: rgba(95, 95, 95, 0.4);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    position: relative;
}

#info-section .l-top{
  top: -8px;
  z-index: 2;
  left: -6px;
}

#info-section .r-top{
  top: -8px;
  z-index: 2;
  right: -6px;
}

#info-section .l-bottom{
  bottom: -7px;
  z-index: 2;
  left: -7px;
}

#info-section .r-bottom{
  bottom: -7px;
  z-index: 2;
  right: -7px;
}

#info-section .wrapper .text{
  line-height: 30px;
}

#info-section .wrapper-img{
  overflow: hidden;
  display: flex;
  align-content: center;
  align-content: center;
  justify-content: center;
  width: 1300px;
  margin: 0 auto;
}

#info-section #info-planet{
  height: auto;
  width: auto;
    /* position: absolute;
    bottom: 0px; */
    /* left: 50%; */
    /* left: 20%; */
    /* transform: translateX(-50%); */
    position: absolute;
    bottom: 0px;
    /* left: 20%; */
    transition: transform 2s ease, opacity 2s ease;

}

#final-section .wrapper {
    max-width: 1700px;
    margin: 0 auto;
    padding: 50px 0px;
    transform: translateY(-50%);
    top: 50%;
    position: relative;
}

#final-section .wrapper .content{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#final-section .wrapper .content .text{
  max-width: 600px;
  text-align: left;
  /* background-color: rgba(95, 95, 95, 0.4);
  backdrop-filter: blur(1px); */
  padding: 30px 30px;
}

#final-section .wrapper .content .text p{
  font-size: 24px;
}

#final-section .wrapper .content .text h2{
  line-height: 55px;
  font-size: 63px;
  margin-bottom: 20px;
  margin-top: 0px;
  text-transform: uppercase;
}

.btn-div{
  position: relative;
  width: 150px;
}

.btn-div .l-top{
  top: -6px;
  z-index: 2;
  left: -6px;
}

.btn-div .r-top{
  top: -6px;
  z-index: 2;
  right: -6px;
}

.btn-div  .l-bottom{
  bottom: -7px;
  z-index: 2;
  left: -7px;
}

.btn-div .r-bottom{
  bottom: -7px;
  z-index: 2;
  right: -7px;
}

#final-section .wrapper .content .text #btn{
    width: 150px;
    height: 50px;
    text-align: center;
    border: 1.5px solid white;
    position: relative;
    z-index: 1;
    color: white;
    cursor: pointer;
    font-size: 23px;
    text-transform: uppercase;

    background-color: rgba(95, 95, 95, 0.4);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

#final-section .wrapper .content .text #btn:hover{
    background-color: white;
    color: black;
}

#final-section .wrapper .content .image {
  position: relative;
  z-index: 999;
}

#final-section .jotase{
  position: absolute;
  /* top: 0px;
  right: 400px; */
  /* top: -197px;
  right: 100px; */
    top: -65px;
    right: 200px;
    width: 300px;
}

#final-section .image-grafic img{
  width: 500px;
}

#final-section #movil {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* #final-section .image{
   perspective: 1000px;
}


#final-section #movil {
  animation: float 6s ease-in-out infinite;
  transition: transform 0.1s ease-out;
  will-change: transform;
} */

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

#intro, #info-section, #final-section{
  background-image: url('../images/bck_stars_new2.png');
  background-repeat: no-repeat;
  background-size: cover;
}

#mainVideoIframe {
  width: 100%;
  height: 100%;
  position: relative;
}

#mainVideoIframe iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

/* Fin secciones */

/* Menu */

#menu-toggle{
  display: flex;
  justify-content: space-around;
  align-items: baseline;
  cursor: pointer;
}

#language{
position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1;
  width: 50px;
  font-family: Manzanares-NarrowThin;
  font-size: 20px;
  background-color: rgba(95, 95, 95, 0.4);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: space-around;
  align-items: baseline;
  cursor: pointer; 
  padding: 10px 0px; 
}

#language a{
  color: white;
  text-decoration: none;
}

#main-menu {
  position: fixed;
  top: 65px;
  left: 20px;
  z-index: 1;
  width: 155px;
  font-size: 30px;
  font-family: Manzanares-NarrowThin;
  display: none;
}

#main-menu img{
  width: 60px;
}

#menu-list {
  list-style: none;
  /* background: rgba(0, 0, 0, 0.8); */
  padding: 10px;
  margin: 0;
  /* display: none;
  flex-direction: column; */
  transition: max-height 0.4s ease, opacity 0.4s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  cursor: pointer;
  /* background-color: rgba(95, 95, 95, 0.4);
  backdrop-filter: blur(1px); */
  font-size: 30px;
  font-family: Manzanares-NarrowThin;
}

#menu-list li {
  margin: 5px 0;
}

#menu-list li a {
  color: white;
  text-decoration: none;
}

/* #menu-list.open {
  display: flex;
} */

#menu-list.open {
  max-height: 500px; /* Ajusta según tu contenido máximo esperado */
  opacity: 1;
}

/* Fin Menu */

#logo-div{
  margin-top: 50px;
  position: fixed;
  width: 100%;
  text-align: center;
  z-index: 1;
}

#corner-img {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#scroll-div{
  position: fixed;
  width: 100%;
  text-align: center;
  z-index: 1;
  bottom: 10px;
}

.location-info {
  display: flex;
  align-items: center;
  font-size: 18px;
  margin-top: 1rem;
  border: 2px solid white;
  padding: 20px 15px;
  width: 450px;
  text-align: center;
  text-transform: uppercase;
  background-color: rgba(95, 95, 95, 0.4);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  position: relative;
}

.location-info .l-top{
  top: -8px;
  z-index: 2;
  left: -6px;
}

.location-info  .r-top{
  top: -8px;
  z-index: 2;
  right: -8px;
}

.location-info .l-bottom{
  bottom: -7px;
  z-index: 2;
  left: -7px;
}

.location-info  .r-bottom{
  bottom: -7px;
  z-index: 2;
  right: -7px;
}

.country-name {
  /* width: 50%; */
  flex: 1 1 50%;
  word-break: break-word;
  white-space: normal;
  border-radius: 5px;
  font-weight: bold;
  /* white-space: nowrap; */
  font-size: 60px;
  font-family: Manzanares-NarrowLight;
}

.coords {
  /* width: 50%; */
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  border-bottom: 2px dotted white;
  font-family: Manzanares-NarrowLight;
  font-size: 19px;

}

.latitude,
.longitude {
  line-height: 1.5;
}

/* Footer */

footer {
  background: #ebebe7;
  color: white;
  text-align: center;
  padding: 50px 0px;
  position: relative;
  z-index: 2;
}

footer .wrapper{
  width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .logo{
  width: 500px;
}

footer .footer-menu{
  display: flex;
  width: 600px;
  height: 225px;
  justify-content: space-between;
  border-bottom: 2px solid #364acc;
}

footer .footer-menu img{
  width: 360px;
}

footer .footer-menu a{
    text-decoration: none;
    font-size: 30px;
    margin-bottom: 10px;
}

footer .footer-menu > div:first-child {
  display: flex;
  flex-direction: column;
  text-align: left;
}

footer .politics{
  margin-top: 30px;
  text-align: center;
}

/* Fin Footer */

/* Div Scroll */

#scroll-indicator {
  /* position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%); */
  font-size: 24px;
  color: white;
  z-index: 2;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(5px); }
}

/* Fin Scroll */

/* Div Scroll */
/* Contenedor principal del scroll */
/* WebKit (Chrome, Safari, Edge) */
body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

body::-webkit-scrollbar-track {
  background: transparent;
  margin-top: 40px;
  margin-bottom: 40px;
}

body::-webkit-scrollbar-thumb {
  background-color: white;
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #ccc;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: white transparent;
}

/* Fin Scroll */

/* Animaciones */

/* Logo principal */
#intro-img.animate {
  /* transform: scale(3); */
  transform: translateX(-50%) scale(3);
  filter: blur(10px);
  /* transition: transform 1.5s ease, filter 1.5s ease; */
  opacity: 0;
  transition: transform 1.5s ease, filter 1.5s ease, opacity 1.5s ease;
}

/* Planeta seccion intro */
#intro .planet.animate {
  /* transform: rotate(15deg);
  opacity: 0; */
  /* transform: scaleX(1) rotate(30deg); */
  transform: rotate(1deg) scaleX(1.2) scaleY(1.1);
  opacity: 0;
}

/* Planeta seccion Info */
#info-planet.animate {
  transform: scale(10);
  filter: blur(10px);
  opacity: 1;
  transition: transform 2s ease, filter 1.5s ease, opacity 1.5s ease;
}

.fade-in {
  opacity: 1;
}

.fade-out {
  opacity: 0;
  /* transition: opacity 1s ease; */
}

.hidden{
  display: none;
}

.section.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
/* Fin Animaciones */

/* Responsive */

#main-politics{
  background-image: url('../images/bck_stars_new.png');
  background-repeat: repeat;
  background-size: auto;
  text-align: left;
  font-family: Manzanares-NarrowLight;

}

#main-politics .wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0px;
}

#main-politics .wrapper p{
  font-size: 22px;
  line-height: 25px;
}

#main-politics .wrapper h4{
  font-size: 25px;
} 

#main-politics .wrapper a{
  color: white!important;
}

#main-politics .wrapper li{
  font-size: 22px;
  line-height: 25px;
  margin-bottom: 20px;
}

#final-section .wrapper .content .text p {
    line-height: 27px;
}

@media screen and (max-width: 1600px) {

}

@media screen and (max-width: 1500px) {
#final-section .wrapper {
  max-width: 1300px;
}

footer .wrapper {
  width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .footer-menu {
  justify-content: space-around;
}
}

@media screen and (max-width: 1400px) {
  #final-section .image-grafic img {
    width: 400px;
  }
}

@media screen and (max-width: 1300px) {
  #intro .intro-content {
    width: 900px;
  }

  #intro .title, #intro .subtitle {
    width: 250px;
  }

  #intro .intro-content .logo {
    width: 300px;
    height: auto;
  }

  footer .wrapper {
    width: 900px;
  }

  footer .logo{
    width: 400px;
  }
  footer .footer-menu {
    width: 400px;
    height: 155px;
  }

  footer .footer-menu img{
    width: 200px;
  }

  #final-section .wrapper {
    max-width: 1100px;
  }

  #final-section .wrapper .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
  }

  #final-section .wrapper .content .text {
    flex: 1 1 45%;
  }

  #final-section .wrapper .content .image {
    flex: 1 1 45%;
  }

  #final-section .wrapper .content .image-grafic {
    flex: 1 1 100%;
    margin-top: 30px;
    text-align: center;
  }

  #info-section #info-planet {
    height: auto;
    width: 900px;
  }

  #final-section .jotase {
  top: 510px;
  width: 300px;
}

#final-section #movil {
  width: 300px;
}

#final-section .wrapper .content .text {
  max-width: 450px;
}

#info-section .wrapper {
  max-width: 900px;
}

#info-section .wrapper-img{
  width: 900px;
}

}

@media screen and (max-width: 1080px) {
  #final-section .wrapper .content .image-grafic{
    display: none;
  }
  footer .footer-menu a {
    text-decoration: none;
    font-size: 23px;
    margin-bottom: 10px;
  }
}


@media screen and (max-width: 900px) {

  #intro{
  overflow: hidden;
}

  #intro .planet {
    width: 1500px;
  }

  #logo-div {
    width: 100vw;
  }

  #intro .intro-content {
    width: 700px;
  }

  #intro .intro-content .logo {
    width: 205px;
  }

   #intro .title, #intro .subtitle {
    width: 200px;
   }

  #intro .title h1 {
    font-size: 30px;
  }

  #intro .subtitle h2 {
    font-size: 30px;
  }

   #info-section .wrapper {
    max-width: 700px;
  }

  #info-section .wrapper-img{
    width: 200px;
  }

  #final-section .jotase {
    top: 510px;
  }

   #final-section .image-grafic img {
    width: 300px;
  }

  footer .wrapper {
    width: 700px;
  }

    footer .logo {
    width: 300px;
  }

  footer .footer-menu {
    width: 300px;
  }

  footer .footer-menu a {
    font-size: 20px;
  }

   #final-section .wrapper .content .text {
    max-width: 350px;
  }

  #final-section #movil {
    width: 200px;
  }

  #final-section .wrapper .content .text h2 {
    line-height: 53px;
    font-size: 40px;
  }
  
}

@media screen and (max-width: 700px) {

   #main-menu{
    display: none;
   }

  #intro .intro-content .logo {
    width: 150px;
  }

 #final-section .wrapper .content {
    display: flex;
    flex-wrap: inherit;
    justify-content: inherit;
    align-items: center;
 }

  #final-section .image-grafic img {
    display: none;
  }

  #final-section .wrapper .content .text {
    max-width: inherit;
  }

  #final-section .wrapper {
    max-width: 500px;
  }

  #final-section .jotase {
    top: 500px;
    right: 0px;
  }

  #info-section .wrapper {
    max-width: 500px;
  }

  #final-section .wrapper .content {
    flex-direction: column;
  }

  #intro .intro-content {
    width: 500px;
  }

  #intro .title, #intro .subtitle {
    width: 114px;
  }

  #intro .title h1 {
    font-size: 30px;
  }

  #intro .subtitle h2 {
    font-size: 30px;
  }

  #final-section .jotase {
    top: 500px;
    right: -50px;
  }

}

@media screen and (max-width: 520px) {

  #main-menu{
    
    background-color: rgba(95, 95, 95, 0.4);
    backdrop-filter: blur(5px);
    padding-top: 20px;
  }

  #main-menu img {
    width: 50px;
  }

  #main-menu span{
    display: none;
  }

  #intro .intro-content button {
    font-size: 27px;
  }

  #intro .div-button {
  position: relative;
  width: 350px;
  }

    #intro .title h1 {
  text-align: center;
  }

  #intro .subtitle h2 {
  text-align: center;
  }

    #intro .intro-content .content {
    flex-direction: column;
  }

  #intro .intro-content {
    width: 400px;
  }

  #logo-div {
  margin-top: 85px;
  }

    #intro .planet {
      width: 700px;
    }

   #intro .title h1 {
    font-size: 25px;
  }

    #intro .subtitle h2 {
    font-size: 25px;
  }

  #intro .intro-content button {
    width: 250px;
  }

  #info-section .wrapper {
    max-width: 350px;
  }

  #info-section .wrapper .text {
  font-size: 19px;
}

 footer .wrapper {
    width: 300px;
    flex-direction: column;
 }

  footer .logo {
    width: 300px;
    margin-bottom: 50px;
  }

  #final-section .wrapper .content .text p {
    font-size: 19px;
  }

  .country-name {
  font-size: 25px;
}

.location-info {
  width: 290px;
}

  #final-section .wrapper .content .text h2 {
    line-height: 36px;
    font-size: 30px;
  }

   #final-section {
    height: calc(100vh + 60px);
  }

  #main-menu {
    font-size: 18px;
      width: 75px;
  }

  #info-section .wrapper {
  padding: 0px 0px;
  top: 35%;
  }

  .wrapper-video-logo video {
  height: 400px;
}

.wrapper-video-logo {
  min-height: 40vh;
}

.wrapper-video-logo img {
  width: 595px;
}

}

@media screen and (max-width: 400px) {

  #corner-img{
    display: none;
  }

  #info-section .wrapper .text {
    padding: 10px 30px;
  }

  #final-section .jotase {
    display: none;
  }

  #final-section {
    height: calc(100vh + 60px);
  }

  #intro .intro-content .content {
    flex-direction: column;
  }

  #intro .title h1 {
  text-align: center;
  }

  #intro .subtitle h2 {
  text-align: center;
  }

   #intro .intro-content .logo {
    margin-top: 0px;
  }

  #intro .div-button {
    position: relative;
    width: 250px;
  }

  #intro .intro-content {
    width: 250px;
  }

}


/* Fin Responsive */