/* courier-prime-regular - latin */
@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/courier-prime-v7-latin-regular.eot");
  /* IE9 Compat Modes */
  src: local(""), url("../fonts/courier-prime-v7-latin-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/courier-prime-v7-latin-regular.woff2") format("woff2"), url("../fonts/courier-prime-v7-latin-regular.woff") format("woff"), url("../fonts/courier-prime-v7-latin-regular.ttf") format("truetype"), url("../fonts/courier-prime-v7-latin-regular.svg#CourierPrime") format("svg");
  /* Legacy iOS */
}
.card {
  width: 290px;
  height: 450px;
  position: relative;
  -webkit-perspective: 1000px;
          perspective: 1000px;
  max-width: 100%;
}
@media only screen and (min-width: 500px) {
  .card {
    width: 425px;
    height: 275px;
  }
}
.card__inner {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: -webkit-transform 0.35s ease-in-out;
  transition: transform 0.35s ease-in-out;
  transition: transform 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out;
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}
.card__inner:hover {
  cursor: pointer;
  -webkit-transform: rotate3d(0, 1, 0, 10deg);
          transform: rotate3d(0, 1, 0, 10deg);
}
.active .card__inner {
  -webkit-transform: rotate3d(0, 1, 0, 180deg);
          transform: rotate3d(0, 1, 0, 180deg);
}
.card__content {
  width: 100%;
  height: 100%;
  padding: 16px;
  position: absolute;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  justify-content: center;
  align-items: center;
  background: rgb(243, 242, 238);
  box-shadow: 0 0 3px rgba(255, 96, 57, 0.5), 3px 3px 12px rgba(0, 0, 0, 0.1);
}
.active .card__content {
  box-shadow: 0 0 3px rgba(255, 96, 57, 0.3), 3px 3px 12px rgba(0, 0, 0, 0.1);
}
.card__content--front {
  display: flex;
  justify-content: center;
  align-content: center;
}
.card__content--front:before {
  content: " ";
  width: 94px;
  height: 94px;
  border-radius: 50%;
  display: block;
  background: #ff6039 url(../images/dot.png) center center no-repeat;
  background-size: 105%;
  box-shadow: 2px -2px 1px rgba(255, 255, 255, 0.6), inset 1px -1px 1px rgba(0, 0, 0, 0.1), inset 1px -1px 3px rgba(0, 0, 0, 0.15);
}
.card__content--back {
  -webkit-transform: rotate3d(0, 1, 0, 180deg);
          transform: rotate3d(0, 1, 0, 180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Courier Prime", Courier, monospace;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.05rem;
}

.wrapper {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 20px;
}

h1 {
  font-size: 20px;
  margin: 0;
}
h1 > *:first-child:after {
  content: " ";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  display: inline-block;
  background-color: #ff6039;
  box-shadow: inset 1px 0px 3px rgba(255, 0, 0, 0.5), inset 0px 1px 2px rgba(255, 255, 255, 0.15);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease-out;
}
a:hover {
  color: #ff6039;
}

address {
  font-style: normal;
  border-top: 1px solid black;
  display: inline-block;
  margin-bottom: 0;
}
address > * {
  border-bottom: 1px solid black;
  display: block;
}
