
body {
    background: rgb(247, 247, 247);
    background: radial-gradient(
      circle,
      rgba(247, 247, 247, 1) 0%,
      rgba(207, 34, 188, 1) 20%,
      rgba(0, 129, 255, 1) 51%
    );
    font-family: "Arial", sans-serif;
  
  }
  
  /* Contenedor principal */
  .container {
    max-width: 1000px;
    margin-top: 5%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 40px;
    animation: fadeIn 1.5s ease-in-out;
  }
  
  /* Título */
  h1 {
    text-align: center;
    color: #6f42c1; /* Morado */
    margin-bottom: 40px;
    font-size: 2.5rem;
    animation: fadeIn 1.5s ease-in-out;
  }
  
  /* Estilos para las cards */
  .dashboard-card {
    position: relative;
    height: 400px; /* Puedes ajustar la altura de las cards */
    background-size: cover;
    background-position: center;
    border: none;
    transition: transform 0.3s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .dashboard-card .card-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 1; /* El título es visible siempre */
    visibility: visible;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-size: 24px; /* Título más grande */
    line-height: 1.4;
  }
  
  .dashboard-card .card-body p,
  .dashboard-card .card-body .btn {
    opacity: 0; /* Hacemos que el texto y el botón sean invisibles inicialmente */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .dashboard-card:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
  }
  
  .dashboard-card:hover .card-body p,
  .dashboard-card:hover .card-body .btn {
    opacity: 1;
    visibility: visible;
  }
  
  .dashboard-card .card-body .btn {
    margin-top: 20px;
    background-color: rgba(
      0,
      0,
      0,
      0.7
    ); /* Fondo semitransparente para el botón */
    color: white;
    transition: background-color 0.3s ease;
    font-size: 18px; /* Botón más grande */
    padding: 10px;
    width: 70%; /* Ancho del botón */
    margin: 20px auto 0 auto;
  }
  
  .dashboard-card .card-body .btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
  }
  
  .dashboard-card .card-body h5 {
    font-size: 36px; /* Título más grande */
  }
  
  /* Estilos para el footer */
  .footer {
    position: relative;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
  }
  
  .footer a {
    color: #fff;
    text-decoration: none;
  }
  
  .footer a:hover {
    text-decoration: underline;
  }
  
  /* Animaciones */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Estilos responsivos */
  @media (max-width: 768px) {
    .container {
      padding: 30px;
    }
  
    h1 {
      font-size: 2rem;
    }
  
    .card-body {
      padding: 20px;
    }
  
    .btn-primary {
      font-size: 1rem;
      padding: 10px 20px;
    }
  }
  