.CardGrid {
  width: 100%;
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  -ms-grid-column: repeat(3, 1fr);
  justify-items: center;
  margin: 60px 0;
  background: #575757;
  padding: 100px 0;
  z-index: 100;
}

.CardContainer {
  height: 430px;
  width: 320px;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  background: #ffffff;
  display: -ms-grid;
  display: grid;
  grid-template-rows: 0.75fr 1fr;
  -ms-grid-rows: 0.75fr 1fr;
  overflow: hidden;
  cursor: pointer;
}

.CardTopImage {
  background-size: cover;
  transition: 2s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-transition: 2s cubic-bezier(0.2, 0.8, 0.2, 1);
  -moz-transition: 2s cubic-bezier(0.2, 0.8, 0.2, 1);
  -ms-transition: 2s cubic-bezier(0.2, 0.8, 0.2, 1);
  -o-transition: 2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.CardType {
  margin: 0;
}

.gp {
  background-image: url(../img/Customers/gandhi_portsmouth.jpg);
  background-position: center;
}

.ah {
  background-image: url(../img/Customers/anchor_hope.jpeg);
  background-position: bottom;
}

.rs {
  background-image: url(../img/Customers/rare_steakhouse.jpg);
  background-position: center;
}

.rf {
  background-image: url(../img/Customers/redfort_newport.jpg);
  background-position: center;
}

.oi {
  background-image: url(../img/Customers/oxford_innovation_centre.jpg);
  background-position: center;
}

.bq {
  background-image: url(../img/Customers/british_queen.jpg);
  background-position: center;
}

.CardContainer:hover .CardTopImage {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

.CardContainer:hover a {
  color: #95C11F;
}

.CardContainer:hover h3 {
  color: #95C11F;
}

.CardContainer:hover i {
  padding-left: 10px;
}

.CardDesc {
  padding: 10px;
  background: #ffffff;
  z-index: 1;
  position: relative;
}

.CardDesc h3 {
  margin: 0;
}

.CardDesc a {
  position: absolute;
  bottom: 6%;
  left: 4%;
}

.CardDesc i {
  transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  -moz-transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  -ms-transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  -o-transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media only screen and (max-width: 600px) {
  .CardGrid {
    -ms-grid-columns: (1fr)[1];
        grid-template-columns: repeat(1, 1fr);
    -ms-grid-column: repeat(1, 1fr);
  }
}
/*# sourceMappingURL=cards.css.map */