
body{
    font-family:'Poppins', sans-serif;
    line-height:1.6;
    margin:0;
    padding:0;
    background: #f7f7f7;
    color:#222;

}


.nunito {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.container{
    max-width:  900px;
    margin:0 auto;
    padding:20px;
    background:#fff;
}

.perfil{
width: 300px;
height: 300px;
object-fit: cover;
border-radius: 50%;
box-shadow: 0 4 px 15px rgba(0,0,0,0.2);
border: 3px solid white;
}

h1{
    font-size:40px;
    margin-bottom:  10px;
    color: white;
    
}

h2{
    font-size:22px;
    margin-top: 28px;
    margin-bottom:10px;
}

h3{
    font-size:18px;
    margin-top: 18px;
    margin-bottom:8px;
}

p{
    margin-top:0;
    margin-bottom:12px;
}

a{
    color: #0b57d0;
    text-decoration:none;
}

a:hover {
    text-decoration: underline;
}
 img{
    max-width:100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 10px;
    display:block;
    box-shadow: 0 4px 10px rgba (0,0,0,0.2);
 }

 .contenedor-proyectos{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;
 }

.card{
    background: #f5f5f5;
    padding: 30px;
    width: 250px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px;
}


 article h3{
    margin-top: 0;
    margin-bottom: 10px;
 }

.seccion{
    text-align:left;
    margin-top: 40px;
   

}

.seccion::after{
    content: "";
    width: 300px;
    height: 3px;
    background: #a8edea;
    display: block;
    margin: 10px 0;
    border-radius: 2px;

}

 form{
    margin-top: 20px;
}

form div{
    margin-bottom: 16px;
    }
     label{
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
}

input, select, textarea{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 10px;
}
 
textarea{
    min-height: 120px;
    resize:vertical;
}

button{
    padding: 12px 20px;
    border:none;
    border-radius: 6px;
    background: #111;
    color:white;
    font-size: 16px;
    cursor: pointer;
}

button:hover{
    background: #333;
    opacity: 0.9;
}

section{
    margin-bottom: 40px;
}

nav a{
    margin-right: 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover{
    color: #1e3a8a;
}

.contenedor-proyectos{
    flex: 1;
}

article img{
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

.Sobre-mi-contenido{
    display: flex;
    gap: 30px;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.sobre-mi-img{
    width: 140px;
    border-radius: 100px;
}

section{
    margin-bottom: 40px;
}

header{
    text-align: center;
    margin-bottom: 30px;
    color:#333;
    background: linear-gradient(135deg, #7d9eaf, #e0bff7);
}

@media (max-width:768px){
    .contenedor-proyectos{
        flex-direction: column;
    }
}

nav{
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

nav a{
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 600;
}

nav a:hover{
    color: #0f172a;
    border-bottom: 2px solid #1e3a8a;
}

header{
    margin-bottom: 40px;
}

html{
    scroll-behavior: smooth;
}