/* Set a fixed height for the carousel container */
.swiper-container {
  height: 600px;
}

/* Style the carousel slides */
.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3));
  position: relative;
  border-radius: 5px;
}
.swiperContent {
  display: flex;
}

.content-text {
  flex: 1;
  padding-right: 20px;
  padding-left: 20px;
}

.content-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  vertical-align: middle;
  margin-left: 50px;
  margin-top: 20px;
  height: 90%;
}

.swiper-slide img {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.swiper-pagination {
  position: absolute;
  bottom: 10px;
}
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 0.5;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

.linkRepo {
  text-decoration: none;
  color: black;
}

@media (max-width: 800px) {
  .swiper-container {
    height: 600px;
  }
  .swiper-slide {
    height: 550px;
    justify-content: flex-start;
  }
  .swiperContent {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-image {
    margin: 0;
    max-height: 250px;
    display: flex;
    justify-self: flex-start;
  }

  .content-text {
    display: grid;
    height: 100%;
    padding-top: 20px;
    padding-left: 45px;
    padding-right: 40px;
  }
  .content-text p {
    font-size: 14px;
  }
}
