body {
  margin: 0;
  font-family: monospace;
  min-height: 100vh;

  background-image: url("assets/images/fondo.png");
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
}

/* ===== ANIMACIÓN DE ENTRADA ===== */
@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.level-menu {
  position: fixed;
  top: 20px;
  right: 20px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(10px);
  padding: 15px;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);

  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  z-index: 1000;
}

.level-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  transition: background 0.3s, transform 0.2s;
}

.level-menu a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateX(5px);
}

/* CONTENEDOR */
.about-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* SECCIONES SOBRE MÍ Y BLOG */
.about-me, .blog {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 25px;
  color: #fff;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.7),
    inset 0 0 20px rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

/* CONTENIDO ABOUT (imagen + texto) */
.about-me .about-content {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  flex-wrap: wrap;
}

/* TEXTO A LA DERECHA */
.about-me .about-text {
  flex: 1;
}

/* IMAGEN */
.main-image {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* TÍTULOS */
.about-me h1, .blog h2 {
  margin-bottom: 15px;
}

/* REDES SOCIALES */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.social-links a {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

/* BLOG */
.blog-post {
  margin-bottom: 20px;
}

.blog-post h3 {
  margin-bottom: 5px;
}

.blog-post a {
  color: #6ab0ff;
  text-decoration: none;
}

.blog-post a:hover {
  text-decoration: underline;
}

/* EFECTO DE APARICIÓN */
@keyframes aparecer {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-me, .blog {
  animation: aparecer 0.8s ease forwards;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-me .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .main-image {
    width: 220px;
    height: 220px;
  }

  .social-links {
    justify-content: center;
  }
}
