* {
  margin: 0;
  padding: 0;
}

.practicas-higiene,
.sobre-mi,
.brownies-rapidos,
.bizcochuelos,
.lemon_pies {
  margin: 50px;
}

header {
  text-align: center;
}

.banderamid {
  height: 40px;
  background-color: white;
}

.sol {
  display: flex;
  justify-content: center;
  position: relative;
  top: -23px;
}
.sol img {
  transform: scale(1.4);
  transform-origin: center;
}

.banderabottomtop {
  background-color: #74ACDF;
  height: 40px;
  align-content: center;
}

.h1hidden {
  display: none;
}

#carouselExampleCaptions {
  max-width: 800px;
  margin: 20px auto 0 auto;
}
#carouselExampleCaptions img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
#carouselExampleCaptions .slide-content {
  display: flex;
  justify-content: center;
}

.contenedor-cartas {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  grid-auto-rows: min-content;
  gap: 20px;
  margin: 30px auto;
  max-width: 1200px;
}
.contenedor-cartas .card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contenedor-cartas .card:hover {
  transform: translateY(-8px);
  box-shadow: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.contenedor-cartas .card:active {
  transform: translateY(-3px);
  box-shadow: rgba(0, 0, 0, 0.2);
}
.contenedor-cartas .card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  flex-shrink: 0;
}
.contenedor-cartas .card h3 {
  margin: 10px;
  font-size: 16px;
  line-height: 1.3;
}

@keyframes rubberBand {
  0% {
    transform: scaleX(1);
  }
  30% {
    transform: scaleX(1.25) scaleY(0.75);
  }
  40% {
    transform: scaleX(0.75) scaleY(1.25);
  }
  50% {
    transform: scaleX(1.15) scaleY(0.85);
  }
  65% {
    transform: scaleX(0.95) scaleY(1.05);
  }
  75% {
    transform: scaleX(1.05) scaleY(0.95);
  }
  100% {
    transform: scaleX(1) scaleY(1);
  }
}
.rubberBand {
  animation: rubberBand 1s;
}

.videotutorial {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
  padding: 20px;
}
.layout .productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.layout .productos .producto {
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.layout .productos .producto:hover {
  transform: translateY(-8px);
  box-shadow: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.layout .productos .producto:active {
  transform: translateY(-3px);
  box-shadow: rgba(0, 0, 0, 0.2);
}
.layout .productos .producto img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 8px;
}
.layout .productos .producto .agregar {
  background-color: #f48c06;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: auto;
}
.layout .productos .producto .agregar:hover {
  background-color: #e07a00;
}
.layout .carrito {
  background-color: #fff3e0;
  border: 2px solid #f48c06;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-height: fit-content;
}

.carrito {
  padding: 20px;
  background-color: #fff3e0;
  border-left: 2px solid #f48c06;
}

.carrito {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 250px;
  background-color: #fff3e0;
  border: 2px solid #f48c06;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-flexbox {
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-box {
  width: 100%;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
  position: relative;
  color: #000;
  display: inline-block;
  transition: color 0.3s;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #74ACDF;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
  width: 100%;
}

.footer {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f1f1f1;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
.footer .footer-content {
  max-width: 900px;
  margin: auto;
}
.footer .footer-content .footer-links a {
  color: #f1f1f1;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin: 15px;
}
.footer .footer-content .footer-links a:hover {
  color: #74ACDF;
}

.content {
  min-height: calc(100vh - 100px); /* 100px = altura del footer */
}

/* VideoTutorial */
.videotutorial {
  display: block;
  margin: 0 auto;
  width: 900px;
  height: 505px;
}

/* Tablet */
@media (max-width: 978px) {
  .contenedor-cartas {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: min-content;
    gap: 15px;
    padding: 0 30px;
  }
  .contenedor-cartas .card {
    max-width: 100%;
  }
  .contenedor-cartas .card h3 {
    font-size: 16px;
  }
  #carouselExampleCaptions {
    padding: 0 15px;
  }
  .banderamid {
    height: 35px;
    background-color: white;
  }
  .banderabottomtop {
    background-color: #74ACDF;
    height: 35px;
    align-content: center;
  }
  .footer {
    padding: 15px;
    margin-top: 30px;
  }
  .footer .footer-content .footer-links a {
    margin: 10px;
    font-size: 14px;
  }
  .sol {
    top: -25px;
  }
  .sol img {
    transform: scale(1.3);
  }
}
/* Mobile */
@media (max-width: 480px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .contenedor-cartas {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contenedor-cartas .card {
    max-width: 100%;
  }
  .contenedor-cartas .card h3 {
    font-size: 18px;
  }
  #carouselExampleCaptions {
    padding: 0 15px;
  }
  .banderamid {
    height: 25px;
    background-color: white;
  }
  .banderabottomtop {
    background-color: #74ACDF;
    height: 25px;
    align-content: center;
  }
  .footer {
    padding: 10px;
    margin-top: 20px;
  }
  .footer .footer-content .footer-links a {
    margin: 8px;
    font-size: 13px;
  }
  .contact-box {
    margin: 30px;
  }
  .sol {
    top: -31px;
  }
  .sol img {
    transform: scale(1.05);
  }
  .videotutorial {
    height: 200px;
  }
}

/*# sourceMappingURL=main.css.map */

.carrito-acciones {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-confirmar {
  background-color: green;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
}

.btn-eliminar-todo {
  background-color: red;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
}

.btn-eliminar-item {
  background-color: #ff6666;
  color: white;
  padding: 5px 8px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-left: 10px;
}