
.tilesWrap {
  padding: 0;
  list-style: none;
  text-align: center;
  border:4px solid black;
}

.tilesWrap li {
  display: inline-block;
  width: 25%;
  min-width: 200px;
  max-width: 3000px;
  position: relative;
  vertical-align: top;
  margin:10px;
  min-height: 30vh;
 /* background:rgb(60, 60, 60);
  background:rgb(29, 73, 131);*/
  background:rgb(135, 135, 250);
  border: 1px solid #fff;
  text-align: left;
  min-height:280px;
  text-shadow:1px 1px 2px black;
}

.tilesWrap li h2 {
  font-size:18px; 
  /*font-family: 'Tangerine', serif;*/
  font-family: 'Tahoma';
  position: absolute;
  opacity: 0.1;
  top: 75%;
  font-weight:300;

  color:#ffff00;
  text-shadow: 4px 4px 12px #FFF;
  transition: all 0.3s ease-in-out;
}

.tilesWrap li h4 {
  font-size: 14px;
  color: #fff;
}

.tilesWrap li p {
  margin-top: 40%;
  margin-left:20%;
  text-align:center;
  text-shadow: 4px 4px 24px #FFF;
  
}

.tilesWrap li a:link {
  font-size: 20px;
  color: rgb(30, 245, 220);
  text-shadow: 1px 1px 12px rgb(1, 1, 1);
}

.tilesWrap li a:visited {
  color: rgb(200, 2, 190);
}

.tilesWrap li a:focus {
  color:rgb(250, 120, 250);
}

.tilesWrap li a:hover {
  color:chartreuse;
  cursor: url("hand_cursor.png"), pointer;
  animation-duration: 0.2s;
  animation-name: link-shaking2;
  animation-iteration-count:  2;  
  box-shadow:1px 1px 2px black;    
}

.tilesWrap li:hover h2 {
  top: -40px;
  opacity: 0.5;
  color: rgb(255, 255, 255);
  /*text-shadow: 1px 1px 4px rgb(150, 250, 100);  */
}

.tilesWrap li:before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  z-index: -1;
  background: #fff;
  transform: skew(5deg, 5deg);
}

.tilesWrap li:after {
  content: '';
  position: absolute;
  width: 45%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.02);
}

.tilesWrap li:nth-child(1):before {
  background: #C9FFBF;
  background: -webkit-linear-gradient(to right, #ff8296, #C9FFBF);
  background: linear-gradient(to right, #ff8296, #C9FFBF);
}
.tilesWrap li:nth-child(2):before {
  background: #c21500;
  background: -webkit-linear-gradient(to right, #88ff00, #01a725);
  background: linear-gradient(to right, #88ff00,  #01a725);
}
.tilesWrap li:nth-child(4):before {
  background: #FC354C;
  background: -webkit-linear-gradient(to right, #0ABFBC, #fc0421);
  background: linear-gradient(to right, #0ABFBC, #fc0421);
}
.tilesWrap li:nth-child(3):before {
  background: #ff9472;
  background: -webkit-linear-gradient(to right, #ff9472, #f2709c);
  background: linear-gradient(to right, #ff9472, #f2709c);
}

@keyframes link-shaking2 {
  0% { transform: translateX(0) }
  25% { transform: translateX(10px) }
  50% { transform: translateX(-10px) }
  75% { transform: translateX(10px) }
  100% { transform: translateX(0) }
 }