Hover Over Image/hover.css
.card{
  width: 300px;
  margin:auto;
  text-align:center;
  margin-top: 15px;
}

.card-title{
  text-align: center;
  text-align: center;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px #ff0000;
}

.card-text{
  text-align: center;
  padding-bottom: 5px;
  color: #fff;
  text-shadow: 2px 2px #ff0000;
}


.card-img-top{
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  opacity: 0.7;
  overflow: hidden;
  width: 100%;
  height:0;
  transition: .5s ease;
}

.card:hover .overlay {
  bottom: 0;
  height: 100%;
}

.main {
  white-space: nowrap; 
  color: #000000;
  font-size: 18px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.main .fa{
font-size: 18px;
padding: 12px;
text-decoration:none;
color: #000000;

}

.main .fa:hover {
	transform: scale(1);
	 color: #000000;
	 box-shadow: 0 0 15px  #000000;
}


/*Media queries*/
@media only screen and (max-width: 1920px) {
  .card-title{
    font-size: 38px;
    font-weight: bold;
  }

  .card-text {
    font-size: 33px;
  }


  .card {

  width: 980px;
  margin:auto;
  text-align:center;
  margin-top: 20px;
}

}





@media only screen and (max-width: 1024px) {
  
  .card-title {
    font-size: 58px;
    font-weight: bold;
  }

  .card-text {
    font-size: 45px;
  }

  .card {

  max-width: 500px;
  margin:auto;
  text-align:center;
  margin-top: 20px;
}

.card{
  display: flex;
  justify-content: center;
  text-align: center;
}

}


@media only screen and (max-width: 480px) {
  
  .card-title {
    font-size: 33px;
    font-weight: bold;
  }

  .card-text {
    font-size: 30px;
  }

}


