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

body {
  font-family: sans-serif;
  background: linear-gradient(to right, #f9bcd3, #f9bcd3 50%, #f6a9d0);
  color: #333;
  line-height: 1.6;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f6a9d0;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  background: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.menu a {
  margin-left: 1rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
  background: #ff79b0;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
}

.main {
  padding: 2rem;
}

.intro {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 100%;
  object-fit: cover;
  border: 4px solid white;
}

.intro-text h1 {
  font-size: 1.8rem;
  color: #e0006c;
}

.about-btn {
  background: #e0006c;
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  margin: 0.5rem 0;
  font-weight: bold;
}

.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.section-title {
  background: #ff007f;
  color: white;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  display: inline-block;
}

.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.img-grid img {
  width: 100%;
  border: 2px solid #ccc;
  border-radius: 8px;
}

.datos-academicos .datos-text p {
  margin-bottom: 0.5rem;
}

.footer {
  background: #f6a9d0;
  color: white;
  font-size: 0.8rem;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .content {
    grid-template-columns: 1fr;
  }

  .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}
