

/* NEW HOVER */
.containercas {
  position: relative;
  width: 353px;
	height: 353px;
}

.imagecas {
  display: block;
  width: 353px;
  height: auto;
}

.overlaycas {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #333333;

}

.containercas:hover .overlaycas {
  opacity: .9;
}

.textcas {
  color: #ffffff;

  position: absolute;
  padding: 70px 30px 0px 30px;
  text-align: center;
}

@keyframes shake {
	0%{
		transform: translate(0px, 0px) rotate(0deg);
	}
	25%{
		transform: translate(1px, 1px) rotate(1deg);
	}
	50%{
		transform: translate(-1px, -1px) rotate(-1deg);
	}
	75%{
		transform: translate(2px, -1px) rotate(2deg);
	}
	100%{
		transform: translate(-1px, 1px) rotate(-1deg);
	}
}

/* problem hover */

.container-prob {
  position: relative;
 
}

.image-prob {
  opacity: 1;
  display: block;
  width: 204px;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle-prob {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container-prob:hover .image {
  opacity: 0.3;
}

.container-prob:hover .middle-prob {
  opacity: 1;
}

.text-prob {
  background-color: #333333;
  color: white;
  font-size: 18px;
	font-weight: bold;
	border-radius: 500px;
	margin: 0 auto;
	padding: 50px 10px 10px 10px;
  width: 165px;
	height: 165px;
}