body{
    margin: 0;
    padding: 0;
    overflow-x: ; /* Oculta cualquier desbordamiento horizontal */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    box-sizing: border-box; /* Asegura que el padding se incluya en el ancho */
}

.blog {
  display: flex;             /* Habilita Flexbox */
  justify-content: center;   /* Centra horizontalmente los hijos */
  align-items: center;       /* Centra verticalmente los hijos (opcional) */
  flex-wrap: wrap;           /* Permite que los hijos se ajusten si es necesario */
  width: 100%;
  background: #523097;
  text-align: center;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* Estira las .col a la misma altura */
}

.row-cols-1 {
    max-width: 100%;
    overflow: hidden;
}

button {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(160, 141, 161, 0.561) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #000000;
  display: block;
  font-family: Phantomsans, sans-serif;
  font-size: 18px;
  justify-content: center;
  line-height: 1em;
  width: 100%;
  min-width: 140px;
  padding: 3px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  transition: all .3s;
  padding-top: 6px;
  padding-bottom: 6px
}

button a {
    font-size: 11px;
}
button:hover {
  scale: 0.95
}

button:active {
  scale: 0.9
} 

/* From Uiverse.io by StealthWorm */ 
.btn {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  height: 3rem;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #fe53bb 45%,
      #8f51ea 67%,
      #0044ff 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

strong {
  z-index: 2;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.btn:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}


@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}


.card {
  display: flex;
  flex-direction: column;      /* Acomoda el contenido en columna */
  justify-content: space-between;  /* Distribuye contenido: uno arriba, otro abajo */
  height: 100%;                /* Muy importante para que todas las .card tengan el mismo alto si están dentro de un flex container */
  background-color: #ffffff;
  border-top-right-radius: 34px;
  border-bottom-left-radius: 25px;
  margin-top: 25px;
  padding: 0px;
}
.text {
  margin-top: auto;           /* Asegura que el botón se quede al final del .card-body */
}
.card-body {
  flex-grow: 1;                /* Hace que el contenido crezca ocupando espacio */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.col {
  display: flex;
  flex-direction: column;
}
.card-title {
  color: rgb(134, 0, 175);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: bold;
}
.card-text {
  color: #000000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}




@media (max-width: 1270px) {
    .row-cols-1 {
        max-width: 100%;
        overflow: hidden;
    }
    .card {
        width: 100%;
        height: auto;
    }

    .card-img-top {
        max-width: 100%;
        height: auto;
    }
    
      
      .card-body {
        text-align: center; /* Centra texto opcionalmente */
      }
      
      button {
        display: block;
        width: 100%; /* Botón ocupará todo el ancho de la tarjeta */
        margin-top: 10px;
      }
      
    
   
}