* {
  font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console",
    "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
    "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier,
    monospace;
    box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}

body {
  background-image: linear-gradient(
    to bottom right,
    #ff9800,
    #ffa726
  );
}

.blue { color: #29b6f6; }
.green { color: #9ccc65; }
.purple { color: #ba68c8; }
.cyan { color: #4dd0e1; }
.red { color: #ef5350; }

.content {
  width: 100%;
  min-height: 100vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  perspective: 150rem;
  position: relative;
  width: 42rem;
  height: 21rem;
}

.card__side {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: all 0.8s ease;
  backface-visibility: hidden;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}

.card__side--front {
  background-color: #1c1c1c;
}

.card__side--back {
  background-color: #1c1c1c;
  transform: rotateY(180deg);
}

.card:hover .card__side--front {
  transform: rotateY(-180deg);
}

.card:hover .card__side--back {
  transform: rotateY(0);
}

.card__cont {
  width: 100%;
  height: 100%;
  background-color: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__cta {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  color: white;
  transform: translate(-50%, -50%);
}

.card__cta p {
  margin-left: 1rem;
}

.card__cta p > .space {
  margin-left: 2rem;
}

@media (max-width: 768px) {
  .card {
    width: 95vw;
    height: 14rem;
    max-width: none;
  }

  .card__side,
  .card__cont {
    height: 14rem;
  }
  .card__cta {
font-size: clamp(0.7rem, 2vw, 1rem);
}
}