@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

.container{
  max-width: 1600px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;  
  place-items: center;
  box-sizing: border-box;
  text-align: center;
}
.card{
  height: 200px;
  width: 200px;
  max-width: 220px;
  margin: 10px 10px;
  background: white;
  transition: 0.4s;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.card:hover{
  min-height: 250px;
  height: auto;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
  max-width: 220px;
}
.card .img{
  height: 150px;
  width: 100%;
}
.card .img img{
  height: 100%;
  width: 100%;
  object-fit: none;
}
.card .top-text{
  padding: 5px;
}
.card .top-text .name{
  font-size: 16px;
  font-weight: 600;
  color: #b100f6;;
}

.card .bottom-text{
  padding: 0 20px 10px 20px;
  margin-top: 5px;
  background: white;
  opacity: 0;
  visibility: hidden;
  transition: 0.1s;
}
.card:hover .bottom-text{
  opacity: 1;
  visibility: visible;
}
.card .bottom-text .text{
  text-align: justify;
  line-height: 16px;
  color: #5a89f8;
}
.card .bottom-text .btn{
  margin: 10px 0;
  text-align: left;
}
.card .bottom-text .btn a{
  text-decoration: none;
  background: #e74c3c;
  color: #f2f2f2;
  padding: 5px 8px;
  border-radius: 3px;
  display: inline-flex;
  transition: 0.2s;
}
.card .bottom-text .btn a:hover{
  transform: scale(0.9);
}

