.btn-secundario, .btn-primario {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #5c7be2;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  color: #5c7be2;
}

p {
  color: #5c7be2;
}

header {
  padding: 2rem;
  text-align: center;
}
header h1 {
  font-size: 2rem;
}
@media (min-width: 768px) {
  header h1 {
    font-size: 3rem;
  }
}

footer {
  background-color: #000;
  padding: 2rem;
  text-align: center;
}
footer .footer-redes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
footer .footer-redes a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #5c7be2;
  font-size: 0.9rem;
  text-decoration: none;
}
footer .footer-redes a:hover {
  color: #5c7be2;
}
footer .footer-redes img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
footer .footer-redes img:hover {
  transform: scale(1.1);
}
@media (min-width: 768px) {
  footer .footer-redes img {
    width: 56px;
    height: 56px;
  }
}

.grid-pilares {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-pilares {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-pilares {
    grid-template-columns: repeat(3, 1fr);
  }
}

.btn-primario {
  background-color: #5c7be2;
  color: #fff;
}
.btn-primario:hover {
  background-color: rgb(48.703125, 87.9375, 218.296875);
}

.btn-secundario {
  background-color: transparent;
  color: #5c7be2;
  border: 1px solid #5c7be2;
}
.btn-secundario:hover {
  background-color: #5c7be2;
  color: #fff;
}

.card-pilar {
  background-color: #000;
  border: 1px solid #5c7be2;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}
.card-pilar:hover {
  transform: translateY(-5px);
}
.card-pilar h5 {
  margin-bottom: 0.5rem;
}
.card-pilar p {
  font-size: 0.9rem;
  color: #3f3d3d;
}
.card-pilar img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.navbar {
  background-color: #000 !important;
}
.navbar .navbar-brand,
.navbar .nav-link {
  color: #5c7be2;
}
.navbar .navbar-brand:hover,
.navbar .nav-link:hover {
  color: #5c7be2;
}
.navbar .navbar-toggler {
  border-color: #5c7be2;
}
.navbar .navbar-toggler-icon {
  filter: invert(1);
}

.seccion-pilares {
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .seccion-pilares {
    margin-top: 5rem;
  }
}
@media (min-width: 1024px) {
  .seccion-pilares {
    margin-top: 7rem;
  }
}

.comunidad {
  padding: 2rem;
  text-align: center;
}

.productos {
  padding: 2rem;
}
.productos .producto {
  margin-bottom: 2rem;
}

.seccion-productos {
  margin-bottom: 4rem;
}
.seccion-productos .titulo-seccion {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.6rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  background-color: #5c7be2;
  border-radius: 999px;
}

.ejercicios {
  padding: 2rem;
}

.recetas-saludables {
  padding: 2rem;
}
.recetas-saludables h1 {
  text-align: center;
  margin-bottom: 2rem;
}
.recetas-saludables .recetas-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .recetas-saludables .recetas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .recetas-saludables .recetas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.recetas-saludables .receta-card {
  background-color: #000;
  border: 1px solid #5c7be2;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}
.recetas-saludables .receta-card:hover {
  transform: translateY(-5px);
}
.recetas-saludables .receta-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.recetas-saludables .receta-card h3 {
  margin-bottom: 0.5rem;
  color: #5c7be2;
}
.recetas-saludables .receta-card p {
  font-size: 0.9rem;
  color: #3f3d3d;
}

@media (max-width: 768px) {
  .logo-central h1 {
    font-size: 1.5rem;
  }
  .logo-central h2 {
    font-size: 1rem;
  }
  .logotipo {
    width: 70px;
    height: auto;
  }
}
