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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #F8F9FA;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Header Styles */
header {
  background-color: #2C3E50;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Navigation */
nav {
  background-color: #34495E;
  padding: 1rem 0;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav li {
  margin: 0 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #3498DB;
}

/* Section Styles */
/*
section {
  padding: 4rem 0;
}
*/

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2C3E50;
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #3498DB;
  margin: 10px auto;
} 

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

p {
    margin-bottom: 30px;

}



.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #3498DB;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
border: 1px solid var(--border);
border-radius: 8px;
padding: 1.25rem;
display: flex;
flex-direction: column;
justify-content: space-between;
background: #fafafa;
}

.card h2 {
font-size: 1.1rem;
margin-bottom: 0.5rem;
}

.card p {
font-size: 0.95rem;
color: var(--muted);
margin-bottom: 1rem;
}

.stack {
font-size: 0.85rem;
color: var(--muted);
margin-bottom: 1rem;
}

.card a {
text-decoration: none;
font-weight: 500;
color: var(--accent);
align-self: flex-start;
}

.card a:hover {
text-decoration: underline;
}

/* Portfolio Sections */

/*
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h3 {
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-block;
  background: #3498DB;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #2980B9;
}
*/

/* Footer */
footer {
  background: #2C3E50;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}
/* Estilo para las redes sociales */
.social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 1.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav li {
    margin: 5px 0;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}