* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

main {
  position: relative;
  width: calc(min(90rem, 90%));
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  column-gap: 3rem;
  padding-block: min(20vh, 3rem);
}

.swiper {
  width: 100%;
  padding: 1.875rem 0;
}

.swiper-slide {
  width: 18.75rem;
  height: 35rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-start;
  box-shadow: 0.063rem 0.5rem 1.25rem rgba(0, 0, 0, 0.1216);
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.swiper-slide-img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: rotate(180deg);
  line-height: 0;
  bottom: -0.063rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.swiper-slide-img img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  z-index: -1;
  transition: all 0.3s ease-in-out;
  transform: rotate(-180deg);
}

.swiper-slide-snow img {
  position: absolute;
  height: auto;
  width: 100%;
  z-index: 0;
  top: 17rem;
}
.swiper-slide-img .shape-fill {
  fill: #ffffff;
}
.swiper-slide-content {
  background: #fff;
  padding: 0 1.65rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  width: 100%;
  
}
.swiper-slide-content > div {
  transform: translateY(-1.25rem);
  transition: all 0.3s ease;
}
.swiper-slide-content h2 {
  color: rgb(0, 0, 0);
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 0.425rem;
  text-transform: capitalize;
  letter-spacing: 0.02rem;
}
.swiper-slide-content p {
  color: rgb(0, 0, 0);
  line-height: 1.6;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.swiper-slide-content .show-more {
  width: 3.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #24aad9;
  border-radius: 50%;
  box-shadow: 0px 0.125rem 0.875rem #24aad96b;
  margin-top: 1em;
  margin-bottom: 0.2em;
  height: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in;
  margin-left: auto;
}
.swiper-slide-content .show-more:hover {
  background: #1184ac;
}
.swiper-slide-content .show-more svg {
  width: 1.75rem;
  color: #fff;
}

.swiper-slide-active:hover .swiper-slide-img img {
  transform: scale(1.2) rotate(-185deg);
}

.swiper-slide-active:hover .swiper-slide-snow img {
  top: 8rem;
}

.swiper-slide-active:hover .show-more {
  opacity: 1;
  height: 3.125rem;
}

.swiper-slide-active:hover p {
  display: block;
  overflow: visible;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

@media screen and (min-width: 93.75rem) {
  .swiper {
    width: 85%;
  }
}

/* asta e caruselul efectiv */
.container_slider { 
  width: 100%;
  height: 64.9vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10vh;
  margin-bottom: 10vh;
}

.swiper-button-next,
.swiper-button-prev {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: 50%;
  color: #09829b;
  background-color: #ffffff81;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: white;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}


@media only screen and (max-width: 600px) {
  .swiper {
    width: 80%;
  }
  .swiper-button-next,
  .swiper-button-prev {
    margin-top: 150px;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 4;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background-color: #ffffff81;
  }
}

@media screen and (min-width: 400px) and (max-width: 1000px) {

  #troiene-img{
    margin-top: 2.5%;
  }

}