/* Importing Google fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url(styles.css);

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  /* width: 1400px; */
  margin-bottom: 300px;
}

.card-wrapper {
  max-width: 1100px;
  margin: 0 60px 35px;
  padding: 20px 10px;
  overflow: hidden;
}

.card-list .card-item {
  list-style: none;
}

.card-list .card-item .card-link {
  user-select: none;
  display: block;
  background: var(--categoria-color);
  padding: 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: 0.2s ease;
}

.card-list .card-item .card-link:active {
  cursor: grabbing;
}

.card-list .card-item .card-link:hover {
  border-color: #5372f0;
}

.card-list .card-link .card-image {
  width: 100%;
  aspect-ratio: 16/9; /* ver que definimos con esta propiedad*/
  object-fit: cover;
  border-radius: 10px;
}

.card-list .card-link .badge {
  color: #5372f0;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 16px 0  18px;
  background: #dde4ff;
  width: fit-content; /* ver que hace este valor */
  border-radius: 50px;
}

.card-list .card-link .badge.designer {
  color: #b22485;
  background: #f7dff5;
}

.card-list .card-link .badge.marketer {
  color: #b25a2b;
  background: #ffe3d2;
}

.card-list .card-link .badge.gamer {
  color: #205c20;
  background: #d6f8d6;
}

.card-list .card-link .badge.editor {
  color: #856404;
  background: #fff3cd;
}


.card-list .card-link .card-title {
  font-size: 1.19rem;
  color: #000;
  font-weight: 600;
}

.card-list .card-link .card-button {
  height:  35px;
  width: 35px;
  color: #5372f0;
  border-radius: 50%;
  margin: 30px 0 5px;
  background: none;
  cursor: pointer;
  border: 2px solid #5372f0;
  transform: rotate(-45deg);
  transition: 0.4s ease;
}

.card-list .card-link:hover .card-button {
  color: #fff;
  background: #5372f0;
} /* Ver donde puse el hover... tener en cuenta */

.card-wrapper .swiper-pagination-bullet {
  height: 13px;
  width: 13px;
  opacity: 0.5;
  background: #5372f0;
}

 .card-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
 }

.card-wrapper .swiper-slide-button {
  color: #5372f0;
  margin-top: -35px;
}

.card-wrapper .swiper-button-prev,
.card-wrapper .swiper-button-next {
  color: #5372f0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.button-add-destacado {
  padding: 10px;
  border-radius: 10vb;
  margin-top: 10px;
  border: 2px solid #5372f0;
}

.button-add-destacado:hover{
  background: #5372f0;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .card-wrapper {
    margin: 0 10px 25px;
  }

  .card-wrapper .swiper-slide-button {
    display: none;
  }
}