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

body {
  margin: 0;
  min-height: 100vh;
  color: rgb(17, 15, 15);
  position: relative;
  z-index: 1;
}

.container-right {
  max-width: 600px;
  margin-left: auto;
  margin-right: 1rem;
  padding: 2rem 1rem;
}
/*elimino puntos negros por defecto de ul*/
ul {
  list-style: none;
  padding-left: 0;
}


/* Fondo difuminado */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('../img/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.1); /* evita bordes */
  z-index: -1;
}

.hero {
  text-align: right;
  padding: 2rem 1rem;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.hero h1 {
  margin: 0;
  font-size: 2rem;
}

.hero h2 {
  margin-top: 0.5rem;
  color: #a513db;
  font-weight: normal;
}
/* Estilos de las tarjetas desplegables */
.accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background: white;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1rem 1.5rem;
  background: #af4ca2;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
}

.accordion-header:hover {
  background: #ea84d9;
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background: #ecdaf0;
}

.accordion-content.show {
  padding: 1.5rem;
  max-height: 500px; /* Ajusta según necesidad */
}

.accordion-content h3 {
  margin-top: 1rem;
  color: #0c0c0c;
}

.accordion-content ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.accordion-content li {
  margin: 0.3rem 0;
}

/*Imagen sorpresa*/

/* Contenedor de la imagen oculta */
.hidden-image-container {
  position: relative;
  width: 100%;
  height: 300px; /* ajusta según el espacio que tengas */
  margin: 4rem auto; /* espacio arriba y abajo */
  overflow: hidden;
  cursor: pointer;
}

/* Imagen oculta por defecto */
.hidden-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Mostrar imagen al hacer hover */
.hidden-image-container:hover .hidden-image {
  opacity: 1;
}

/* Efecto suave de desvanecimiento */
.hidden-image-container:hover {
  background: rgba(255, 255, 255, 0.1); /* fondo sutil al pasar el ratón */
}



/* Sección de contacto */
.contact-section {
  max-width: 800px;
  margin: 6rem auto 0; /*para que se quede abajo*/
  text-align: center;
}

.contact-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #030404;
}

.contact-card {
  background: #af4ca2;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}

.contact-card p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.contact-card a {
  color: #0a0a0a;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
  color: aliceblue;
}