@import
url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
* { box-sizing: border-box; }



body {
 font-family: 'Poppins', Arial, sans-serif;
 margin: 0;
 padding: 40px 20px;
 min-height: 100vh;
 background: linear-gradient(135deg, #6907d1 20%, #3372e0 100%);

}

h1 {
 background: white;
 color: #0d2d4d;
 text-align: center;
 font-size: 2.2rem;
 font-weight: 700;
 padding: 30px 20px 10px;
 margin: 0 auto;
 border-radius: 20px 20px 0 0;
 max-width: 600px;
}

h2 {
 background: white;
 text-align: center;
 margin: 0 auto;
 max-width: 600px;
 padding: 0 20px;
 color: #0c115c;
 font-weight: 600;
}

p {
 background: white;
 color: #191729;
 line-height: 1.7;
 padding: 15px 40px;
 margin: 0 auto;
 max-width: 600px;
 text-align: center;
}
.subtitulo {
 color: #1d5cc7;
 font-weight: 600;
 letter-spacing: 0.5px;

}
#foto-container {
 background: white;
 text-align: center;
 padding: 25px;
 margin: 0 auto;
 max-width: 600px;
}

.foto-perfil {
 border-radius: 50%;
 width: 160px;
 height: 160px;
 object-fit: cover;
 border: 5px solid transparent;
 background: linear-gradient(white, white) padding-box,
 linear-gradient(135deg, #6209c0, #0e4bb4) border-box;
 box-shadow: 0 8px 20px rgba(106, 17, 203, 0.35);
 transition: transform 0.3s ease;
}

.foto-perfil:hover {
 transform: scale(1.08) rotate(-2deg);
}

ul {
 list-style-type: none;
 background: white;
 margin: 0 auto;
 max-width: 600px;
 padding: 10px 40px 30px;
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 justify-content: center;
}

li {
 background: linear-gradient(135deg, #6a11cb, #2575fc);
 color: white;
 padding: 10px 18px;
 border-radius: 30px;
 font-size: 0.9rem;
 font-weight: 600;
 box-shadow: 0 4px 10px rgba(37, 117, 252, 0.3);
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}

li:hover {
 transform: translateY(-4px);
 box-shadow: 0 8px 16px rgba(37, 117, 252, 0.45);
}

a {
 display: block;
 text-align: center;
 background: white;
 color: #2575fc;
 text-decoration: none;
 font-weight: 700;
 padding: 15px 40px 30px;
 margin: 0 auto;
 max-width: 600px;
 border-radius: 0 0 0px 0px;
 box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
 transition: color 0.2s ease, letter-spacing 0.2s ease;
}
.proyectos{
   display: block;
 text-align: center;
 background: white;
 color: #2575fc;
 text-decoration: none;
 font-weight: 700;
 padding: 15px 40px 30px;
 margin: 0 auto;
 max-width: 600px;
 border-radius: 0 0 20px 20px;
 box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
 transition: color 0.2s ease, letter-spacing 0.2s ease; 
}
a:hover {
    color: #6a11cb;
    letter-spacing: 1px;
}