* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #16002E;
background-color: #C4BBC7;
}
header {
background: linear-gradient(135deg, #6B287D 0%, #9D00C7 100%);
color: white;
text-align: center;
padding: 3rem 1rem;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
nav {
background-color: #140B9E;
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 1rem;
}
nav a {
color: white;
text-decoration: none;
padding: 0.5rem 1.5rem;
margin: 0.5rem;
border-radius: 5px;
transition: background-color 0.3s;
}
nav a:hover {
background-color: #140B9E;
}
section {
max-width: 900px;
margin: 2rem auto;
padding: 2rem;
background-color: white;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
h2 {
color: #140B9E;
margin-bottom: 1rem;
border-bottom: 2px solid #140B9E;
padding-bottom: 0.5rem;
}
.proyecto {
background-color: #f9f9f9;
padding: 1.5rem;
margin: 1rem 0;
border-left: 4px solid #140B9E;
border-radius: 5px;
}
.proyecto h3 {
color: #16002E;
margin-bottom: 0.5rem;
}
#habilidades ul {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
#habilidades li {
background-color: #140B9E;
color: white;
padding: 1rem;
text-align: center;
border-radius: 5px;
transition: transform 0.3s;
}
#habilidades li:hover {
transform: translateY(-5px);
}
footer {
background-color: #16002E;
color: white;
text-align: center;
padding: 1.5rem;
margin-top: 2rem;
}
@media (max-width: 768px) {
header h1 {
font-size: 2rem;
}
section {
margin: 1rem;
padding: 1.5rem;
}
table, th, td{
text-align: center;
table-layout: fixed;
width: 100%;
border-collapse: collapse;
border: 3px solid black;
}
}
