.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex: 0 0 25%;
  max-width: 25%;
}

.card-lower {
  width: 282px;
  margin: 10px;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image {
  height: 200px;
  width: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  transition: box-shadow 0.3s ease-in-out;
  box-shadow: 0px 24px 94px -12px rgba(0, 0, 0, 0.25);
}

.card-description {
  /* padding: 10px; */
  /* visibility: hidden; */
  opacity: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 2;
  transition: visibility 0.3s linear, opacity 0.5s linear;
}

.card-container {
  color: #fff;
  text-align: center;
  /* background: #e9f5fb; */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-top: 30px;
}

.card-containerr {
  margin-bottom: 22px;
  height: 200px;
  width: 200px;
}

.card-titles {
  color: #000;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 10px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* .card:hover {
  -webkit-filter: brightness(20%);
  filter: brightness(20%);
} */

.card-lower:hover .card-description {
  /* display: block; */
  background: rgba(0, 0, 0, 0.54);
  /* visibility: visible; */
  opacity: 1;
}

@media only screen and (max-width: 600px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card-containerr {
    width: 100%;
    height: 260px;
    width: 260px;
  }

  .card-lower {
    /* width: 80%; */
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

.card-container {
  /* width: 100%; */
  padding-right: 15px;
  /* padding-left: 15px; */
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .card-container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .card-container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .card-container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .card-container {
    max-width: 1250px !important;
  }
}

@media (max-width: 900px) {
  .card-container {
    max-width: 720px !important;
    padding-right: 0;

  }

  .card-image {
    box-shadow: none;
    height: 260px;
    width: 260px;
  }
}

/**/