.subtitulo-ofertas, .oferta,
.precio,
.titulo {
  text-align: center;
  margin-bottom: 5px;
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos de la transicion de imagenes */
.imagenes-transicion {
  position: relative;
  width: 512px;
  height: 400px;
  transition: all 0.3s ease;
}

.imagenes-transicion img:first-child {
  box-shadow: 0 60px 60px -60px rgba(0, 30, 255, 0.5);
  border-radius: 4px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.imagenes-transicion img:last-child {
  position: absolute;
  width: 512px;
  height: 500px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transform: translateY(25%);
  transition: 0.3s ease;
  opacity: 0;
  border-radius: 4px;
}

.imagenes-transicion:hover {
  transform: perspective(250px) rotateX(10deg) translateY(-5%) translateZ(0);
}

.imagenes-transicion::before {
  content: "";
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(to bottom, transparent 10%, rgba(0, 0, 0, 0.5) 50%, rgb(0, 0, 0) 95%);
  opacity: 0;
  transition: all 0.3s ease;
}

.imagenes-transicion:hover::before {
  opacity: 1;
}

.imagenes-transicion:hover img:last-child {
  opacity: 1;
  transform: translateY(10%);
}

.imagenes-transicion {
  display: block;
}

.imagen-celular {
  display: none;
}

.btn-custom {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: rgb(255, 255, 255);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-custom:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  z-index: 1000;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border: none;
}

.scroll-to-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.scroll-to-top:hover img {
  transform: scale(1.2) rotate(10deg);
  opacity: 1;
}

/* Estilos Header */
.nav-celular {
  background-color: #00FF80;
  display: none;
}

.index-header {
  background-color: #00FF80;
}

.logotipo {
  width: 15rem;
  display: block;
  margin: 0 auto;
}

.navbar-custom {
  padding: 10px;
}

.navbar-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.navbar-links li a {
  text-decoration: none;
  font-weight: 500;
  color: rgb(0, 0, 0);
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.2s;
}

.navbar-links li a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Main Index */
.subtitulo-ofertas {
  color: #222;
}

.item {
  width: 250px;
  margin-left: auto;
  margin-right: auto;
  background: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.item img {
  width: 100%;
  border-radius: 10px;
}

.titulo {
  font-weight: bold;
  font-size: 1rem;
  margin: 10px 0 5px;
}

.oferta {
  color: rgb(255, 0, 0);
  font-size: 0.9rem;
}

/* Main Productos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.product-name {
  font-size: 1.1em;
  margin: 10px 0 5px;
}

.product-price {
  color: #28a745;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

/* Main cursos */
.card img {
  border-radius: 5px;
}

.btn-watch {
  background-color: #dc3545;
  color: rgb(255, 255, 255);
}

.btn-watch:hover {
  background-color: #bb2d3b;
}

/* Main About us */
.about-section {
  padding: 60px 20px;
}

.about-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  padding: 100px 0;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.link h3 {
  font-size: 20px;
  color: #303030;
  margin-bottom: 20px;
}

.socials img {
  margin-right: 15px;
}

.link ul li a {
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
  color: #545454;
}

.link ul {
  list-style: none;
  padding: 0;
}

/* Media Querys */
@media screen and (max-width: 768px) {
  .imagenes-transicion {
    display: none;
  }
  .navbar-custom {
    display: none;
  }
  .nav-celular {
    display: block;
  }
  .imagen-celular {
    display: block;
  }
  #carouselOfertas {
    display: none !important;
  }
  #carouselExample {
    display: block !important;
  }
  .footer {
    padding: 30px;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .socials {
    margin-bottom: 25px;
  }
}

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