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

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #e5e7eb;
  line-height: 1.6;
}

.hero {
  text-align: center;
  padding: 70px 20px 50px;
}

.foto {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  color: #ffffff;
}

h2 {
  color: #38bdf8;
  margin-bottom: 15px;
}

.hero h2 {
  font-size: 1.2rem;
  margin-top: 8px;
}

.intro {
  max-width: 650px;
  margin: 20px auto;
  font-size: 1.1rem;
  color: #cbd5e1;
}

.buttons {
  margin-top: 25px;
}

a {
  color: #38bdf8;
  text-decoration: none;
}

.buttons a,
.project-links a {
  display: inline-block;
  background: #38bdf8;
  color: #020617;
  padding: 10px 16px;
  border-radius: 8px;
  margin: 6px;
  font-weight: bold;
  transition: 0.3s;
}

.buttons a:hover,
.project-links a:hover {
  background: #0ea5e9;
  transform: translateY(-3px);
}

main {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.card,
.project-card {
  background: rgba(30, 41, 59, 0.9);
  padding: 25px;
  border-radius: 16px;
  margin: 25px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.section-title {
  margin-top: 40px;
  text-align: center;
  font-size: 2rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.project-card p {
  color: #cbd5e1;
  margin-bottom: 15px;
}

.tags,
.skills {
  margin: 15px 0;
}

.tags span,
.skills span {
  display: inline-block;
  background: #0f172a;
  color: #38bdf8;
  padding: 7px 12px;
  border-radius: 20px;
  margin: 5px;
  border: 1px solid #38bdf8;
  font-size: 0.9rem;
}

footer {
  text-align: center;
  padding: 30px;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .projects {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  .hero {
    padding-top: 40px;
  }
}