html, body{
    height: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    /* background-color: rgb(15 99 148); */
  }
/*Videoo----------------BACKGROUND--------------------------------*/  
 .video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* detrás de todo */
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* llena la pantalla como background-size: cover */
}

nav {
  display: flex;
  align-items: center;
  position: relative;
}

nav ul {
  display: flex;
  gap: 130px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  font-size: 240%;
  font-weight: 800;
  transform: translateX(-50%);
}



/* BOTONES ABOUT,SERVICES,CONTACT,HOME,BOTONES ABOUT,SERVICES,CONTACT,HOME,BOTONES ABOUT,SERVICES,CONTACT,HOME */
/* .contenedor-boton a{
 text-decoration: none;
  color: black;
  transition: color 0.7s ease;
} */


.contenedor-boton{
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  display: flex;
  justify-content: center; /* centra horizontal */
  align-items: center;     /* centra vertical si el contenedor tiene altura */
}

button {
  font-family: "Montserrat", sans-serif;
  margin-top: 2%;
  font-size: 120%;
  font-weight: 200;
  padding: 10px 20px;
  background-color: #c0fa14;
  color: black;
  transition: color 0.7s ease, background-color 0.7s ease;
  border-radius: none; 
  border-bottom: 0%;
  box-shadow: none;
  border-style: none;
  
}
/* button a{
  color: black;
} */

button:hover {
  background-color: #c0fa143f;
}
.contenedor-boton-contact a{
  text-decoration: none;
  color: black;
}
button:hover a{
  color: #c0fa14;
}


footer{
    text-align: center;
    padding: 1px;
    background: transparent;
    color: #c0fa14;
    margin-top: 1%;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
  }

/* BOTONES ABOUT,SERVICES,CONTACT,HOME,BOTONES ABOUT,SERVICES,CONTACT,HOME,BOTONES ABOUT,SERVICES,CONTACT,HOME */


.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  /* padding: 10px; */
  margin-left: auto;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  /* margin: 5px 0; */
  background: #c0fa14;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Toggle animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ======================= */
/* HAMBURGUESA MÓVIL/TABLET */
/* ======================= */

@media (max-width: 1300px) {

      nav.nav .menu {
        /* display: block; */
        position: fixed;
        top: 0;
        right: -320px;
        width: 120px;
        /* height: 100%; */
        background: rgba(0, 0, 0, 0.892);
        padding-top: 100px;
        padding-left: 24px;
        flex-direction: column;
        gap: 28px;
        transition: right 0.32s cubic-bezier(.2, .9, .2, 1);
        /* z-index: 1000; */
        left: auto;
        transform: none;
              z-index: 1;

    }
  nav.nav .menu.open {
    right: 0;
  }

  nav.nav menu.open li{
    margin-bottom: 2%;
  }
  /* Mostrar hamburguesa */
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 1000;
  }

  .hamburger span {
    width: 28px;
    height: 3px;
    background: #c0fa14;
    margin: 5px 0;
    transition: 0.3s;
  }

  /* Animación X */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Menú lateral cerrado */
  /* nav ul {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.822);
    padding-top: 120px;
    gap: 40px;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    transform: none; 
    left: auto; 
      
  } */

  /* Abierto */
  nav ul.active {
    right: 0;
  }
  .titulo-principal{
    margin-top: 10%;
    font-size:200%;
  }
.titulo-principal-segundaParte{
    font-size:300%;
}
p{
  font-size:120%;
}
  nav ul li a {
    color: #ffffff;
    font-size: 22px;
    font-weight: 1000px;
  }

  /* Ajuste logo móvil */
  nav img {
    margin-left: 20px !important;
    margin-top: 20px !important;
    width: 140px;
  }
  .contenedor-boton a{
  text-decoration: none;
  color: black; 
  }
  .contenedor-boton-index{
    text-decoration: none;
  color: black; 
  }
}

/* ======================= */
/* EXTRA: MODO 375PX       */
/* ======================= */

@media (max-width: 480px) {

  .video-background{
    display: none;
  }

  body{
    background-color: rgb(15 99 148);
  }

  .titulo-principal {
    font-size: 190%;
  }
  nav img {
    width: 110px;
  }


  .contenedor-boton a{
  text-decoration: none;
  color: inherit;  /* centra vertical si el contenedor tiene altura */
}
}