@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");
/*
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html,
bodyp {
  display: grid;
  height: 100%;
  place-items: center;
  text-align: center;
  background: #f2f2f2;
}
*/

.slider {
  max-width: 1100px;
  display: flex;
}
.slider .cardp {
  flex: 1;
  margin: 0 10px;
  background: #fff;
}
.slider .cardp .img {
  height: 200px;
  width: 100%;
}
.slider .cardp .img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.slider .cardp .contentp {
  padding: 10px 20px;
}
.cardp .contentp .titlep {
  font-size: 25px;
  font-weight: 600;
}
.cardp .contentp .sub-titlep {
  font-size: 20px;
  font-weight: 600;
  color: #e74c3c;
  line-height: 20px;
}
.cardp .contentp p {
  text-align: justify;
  margin: 10px 0;
}
.cardp .contentp .btn {
  display: block;
  text-align: left;
  margin: 10px 0;
}
.cardp .contentp .btn button {
  background: #e74c3c;
  color: #fff;
  border: none;
  outline: none;
  font-size: 17px;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s;
}
.cardp .contentp .btn button:hover {
  transform: scale(0.9);
}
