@charset "UTF-8";
.discount {
  overflow: hidden;
  width: 70%;
  margin: 5rem auto 0;
  display: grid;
  grid-template-columns: 0.2fr 1fr;
  background: url(../assets/¡Solo\ por\ tiempo\ limitado!_.svg) no-repeat;
  background-size: contain;
  animation: animateBackground 10s linear infinite;
}
@keyframes animateBackground {
  50% {
    background-position: 0% 10%;
  }
  100% {
    background-position: 10% 0%;
  }
}
.discount img {
  width: 30vw;
  pointer-events: none;
}
.discount .buy__discount {
  position: relative;
}
.discount .buy__discount .buy__container {
  cursor: pointer;
  z-index: 7;
  padding: 1rem;
  border: 3px solid #007bff;
  border-radius: 0.7rem;
  width: auto;
  position: absolute;
  top: calc(50% - 6rem);
  right: calc(5% + 1rem);
  transform: translateX(50%);
}
.discount .buy__discount .buy__now {
  font-size: 1.4rem;
  color: white;
  background: #3469af;
  font-weight: bold;
  border-radius: 0.7rem;
  padding: 0.5rem 1rem;
  border: 2px solid #3469af;
  margin: 0.5rem;
}
.discount .buy__discount .buy__img {
  margin-top: 6vw;
}
.discount .porcent__discount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 7rem;
}
.discount .porcent__title {
  font-size: 3.5vw;
  font-weight: 900;
}
.discount .porcent__paragraph {
  font-size: 1.6vw;
}
.discount .porcent__paragraph--bold {
  font-weight: bold;
}

@media (max-width: 764px) {
  .discount {
    padding: 0;
    width: 80%;
    animation: none;
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
  }
  .discount img {
    width: 80vw;
  }
  .discount .porcent__title {
    font-size: 7vw;
  }
  .discount .porcent__paragraph {
    font-size: 2.4vw;
  }
  .discount .buy__discount .buy__container {
    display: none;
  }
  .discount .buy__discount .buy__img {
    position: static;
    width: 60vw;
    margin: 0 3rem 0 0;
  }
}/*# sourceMappingURL=discount.css.map */