.wrapper-slider {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  width: 100%;
}

.container-slider {
  display: flex;
  flex-wrap: nowrap;
  height: 400px;
  justify-content: start;
}

.card-slider {
  position: relative;
  align-items: flex-end;
  background-size: cover;
  border-radius: .75rem;
  border-radius: 2rem;
  box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
  cursor: pointer;
  display: flex;
  margin: 0 10px;
  overflow: hidden;
  transition: .6s cubic-bezier(.28,-0.03,0,.99);
  width: 80px;
}

.card-slider > .row {
  color: white;
  display: flex;
  flex-wrap: nowrap;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;

  background: #0b1d51; /* dark blue */
  padding: 12px 16px;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

.card-slider > .row > .icon {
  align-items: center;
  background: #223;
  border-radius: 50%;
  color: white;
  display: flex;
  justify-content: center;
  margin: 15px;
  width: 50px;
}

.card-slider > .row > .description {
  display: flex;
  flex-direction: column;
  height: 80px;
  justify-content: center;
  opacity: 0;
  overflow: hidden;
  transform: translateY(30px);
  transition: all .3s ease;
  transition-delay: .3s;
  width: 520px;
}

.description p {
  color: #b0b0ba;
  padding-top: 5px;
}

.description h4 {
  text-transform: uppercase;
}

input {
  display: none;
}

input:checked + label {
  width: 600px;
}

input:checked + label .description {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.card-slider[for="c1"] {
  background-image: url('../images/coupon.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #12053a;
}

input:checked + .card-slider[for="c1"] {
  background-size: 55%;
  background-position: top;
}


.card-slider[for="c2"] {
  background-image: url('../images/gift-cart.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #12053a;
}

input:checked + .card-slider[for="c2"] {
  background-size: 55%;
  background-position: top;
}

.card-slider[for="c3"] {
  background-image: url('../images/mail.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #12053a;
}

input:checked + .card-slider[for="c3"] {
  background-size: 55%;
  background-position: top;
}

.card-slider[for="c4"] {
  background-image: url('../images/cost.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #12053a;
}

input:checked + .card-slider[for="c4"] {
  background-size: 55%;
  background-position: top;
}



