*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color: #ffeef4;
    color: #5a3e4d;
    line-height: 1.6;
    padding-top: 70px;
}

/* Encabezado */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffd6e0; 
    padding: 10px 40px;
    text-align: center;
    border-bottom: 3px solid #fbb1c3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logo{
    font-size: 20px;
    font-weight: bold;
    color: #e75480;
}

.navLinks{
    display: flex;
    align-items: center;
    gap: 1.5rem;

}
.navLinks ul{
    list-style: none;
    display: flex;
    gap: 20px;
 
}

.navLinks ul li a{
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.navLinks a:hover{
    color: #f497b6;
}
.btnModo{
    display: none;
}
.modoBtn{
  background-color: #f8a1c4;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.modoBtn:hover{
    transform: scale(1.1);
    background-color: #e75480;
}

/* Presentacion */
.presentacion{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    background-color: #fff0f5;
    flex-wrap: wrap;

}
.presentacionFoto img,
.infoPresentacion img {
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.presentacionFoto img:hover{
    transform: scale(1.02); 
}
.infoPresentacion{
    max-width: 500px;
}
.infoPresentacion h1{
    font-size: 2.5rem;
}
.infoPresentacion h1 span{
    color: #f497b6;
}
.infoPresentacion h2{
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.infoPresentacion p{
    margin-bottom: 1.5rem;
}
.infoPresentacion img {
    width: 220px;
    height: auto;
    border: 4px solid #f8c8dc;
}
/* Sections generales */

.sectionTitulo{
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #f497b6;
    text-align: center;
}
section{
    padding: 4rem 2rem;
}
button {
    background-color: #fbb1c3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: 0.3s;
}
button:hover{
    background-color: #f8c8dc;
    color: #333;
}

/* Proyectos */
.proyectos{
    background-color: #ffeef4;
    text-align: center;
    padding: 2rem;

}
.contenedorProyecto{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.proyecto {
    max-width: 250px;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proyecto:hover {
    transform: scale(1.05);
}
.proyecto p{
    margin: 0.5rem;
}
.fotoProyecto, .gif {
    max-width: 90%;
    height: 180px;
    object-fit: cover;
    margin: 1rem auto;
    display: block;
}
/* SOBRE MI */
.cuadro{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}
.sobreMiCuadro{
    background-color: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.tema{
    text-align: center;
}

/* HABILIDADES */
.cuadros{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;

}
.cuadros :hover{
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;  
}
.habilidadesCuadro{
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

}

.habilidadesCuadro h3{
    color: #f497b6;
    margin-bottom: 1rem;
    text-align: center;
}
.habilidadesCuadro ul{
    list-style: none;
}
.habilidadesCuadro li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}
.habilidadesCuadro img{
    width: 20px;
    height: 20px;
}
/* Contacto */
.formContacto{
    display: flex;
    justify-content: center;
}
form{
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 400px;
    width: 100%;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
form input,
form textarea{
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

/* Pie de pagina */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8c8dc;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
.modoResponsive{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    width: 100%;
}
.btnModo{
    display: inline-block;
}
.modoBtn{
    display: block;
}
  header {
    padding: 1rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .navLinks {
    display: none;
  }
  .infoPresentacion h1 {
    font-size: 1.8rem;
  }
  .infoPresentacion h2 {
    font-size: 1.2rem;
  }
 .presentacion {
  display: flex;
  flex-direction: column;
  align-items: center;  
  text-align: center;   
  padding: 20px;
    }
  .presentacion img{
    max-width: 200px;
    width: 100%;
    margin-top: 20px;
  }
  .proyecto {
    max-width: 90%;
  }
  .cuadros {
    flex-direction: column;
    gap: 1.5rem;
  }
  form {
    max-width: 100%;
  }
}

/* MODO OSCURO */
.oscuro {
    background-color: #1b1b1b;
    color: white;
}

.oscuro header {
    background-color: #1e1e1e;
    border-bottom: 3px solid #333;
    color: white;
}
.oscuro .navLinks ul li a {
    color: #ffffff;
}

.oscuro .presentacion,
.oscuro .proyectos{
    background-color: #1b1b1b;
}

.oscuro .sobreMiCuadro,
.oscuro .habilidadesCuadro,
.oscuro .proyecto,
.oscruo .contenedorProyecto,
.oscuro form {
    background-color: #110f0f;
    color: white;
}

.oscuro footer {
    background-color: #1e1e1e;
    color: white;
}

.oscuro a{
    color: #f497b6;
}
