/* This selector is in most "old way" box-sizing resets */

* {
  box-sizing: border-box;
}

.container {
  width: 100%;
  margin: 0px auto;
}

/* Float three columns side by side */

.column {
  float: left;
  width: 33.33%;
  padding: 0 10px;
  margin-top: 50px;
}

/* Remove extra left and right margins, due to padding */

.row {
  margin: 0 -5px;
}

/* Clear floats after the columns */

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive columns */

@media screen and (max-width: 700px) {
  .container {
    width: 100%;
  }
}

@media screen and (max-width: 700px) {
  .column {
    width: 100%;
    display: block;
    margin-top: 20px;
  }
}

/* Style the counter cards */

.card {
  border-radius: 5px;
  transition: all 0.1s ease-out;
  transform: scale(1.0);
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 5px;
  text-align: left;
  border-radius: 1px;
  cursor: pointer;
}

.card .profile {
  border-radius: 10px;
  transition: 0.2s;
}

.card:hover {
  border-radius: 4px;
  transition: all 0.1s ease-out;
  transform: scale(1.05);
}

.card:hover .profile {
  transform: scale(1.4);
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
}

.card .content {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card .content .back {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #f1f1f1e6;
  transition: 1s;
  z-index: 1;
  padding: 10px;
  color: #5B5B5B;
  text-align: center;
}

.from-left {
  top: 0;
  left: -100%;
}

.card:hover .content .from-left {
  left: 0%;
}

.from-bottom {
  top: 100%;
  left: 0;
}

.card:hover .content .from-bottom {
  top: 0%;
}

.from-right {
  top: 0%;
  right: -100%;
}

.card:hover .content .from-right {
  right: 0;
}

.card .content .front h3 {
  font-size: 24px;
  text-align: center;
}

.card .content .back .tem-img {
  border-radius: 100%;
}

.card .content .back .des {
  font-size: 18px;
  padding: 20px 0px;
}

.OfferPhoto {
  height: auto;
  width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: top left;
}

