
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== CARD ===============*/
.container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.card__container {
  padding-bottom: 5rem;
}
.card__image {
  margin-bottom: 2rem;
}
.card__data h3 { 
  line-height: 1.3;
  font-size: 1.5rem;
}
.card__data p { 
  font-size: 1.2rem;
}
.card__img {
  width: 180px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
/* Swiper class */
.swiper-button-prev:after,
.swiper-button-next:after {
  content: "";
}

.swiper-button-prev,
.swiper-button-next {
  width: initial;
  height: initial;
  font-size: 3rem;
  display: none;
}

.swiper-button-prev {
  left: 0;
  top: 40%;
  transform: translateY(-40%);
}

.swiper-button-next {
  right: 0;
  top: 40%;
  transform: translateY(-40%);
}

.swiper-pagination-bullet {
  background-color: hsl(0, 0%, 0%);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: black;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .card__data {
    padding: 1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .card__content {
    margin-inline: 3rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
    color: black;
  }
}

/* For large devices */
@media screen and (min-width: 1120px) {
  .card__container {
    max-width: 1120px;
  }

  .swiper-button-prev {
    left: -1rem;
  }
  .swiper-button-next {
    right: -1rem;
  }
}