#tarot-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.card-description{
  padding-top: 14px;
}

.swiper-container {
  /* Прочие стили */
  margin: 0 auto; /* Добавляем автоматичесные отступы по горизонтали */
  position: relative; /* Добавляем позиционирование */
  z-index: 1; /* Увеличиваем z-index */
  height: 100%;
}

.swiper-slide {
  width: 100px;
  height: 150px;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: grab;
  position: relative;
      border: 1px solid white;
}
    
    .swiper-slide:hover {
  border: 2px solid white;
}

.swiper-slide.flipped {
  background-color: #fff;
  color: #333;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
    z-index: 2; 
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: #fff;
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

#selected-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  width: 100%;
}
    
.selected-card {
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  padding: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  width: 100px;
  height: 150px;
}
