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

/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* fondo animado */
html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(-45deg, #000000, #1a1a1a, #2f2f2f, #383838);
    background-size: 400% 400%;
    animation: fondoAnimado 15s ease infinite;
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Animación de fondo */
@keyframes fondoAnimado {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* landing */
.landing-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Video de fondo */
.video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* */
.contenido {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.logo-link {
    display: inline-block;
}

.logo-imagen {
    width: 200px;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    cursor: pointer;
}

.logo-imagen:hover {
    transform: scale(1.1);
}

/* Header fijo  */
.header-fijo {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #ececec;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.logo-header {
    position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
    
}

.logo-header:hover {
    transform: scale(1.1);
}

#inicio {
  background-color: #ccc !important;
    
}


/* inicio */
section#inicio {
    padding: 100px 20px;
    background-color: #ffffff; 
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}


.parallax-section {
  
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
  color: #1a1a1a;
}


section#inicio,
.parallax-section {
  max-width: 900px; 
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  
}

/* Estilo deseccion*/
.seccion {
    min-height: 70vh;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #dddddd;
    color: #fefefe;
}

.seccion1 {
    background-color: #f2f2f2;
}

.seccion2 {
    background-color: #e6e6e6;
}

.seccion3 {
    background-color: #dddddd;
}

.seccion4 {
    background-color: #cccccc;
}

/* Tipografía */
.seccion h2 {
    color: #333;
    font-size: 10px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.seccion p {
    color: #555;
    max-width: 700px;
    text-align: center;
}

/* Botón  */
.btn-principal {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn-principal:hover {
    background-color: #444;
}

/* dispositivos móviles */
@media (max-width: 768px) {
    .logo-imagen {
        width: 140px;
    }

    .seccion, .parallax-section {
        padding: 30px 15px;
    }

    .seccion h2 {
        font-size: 1.5rem;
    }

    .header-fijo {
        height: 60px;
    }

    .logo-header {
        height: 40px;
    }
}


.softwares-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #cccccc;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  max-width: 70%;
  margin: 0 auto;
}

.softwares-container h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.iconos-adobe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.icono.tarjeta {
  background-color: none;
  padding: 15px;
  border-radius: none;
  box-shadow: none;
  text-align: center;
  max-width: 140px;
  transition: transform 0.3s ease;
}

.icono.tarjeta:hover {
  transform: translateY(-5px);
}

.icono img {
  width: 80px;
  height: 80px;
  border: none;
  background: transparent;
  object-fit: contain;
  margin-bottom: 10px;
}

.icono p {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

@media (max-width: 768px) {
  .icono.tarjeta {
    max-width: 100px;
    padding: 10px;
  }

  .icono img {
    width: 60px;
    height: 60px;
  }

  .softwares-container h2 {
    font-size: 1.8rem;
  }
}




.sobre-mi-container {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.foto-sobre-mi {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.descripcion-sobre-mi {
    flex: 1;
    color: #1a1a1a;
}

.descripcion-sobre-mi h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.descripcion-sobre-mi p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}




.contacto-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ccc;
  padding: 50px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  max-width: 1100px; 
  width: 95%;
  margin: 0 auto;
}

.contacto-container h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.formulario-contacto {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background-color: rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(6px); 
  color: #333;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
  border-color: #1a1a1a;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  outline: none;
}

.info-contacto {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1rem;
  color: #333;
}

.info-contacto a {
  color: #000080;
  text-decoration: none;
  font-weight: bold;
}

.redes-sociales {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.red-icono img {
  width: 60px;
  height: 50px;
  border-radius: 10px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  transition: transform 0.3s ease;
  cursor: pointer;
}

.red-icono img:hover {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .contacto-container h2 {
    font-size: 2rem;
  }

  .red-icono img {
    width: 50px;
    height: auto;
  }
}




.menu-navegacion {
    margin-left: auto;
    position: relative;
}

.menu-toggle {
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
    color: #1a1a1a;
}

.menu-items {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    display: none;
    flex-direction: column;
    z-index: 1001;
    min-width: 150px;
}

.menu-items li {
    padding: 10px 20px;
}

.menu-items li a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: background-color 0.2s ease;
    display: block;
}

.menu-items li a:hover {
    background-color: #eeeeee;
}


.menu-items.mostrar {
    display: flex;
}
.parallax-section02 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: 90%;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.1); 
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
  z-index: 1000;
  height: auto;
  min-height: unset;
  color: #1a1a1a; 

}


#video-fondo-contacto {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}





#video-fondo-p {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}


/* RESPONSIVE */

@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 0 10px;
  }

  .galeria-fotos {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px 10px;
  }

  .foto img {
    width: 100%;
    height: auto;
  }

  .titulo-ilustracion {
    font-size: 1rem;
    padding: 6px 10px;
    margin-top: 8px;
  }

  .header-fijo {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .menu-navegacion ul {
    flex-direction: column;
    width: 100%;
  }

  .softwares-container,
  .contacto-container {
    padding: 20px 15px;
  }

  .descripcion-sobre-mi {
    text-align: center;
  }

  .sobre-mi-container {
    flex-direction: column;
    align-items: center;
  }

  .foto-sobre-mi {
    width: 140px;
    height: 140px;
  }

  .descripcion-sobre-mi h2 {
    font-size: 1.8rem;
  }

  .descripcion-sobre-mi p {
    font-size: 1rem;
  }

  .menu-items {
    position: static;
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .menu-navegacion {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
}







