/*@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600");
html, body {
  height: 100%;
  background-color: #F5F9FC;
  font-family: "Open Sans", sans-serif;
}

.container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}*/

.cardp {
  position: relative;
  display: flex;
  justify-content: center;
  cursor: pointer;
  width: 22em;
  max-width: 250px;
  padding: 2em 0;
  background: #FFF;
  box-shadow: 0 0 6px 0 rgba(32, 32, 36, 0.12);
  transition: all 0.35s ease;
}
.cardp::before, .cardp::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #e23131;
  height: 4px;
}
.cardp::before {
  width: 0;
  opacity: 0;
  transition: opacity 0 ease, width 0 ease;
  transition-delay: 0.5s;
}
.cardp::after {
  width: 100%;
  background: white;
  transition: width 0.5s ease;
}
.cardp .content {
  /* width: 18em; */
  max-width: 80%;
}
.cardp .logo {
  /* margin: 0 0 1em; */
  width: auto;
  transition: all 0.35s ease;
}
.cardp h6 {
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 2px;
}
.cardp .hover_content {
  overflow: hidden;
  max-height: 0;
  transform: translateY(1em);
  transition: all 0.55s ease;
}
.cardp .hover_content p {
  margin: 1.5em 0 0;
  color: #6E6E70;
  line-height: 1.4em;
}
.cardp:hover {
  width: 24em;
  box-shadow: 0 10px 20px 0 rgba(32, 32, 36, 0.12);
}
.cardp:hover::before {
  width: 100%;
  opacity: 1;
  transition: opacity 0.5s ease, width 0.5s ease;
  transition-delay: 0;
}
.cardp:hover::after {
  width: 0;
  opacity: 0;
  transition: width 0 ease;
}
.cardp:hover .logo {
  margin-bottom: 0.5em;
}
.cardp:hover .hover_content {
  max-height: 10em;
  transform: none;
}