@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@500&family=Roboto:wght@400&display=swap");

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

body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "dosis";
  color: #080808;
  background: linear-gradient(110deg, #fc6a6a 0%, #ffc69d 100%);
} */
/* 
.container {
  position: relative;
  width: 800px;
  min-width: 350px;
  min-height: 250px;
  padding-bottom: 40px;
  overflow: hidden;
} */

.wrapper {
  /* width: 300%; */
  width: 1500%;
  /* 300% 'caz we have 3 cards */
  min-height: 100%;
  display: flex;
  justify-content: space-around;
  transition: 1s;
}

.card {
  width: 1150px;
  min-height: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: 0 10px;
  flex-direction: row;
  height: 400px;
}

.card-thumb {
  width: 30%;
  /* width: 70%; */
  /* height: 250px; */
  height: 100%;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  position: relative;
}

.client-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.client-name {
  position: absolute;
  bottom: 10px;
  right: 10px;
  /* border-top-left-radius: 50px;
  border-bottom-left-radius: 50px; */
  padding: 5px 20px;
  /* background: #fff; */
  text-transform: capitalize;
  font-size: 14px;
  border-radius: 20px;
  background: var(--base-skin);
  color: white;
}

.card-body {
  width: 90%;
  min-height: 100%;
  height: auto;
  margin-left: 20px;
  position: relative;
  padding-bottom: 50px;
}

.review {
  font-size: 20px;
  line-height: 30px;
  margin-top: 30px;
}

.rating {
  /* position: absolute; */
  bottom: 10px;
  left: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.star {
  width: 25px;
  margin-right: 5px;
}

.indicators {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.indicators button {
  background: white;
  border: none;
  outline: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--base-skin);
  cursor: pointer;
  margin-left: 5px;
  transition: 0.5s;
  padding: 0;
}

button.active {
  width: 40px;
  border-radius: 50px;
  background: var(--base-skin);
}

@media (max-width: 800px) {
  /* .container {
    width: 50%;
    margin: auto;
  } */
  .wrapper {
    width: 1500%;
  }
  .card {
    flex-direction: column;
    height: 910px;
  }
  .card-thumb {
    width: 100%;
    min-height: 30%;
    border-radius: 10px;
  }
  .card-body {
    width: 100%;
    min-height: 70%;
    /* min-height: auto; */
    margin-left: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: revert;
  }
}
