body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
  color: #f0f0f0;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.6;
}

header, footer {
  text-align: center;
  padding: 20px;
  background-color: #00b894;
  color: white;
  border-radius: 10px;
  margin: 20px 0;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  color: #bb86fc;
  margin-top: 0;
}

a {
  color: #82caff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Tarjeta base */
.card {
  background-color: #1e1e2f;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

/* Imagen de perfil a la derecha */
.sobre-mi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sobre-mi .texto {
  flex: 2;
}
.sobre-mi .imagen {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.profile-image {
  width: 160px;
  border-radius: 50%;
  border: 2px solid #bb86fc;
}

/* Caja interactiva */
.interactive-box {
  cursor: pointer;
  background-color: #2d1e40;
  text-align: center;
  transition: background-color 0.4s;
}
.interactive-box:hover {
  background-color: #402d60;
}
/* ... lo anterior se mantiene ... */

.correo {
  color: #bb86fc;
  font-weight: bold;
  cursor: pointer;
}
.correo:hover {
  text-decoration: underline;
}

/* Caja interactiva tipo emoji */
.emoji-box {
  background-color: #1e1e2f;
  padding: 20px;
  margin: 20px 0;
  border-radius: 12px;
  text-align: center;
  transition: background-color 0.3s;
  box-shadow: 0 0 10px #bb86fc80;
}
.emoji-box:hover {
  background-color: #2e2e44;
}
#emoji-face {
  font-size: 3rem;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}
.emoji-box:active #emoji-face {
  transform: scale(1.3) rotate(10deg);
}
