body {
  margin: 0em;
  font-family: "Noto Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Fjalla One", sans-serif;
}

.cover {
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(97, 93, 93, 0.5);
  background-blend-mode: darken;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.card-body {
  min-height: 50px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0;
  flex-grow: 1;
  justify-content: flex-start;
}

.card-body-informativa {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 1rem;
  height: 160px;
}
.card-body.card-body-informativa {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 1rem;
  gap: 0;
}
.card.card-producto > .card-body {
  flex-grow: 1;
  flex-basis: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.5rem 1rem;
  gap: 0.25rem;
}
.card.card-producto .card-title {
  margin-bottom: 0.25rem;
}

.card.card-producto .badge {
  margin-top: 0.1rem;
}
.cover-small {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: normal;
  flex-shrink: 0;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.card:not(.avatar-card) {
  width: 200px;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  background-color: #2c2c2c;
  color: white;
  border: 0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  margin-right: 1rem;
}
.card-title {
  margin: 0;
  line-height: 1.2;
  text-align: center;
  font-size: 1rem;
  overflow-wrap: break-word;
}

.card-text {
  margin-bottom: 0;
}
.slider {
  overflow-x: hidden;
}
.image-container {
  width: 100vw;
  height: 300px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
@keyframes slider {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-100%);
  }

  45% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(-200%);
  }

  70% {
    transform: translateX(-200%);
  }

  75% {
    transform: translateX(-300%);
  }

  95% {
    transform: translateX(-300%);
  }

  100% {
    transform: translateX(0%);
  }
}

.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode p,
.dark-mode span,
.dark-mode a {
  color: #e0e0e0 !important;
}

.dark-mode .navbar,
.dark-mode footer {
  background-color: #1e1e1e !important;
}

.dark-mode .card {
  background-color: #2c2c2c;
  color: white;
}

.dark-mode .cover {
  background-blend-mode: overlay;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-x: hidden;
}

main {
  flex: 1;
  margin-top: 70px;
}

.footer-bar {
  background-color: #1e1e1e;
  color: white;
  text-align: center;
  width: 100%;
  margin: 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  align-items: center;
  height: 20px;
  font-size: 14px;
  line-height: 1;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
}
.logo-navbar {
  height: 36px;
  vertical-align: middle;
  margin-right: 10px;
  margin-top: 2px;
}
.card img,
img.rounded-img {
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.card img:hover,
img.rounded-img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.avatar:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.image-container:hover {
  transform: scale(1.05);
  cursor: pointer;
}
#stripe {
  position: relative;
  overflow: hidden;
}
.product-stripe {
  width: 100vw;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}
.slider-container {
  display: flex;
  width: 400vw;
  animation: slider 20s infinite;
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  scroll-snap-type: x mandatory;
}
.carousel-track > .card {
  flex-shrink: 0;
  scroll-snap-align: start;
}

.responsive-iframe {
  position: relative;
  height: 400px;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
}

.responsive-iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
  display: block;
}

.avatar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  overflow: visible;
}
.avatar-card {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem;
  background-color: #f9f9f9;
  color: #212529;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.avatar-card h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.avatar-card .badge {
  margin-bottom: 0.5rem;
}

.avatar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.avatar {
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}
.avatar-carousel {
  gap: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.avatar-carousel .card {
  scroll-snap-align: center;
  min-width: 220px;
  max-width: 220px;
  flex-shrink: 0;
}

.avatar-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body:not(.dark-mode) {
  background-color: white;
  color: #212529;
}
body:not(.dark-mode) .card {
  background-color: #f9f9f9;
  color: #212529;
}

@keyframes autoSlide {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(-200%);
  }
  75% {
    transform: translateX(-300%);
  }
  100% {
    transform: translateX(0);
  }
}

.carousel-track.animate {
  animation: autoSlide 20s infinite;
  padding-right: 1rem;
  padding-left: 1rem;
}
.cover h1 {
  color: rgb(239, 245, 240);
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(3, 116, 46, 0.5);
}
.cover p {
  color: white;
  font-size: 1.25rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.card {
  height: 100%;
  width: 220px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  background-color: #2c2c2c;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  margin-right: 1rem;

  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.6);
}

.card-informativa {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-producto {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card.card-producto {
  flex: 1 1 auto;
  height: auto;
  padding-bottom: 1rem;
  justify-content: flex-start;
  min-height: unset;
  height: 100%;
  padding-bottom: 0.25rem;
  align-items: stretch;
  background-color: transparent;
}
.avatar-card {
  min-height: auto;
  height: auto;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  z-index: 20;
  position: relative;
}

.product-carousel {
  display: flex;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0.1rem;
  padding: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  max-width: 100%;
  flex-wrap: nowrap;
  margin-top: 3rem;
  margin-bottom: 2rem;
  justify-content: center;
  align-items: flex-start;
}
section.container {
  background-color: inherit;
}
.product-carousel .card:hover {
  z-index: 50;
  position: relative;
}

.product-carousel .card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 220px;
}
.responsive-iframe iframe {
  border-radius: 15px;
  overflow: hidden;
  margin-top: 4rem;
}
.row > div {
  overflow: visible;
}
.container {
  overflow: visible;
  position: relative;
}
.carousel-stripe {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 1rem;
  gap: 1rem;
  scroll-padding-left: 1rem;
}

.carousel-image {
  width: 280px;
  min-width: 280px;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #222;
  flex-shrink: 0;
  border-radius: 10px;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
}
.carousel-image:nth-child(1) {
  background-position: top center;
}
.carousel-image.primera {
  background-position: top center !important;
  background-size: cover !important;
}
.carousel-image.ajustar {
  background-position: top center !important;
  background-color: #eee;
}

.scrollable-carousel::-webkit-scrollbar {
  height: 8px;
}
.scrollable-carousel::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}
.carousel-stripe,
.scrollable-carousel {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  min-height: 310px;
}
.carousel-stripe,
.scrollable-carousel {
  min-height: 300px;
  margin-bottom: 1rem;
}

.carousel-stripe::-webkit-scrollbar,
.scrollable-carousel::-webkit-scrollbar {
  height: 8px;
}

.carousel-stripe::-webkit-scrollbar-thumb,
.scrollable-carousel::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}
.cover-index {
  background-image: url(imagenes/portada-1.jpg);
}
.cover-acercade {
  background-image: url(imagenes/portada-2.jpg);
}
.carousel-image:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  z-index: 10;
}

.ilustracion {
  background-color: white;
  padding: 0.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dark-mode .ilustracion {
  filter: brightness(1.1) contrast(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.ilustracion:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card.card-informativa:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 20;
  position: relative;
}
