/* Add this CSS code to your stylesheet */
.card {
  position: relative;
  overflow: hidden;
  width: 304px;
  border: none;
  border-radius: 0 53px 0 0;
  margin: auto;
  justify-content: center;
}

.card:hover {
  transition: 0.5s ease-in-out;
  box-shadow: 0 3px 3px #243D71, 0 3px 8px #243D71;
}



.overlay {
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  height: 70%;
  border: 0 25px 0 0;
  color: white;
  transform: translateY(113%);
  transition: 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

/* @media (min-width: 320px) and (max-width: 480px){
  .image{
    width: 93px;
  }
} */

.image {
  width: 100%;
  height: 107%;
  background-size: cover;
  background-position: center;
}

.card:hover .overlay {

 position: absolute;
    bottom: -100%;
    left: 0%;
    top: -64%;
    padding: 10px;
    border-radius: 5px;
    transition: 0.6s ease-in-out;
}




.card_text {
  color: aliceblue;
  position: absolute;
  top: 72%;
  left: 5%;
}

.read-more-button {
  height: 41px;
  width: 137px;
  background-color: #243D71;
  color: aliceblue;
  border: none;
  border-radius: 20px;
  margin-left: -25%;
  position: absolute;
  top: 82%;
  left: 34%;
}