@media (max-width: 768px) {
  .flex {
    display:inherit !important;
  }
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 8px 0px;
}
.card-body{
  width: 100%;
  text-align: center;
}

.flex{
  display: flex;
}

.stretch{
  align-content: stretch;
  align-items: stretch;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Add some padding inside the card container */
.container .card {
  padding: 2px 16px;
}