
body {
  margin: 0;
  padding: 0;
  background-color: transparent;
}
#rutina {
  padding: 0.5rem 1rem;
  width: 90%;
}

#rutina h2 {
  font-size: 22px;
  text-align: center;
}

.rutinas_subidas {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-title {
  font-size: 13px;
  margin-bottom: 0.4rem;
  color: white;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.card-img-top {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.moverlo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px 10px;
}

.card {
  width: 160px;
  background-color: rgba(255, 255, 255, 0.12);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 6px;
}

.btn-primary {
  display: inline-block;
  padding: 8px 12px;
  background-color: transparent;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid white;
  width: 100%;
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.boton {
  width: 100%;
  display: flex;
  justify-content: center;
}

.consultar a {
  display: inline-block;
  text-decoration: none;
  color: white;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid white;
  padding: 6px 10px;
  font-weight: 500;
  border-radius: 6px;
  backdrop-filter: blur(3px);
  font-size: 13px;
  transition: background-color 0.3s ease;
}

.consultar a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* RESPONSIVE */
@media screen and (min-width: 1440px) {
  .moverlo {
    max-width: 1200px;
    margin: 0 auto;
  }

  .card {
    width: calc((100% - 120px) / 5);
  }
}

@media screen and (min-width: 768px) and (max-width: 1439px) {
  .card {
    width: 25%;
  }
}

@media screen and (max-width: 767px) {
  .card {
    width: 45%;
  }
}

@media screen and (max-width: 480px) {
  .card {
    width: 90%;
  }
}
#rutinas-subidas-title {
  border-bottom: none;
}
