body {
    background-image: url("ondas_moradas.jpg");
    background-repeat: no-repeat;
    background-size: cover;     /* ajusta la imagen al tamaño del viewport */
    background-position: center center; /* centrado horizontal y vertical */
    background-attachment: fixed; /* hace que quede fija al hacer scroll */
}
header {
  padding: 50px 0 20px;
}
  
  h1 {
    color: white;
    text-align: center;
    margin-top: 40px;
    font-size: 48px;
    font-family: sans-serif;
    flex-direction: column;
    justify-content: space-between;
  }

  h2 {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 24px;
    font-family: sans-serif;
  }

  p {
    color: white;
    text-align: center;
    font-size: 16px;
    font-family: sans-serif;
    margin-top: 10px;
  }

  .tarjetas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 30px;
  }
  
  .card {
    background: #1f1c2c;
    border-radius: 15px;
    width: 250px;
    padding: 20px;
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  
  .card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  }
  
  .card h2 {
    margin-top: 0;
    font-size: 24px;
  }
  
  .card p {
    font-size: 14px;
    opacity: 0.85;
  }
  
  .imagen-circular {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }
  
  .imagen-circular img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
  }

  .icono {
    margin-left: 75px;
    width: 100px;
    height: 100px;
    border-radius: 20%;
  }
  
  @media (max-width: 600px) {
    h1 {
      font-size: 32px;
    }
  
    .imagen-circular img {
      width: 100px;
      height: 100px;
    }
  }
  