.artboard {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row;
          flex-flow: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
  position: relative;
}

.thecard {
  cursor: default;
  -webkit-box-flex: initial;
      -ms-flex: initial;
          flex: initial;
  position: relative;
  height: 25rem;
  width: 15rem;
  margin: 1.2rem 1.2rem;
  -webkit-perspective: 200rem;
          perspective: 200rem;
}

.thecard__side {
  height: 25rem;
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-backface-visibility: hidden;
  /* We don't want to see the back part of the element. */
  backface-visibility: hidden;
  /* We don't want to see the back part of the element. */
  border-radius: 3px;
  overflow: hidden;
  /* The image is overflowing the parent. */
  -webkit-box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
          box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
}

.thecard__side--front {
  background-image: -webkit-gradient(linear, left top, right bottom, from(rgba(0, 3, 19, 0.65)), to(rgba(0, 31, 88, 0.7))), url(https://cdn.spacetelescope.org/archives/images/screen/heic0406a.jpg);
  background-image: linear-gradient(to right bottom, rgba(0, 3, 19, 0.65), rgba(0, 31, 88, 0.7)), url(https://cdn.spacetelescope.org/archives/images/screen/heic0406a.jpg);
}

.thecard__side--back {
  background-color: #fff;
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.thecard:hover .thecard__side--back {
  -webkit-transform: rotateY(0);
          transform: rotateY(0);
}

.thecard:hover .thecard__side--front {
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.thecard__theme {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  top: 54%;
  width: 90%;
  text-align: center;
}

.thecard__theme-box {
  color: #fff;
  margin-bottom: 8rem;
}

.thecard__subject {
  font-family: "Inconsolata", monospace;
  letter-spacing: 0.8rem;
  font-size: 1rem;
  text-transform: uppercase;
  padding-top: 2rem;
  margin: 1rem 0;
}

.thecard__title {
  font-family: "VT323", monospace;
  text-transform: uppercase;
  font-size: 1.8rem;
  font-weight: 100;
}

.thecard__cover {
  position: relative;
  background-size: cover;
  height: 5rem;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  background-image: -webkit-gradient(linear, left bottom, right top, from(rgba(0, 3, 19, 0.65)), to(rgba(0, 31, 88, 0.65))), url(https://cdn.spacetelescope.org/archives/images/screen/heic0406a.jpg);
  background-image: linear-gradient(to top right, rgba(0, 3, 19, 0.65), rgba(0, 31, 88, 0.65)), url(https://cdn.spacetelescope.org/archives/images/screen/heic0406a.jpg);
}

.thecard__heading {
  text-align: center;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 90%;
}

.thecard__heading-span {
  font-family: "VT323", monospace;
  font-size: 2.1rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #fff;
}

.thecard__details li {
  text-align: left;
  margin: 1rem 1rem 1rem 2.5rem;
  color: #333;
  font-size: 1rem;
  font-weight: 700;
}

@media only screen and (max-width: 37.5em), only screen and (hover: none) {
  .thecard {
    height: auto;
    width: 70vw;
    border-radius: 3px;
    background-color: #fff;
    -webkit-box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
            box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
  }
  .thecard__side {
    height: auto;
    position: relative;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .thecard__side--front {
    -webkit-clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
            clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
  }
  .thecard__side--back {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
  }
  .thecard:hover .thecard__side--front {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
  }
  .thecard__details {
    padding: 2.5rem 1rem;
  }
  .thecard__theme {
    position: relative;
    top: 0;
    left: 0;
    -webkit-transform: translate(0);
            transform: translate(0);
    width: 100%;
    padding: 0rem 2rem .5rem 2rem;
    text-align: right;
  }
  .thecard__theme-box {
    margin-bottom: 1.5rem;
  }
  .thecard__subject {
    font-size: .7rem;
    letter-spacing: .3rem;
  }
  .thecard__title {
    font-size: 1.5rem;
  }
}
/*# sourceMappingURL=card.css.map */