:root {
  --primary-color: #e5007e;
  --secondary-color: #fffaf3;
  --terciary-color: #161616;
}

.carousel-element {
  height: auto;
  width: 100vw;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: flex-start;
}
.carousel-inner {
  height: 100%;
  /* min-width: 400%; */
  display: flex;
  transition: all ease 0.5s;
  align-items: flex-end;
}
.carousel-item {
  flex: 1;
  aspect-ratio: 4/1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 4/1.5;
}
.carousel-controls .prev-container {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: #e5007e;
  padding: 0.8rem 1rem;
  border-radius: 99px;
}
.carousel-controls .prev {
  display: inline-block;
  height: 32px;
  width: 37px;
  background-image: url("./../media/images/white-arrow-left.svg");
  background-position: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 1;
  z-index: 999;
  margin-top: 6px;
}
.carousel-controls .next-container {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: #e5007e;
  padding: 0.8rem 1rem;

  border-radius: 99px;
}
.carousel-controls .next {
  display: inline-block;
  height: 32px;
  width: 37px;
  background-image: url("./../media/images/white-arrow-right.svg");
  background-position: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 1;
  z-index: 999;
  margin-top: 6px;
}
.carousel-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.carousel-indicators span {
  display: inline-block;
  background-color: var(--primary-color);
  width: 30px;
  height: 4px;
  border-radius: 2px;
  opacity: 0.5;
  cursor: pointer;
  margin: 3px;
}
.carousel-indicators span.active {
  opacity: 1;
}

/* ACTUALIDAD HOME */
.news-list-wrapper .carousel-element .carousel-controls .prev,
.news-list-wrapper .carousel-element .carousel-controls .next {
  top: 65%;
}

.carousel-element.mobile.roller img {
  aspect-ratio: 1;
}

/*==========================================================*/
/*=============== RESPONSIVE ===============================*/
/*==========================================================*/
@media screen and (max-width: 900px) {
  .carousel-item,
  .carousel-item img {
    aspect-ratio: 4/2;
  }
}

@media screen and (max-width: 600px) {
  .carousel-controls .prev-container,
  .carousel-controls .next-container {
    display: none;
  }
  .carousel-item,
  .carousel-item img {
    aspect-ratio: 4/2.5;
  }
}
