.cards-list {
  z-index: 0;
  width:100%;
  display: inline-flex;
  justify-content: space-around;
  margin: 5px;
  margin-bottom:50px;

}

.card {
  margin: 30px auto;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  box-shadow: 5px 5px 10px 7px rgba(0,0,0,0.25), -5px -5px 15px 7px rgba(0,0,0,0.22);
  cursor: pointer;
  transition: 0.4s;
}

.card .card_image {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.card .card_image img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.card .card_title {
  text-align: center;
  border-radius: 0px 0px 15px 10px;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 20px;
  margin-top: 5px;
  height: 40px;
}

.card:hover {
  transform: scale(0.9, 0.9);
  box-shadow: 5px 5px 30px 15px rgba(0,0,0,0.25), 
    -5px -5px 30px 15px rgba(0,0,0,0.22);
}

.title-white {
  color: rgb(234, 247, 234);
}

.title-black {
  color: rgb(8, 8, 8);
}

@media screen and (max-width: 600px) {
  .card-list {
    /* On small screens, we are no longer using row direction but column */
    width: 50%;
    margin-bottom:15px;
  }
  .card {
    margin: 20px auto;
    width: auto;
    height: auto;
  }
  .card .card_title {
    text-align: center;
    border-radius: 0px 0px 40px 40px;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
  }

}



.card {
  margin: 10px;
  width: auto;
  height: auto;
  border-radius: 10px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-repeat: no-repeat;
box-shadow: 5px 5px 30px 7px rgba(0,0,0,0.25), -5px -5px 30px 7px rgba(0,0,0,0.22);
  transition: 0.4s;
}
