
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
}

html, body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Estilos para el video de fondo */
#myVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: -2; 
}

/* Barra de navegación */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  margin-top: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 30px;
  border-radius: 10px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: rgb(214, 214, 248);
}

/* Contenido centrado */
.content {
  position: relative;
  text-align: center;
  align-items: center;
  color: #fff;
  width: 100%;
  min-height: 100vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  padding: 40px 20px;
  margin-bottom: 0;
}

.content h1 {
  font-size: 80px;
  margin-bottom: 10px;
  color: white;
  font-family: "Convergence", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.content p {
  font-size: 35px;
  margin-bottom: 20px;
  color: white;
  font-family: "Convergence", sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* Botón */
.btn {
  display: inline-block;
  padding: 12px 25px;
  font-size: 18px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
  /* background-color: #6c9e5b;  */
  background-color: rgb(67, 67, 180);
  font-family: "Convergence", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.btn:hover {
  background-color: rgb(114, 114, 233);
  color: white;
}

/* Sección sobre mí */

section.sobreMi{
  background-color: white;
  padding: 60px 10%;
}

.titulo-seccion {
  font-size: 2.5rem;
  color: rgb(43, 43, 97);
  margin-bottom: 30px;
  text-align: center;
}

.contenido-sobre-mi {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.fotoMia {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid rgb(60, 60, 100); 
}

.texto-sobre-mi h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #0f3d0f;
}


.texto-sobre-mi p {
  color: black;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  
}

/* Habilidades */

.contenedor-burbujas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
}

.burbuja {
  background-color: rgb(139, 139, 243);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(129, 199, 132, 0.6);
  user-select: none;
  cursor: default;
  transition: background-color 0.3s ease;
}

.burbuja:hover {
  background-color: rgb(114, 114, 233);
  box-shadow: 0 4px 12px rgb(114, 114, 233);
}

/* Sección Proyectos */
.proyectos {
  background-color: white;
  padding: 50px 10%;
}

.contenedor-proyectos {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

.tarjeta-proyecto {
  /* background-color: white; */
  background-color: rgb(216, 216, 245);
  width: 260px;
  height: 220px;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-proyecto:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.titulo-proyecto {
  font-size: 1.5rem;
  color: rgb(4, 4, 5);
  margin: 0 0 20px 0;
}

.imgProyecto {
  height: 70px;
  width: auto;
}

/* Operatoria */
.pc-costos {
  max-width: 1000px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}

.info-card {
  /* background-color: #fff; */
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  /* border-top: 4px solid #4caf50; */
}

.info-card h3 {
  color: #070707;
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 15px;
}

.info-card p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  font-size: 1rem;
}

.factura-aviso {
  margin-top: 20px;
  padding: 15px 20px;
  background-color: #f4f8f4;
  border-left: 4px solid rgb(114, 114, 233);
  border-radius: 8px;
  font-size: 1rem;
}

.rma {
  max-width: 1000px;
  margin: 0 auto;
}

.rma h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.rma2 {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}


.rma2:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.rma2 img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

.rma2 p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.verde {
  color: rgb(86, 86, 175);
  font-weight: bold;
}

.info-importante {
  margin-top: 30px;
  margin-bottom: 30px;
}


/* Contacto */

.contacto {
  background-color: white;
  padding: 60px 10%;
}

.contenedor-contacto {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;

  margin-top: 40px;
}

.mapa {
  width: 440px;
  height: auto;
  display: block;
}

.mapa:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.texto-contacto ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.texto-contacto li {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 1.2rem;
  margin-bottom: 25px;
}

.texto-contacto li img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}


/* Pie de página */

.footer {
  background-color: rgb(221, 221, 245);
  text-align: center;
  padding: 0.5rem 0.5rem;
  font-size: 0.9rem;
}

.footer p {
  text-align: center;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  color: rgb(82, 81, 81);
  font-weight: 500;
}


.menu-toggle {
  display: none;
}

/* pagina RMA*/

.galeria {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  margin-top: 30PX;
}

.consulta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.consulta img {
  max-width: 260px;
  width: 100%;
  height: auto;
}

.consulta h6 {
  font-size: 1.1rem;
  margin-top: 25px;
  line-height: 1.5;
}

.pulseaqui {
  color: rgb(86, 86, 175);
  font-weight: bold;
}


/* RESPONSIVE*/
/* Celulares: menos de 768px */
@media (max-width: 767px) {

  .menu-toggle {
    position: fixed;  
    top: 10px;
    left: 15px;
    font-size: 1.5rem;
    color: white;
    background-color: black;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1000;
    display: block;
  }

  /* NAVBAR */

  .navbar {
    justify-content: flex-start;
  }

  .nav-links {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 220px;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    padding-top: 60px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    text-align: left;
    padding-left: 20px;
  }

  /* inicio*/
  .content {
    padding-top: 120px; 
  }

  .content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .content p {
    font-size: 1.2rem;
  }

  /* Sobre mí */
  .contenido-sobre-mi {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fotoMia {
    margin: 0 auto 20px;
    width: 80%;
    height: auto;
  }

  .texto-sobre-mi h3 {
    font-size: 1.4rem;
  }

  .texto-sobre-mi p {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* Proyectos */
  .contenedor-proyectos {
    grid-template-columns: 1fr;
  }

  .tarjeta-proyecto {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
  }


  .imgProyecto {
    height: 80px;
  }

  .titulo-proyecto {
    font-size: 1.5rem;
  }

  /* Formulario */
  .formulario-contacto {
    padding: 1.5rem;
    width: 90%;
  }

  .boton-enviar {
    font-size: 1rem;
  }

  .titulo-seccion {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  /* Footer */
  .footer {
    font-size: 0.85rem;
  }

  .redesSociales {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Modal */
  .modal-content {
    width: 90%;
  }

  /* Operatoria */

  .info-grid {
    grid-template-columns: 1fr;
  }


}


/* Tablets: entre 768px y 1024px */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Navbar */
  .nav-links {
    gap: 20px;
    padding: 12px 20px;
  }

  /* inicio */
  .content {
    padding: 40px 20px;
    height: auto;
    text-align: center;
  }

  .content h1 {
    font-size: 3rem;
  }

  .content p {
    font-size: 1.4rem;
  }

  /* Sobre mí */
  .contenido-sobre-mi {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .fotoMia {
    margin: 0 auto;
  }

  .texto-sobre-mi p {
    padding: 0 20px;
  }


  /* Proyectos */
  .contenedor-proyectos {
    grid-template-columns: repeat(2, 1fr);
  }

   .tarjeta-proyecto {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
  }

  .imgProyecto {
    height: 80px;
  }

  .titulo-proyecto {
    font-size: 1.5rem;
  }

  /* Formulario */
  .formulario-contacto {
    padding: 2rem;
    width: 90%;
  }

  .titulo-seccion {
    font-size: 2.2rem;
  }
}

