body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #181a1b;
    color: #e0e0e0;
    margin: 0;
    min-height: 100vh;
}
.about-header {
    background: linear-gradient(90deg, #005bea 0%, #3ec6e0 100%);
    color: #fff;
    padding: 2rem 0 1rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.about-header nav {
    margin-top: 1rem;
}
.about-header nav a {
    color: #e0f7fa;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.2s;
}
.about-header nav a:hover {
    color: #fff;
    text-decoration: underline;
}
.about-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem 1rem;
}
.about-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}
.about-img-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: filter 0.3s;
}
.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: box-shadow 0.2s, transform 0.2s, filter 0.3s;
}
.about-name {
  color: #3ec6e0;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  transition: color 0.2s;
}
.about-img-name:hover .profile-pic,
.about-img-name:focus .profile-pic {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: scale(1.07);
  filter: brightness(0.95) blur(1px);
}
.about-img-name:hover .about-name,
.about-img-name:focus .about-name {
  color: #fff;
}
.about-text {
  margin-top: 2.2rem;
  max-width: 500px;
  background: #232526;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  padding: 2rem;
  text-align: center;
  color: #e0e0e0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(-20px);
}
/* .about-img-name:hover ~ .about-text,
.about-img-name:focus-within ~ .about-text {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
} */
.about-footer {
    background: #232526;
    color: #b0b0b0;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.95rem;
}

.about-text {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s, transform 0.6s;
  transform: translateY(-20px);
}
.show-about-text {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Botón de descarga de CV */
.cv-download {
  background: #232323;
  color: #fff !important;
  padding: 8px 18px 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 2px 8px #0001;
  transition: background 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  margin-bottom: 10px;
}
.cv-download:hover, .cv-download:focus {
  background: #e63946;
  color: #fff;
  box-shadow: 0 4px 16px #0002;
  outline: none;
}
.cv-download-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 6px;
  filter: drop-shadow(0 1px 2px #0002);
  display: inline-block;
  margin: 0;
}
@media (max-width: 600px) {
    .about-main {
        padding: 1rem 0.5rem;
    }
    .about-text {
        width: 98vw;
        padding: 1.2rem 0.5rem;
    }
    .about-header nav a {
        margin: 0 0.5rem;
    }
    .profile-pic {
    width: 100px;
    height: 100px;
  }
}
