/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/* My Style */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  background-color: #fefefe;
  color: #343434; }

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; }

.content {
  max-width: 1024px;
  padding: 15px 0;
  margin: 0 auto; }

.memory-card {
  float: left;
  display: inline-block;
  padding: 8px;
  cursor: pointer; }

@supports (display: grid) {
  .memory-game-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    grid-gap: 15px; }
    @media (min-width: 50em) {
      .memory-game-content {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; } }
  .memory-card {
    position: relative;
    padding: 0; }
    .memory-card img {
      display: block;
      width: 100%;
      height: auto; } }

.memory-card .card-front {
  display: none; }

.memory-card.active .card-front, .memory-card.match .card-front {
  display: block; }

.memory-card.active .card-back, .memory-card.match .card-back {
  display: none; }

.memory-game-footer {
  padding: 3em 0; }

.btn {
  background: #6b952b;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#6b952b), to(#516c26));
  background-image: linear-gradient(to bottom, #6b952b, #516c26);
  border-radius: 1em;
  color: #ffffff;
  font-size: 1.25em;
  padding: 0.66em 1.2em 0.66em 1.2em;
  border: solid #5e7f2c 2px;
  text-decoration: none; }
  .btn:hover {
    cursor: pointer;
    background: #94c943;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#94c943), to(#7ba53a));
    background-image: linear-gradient(to bottom, #94c943, #7ba53a);
    text-decoration: none; }

.memory-game-result-box {
  text-align: right; }

@supports ((display: -webkit-box) or (display: flex)) {
  .memory-game-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; }
    .memory-game-footer > .btn {
      -webkit-box-flex: 0;
          -ms-flex: 0 1 auto;
              flex: 0 1 auto; }
    .memory-game-footer > .memory-game-result-box {
      -webkit-box-flex: 1;
          -ms-flex: 1 1 auto;
              flex: 1 1 auto;
      margin-left: 2em; }
      .memory-game-footer > .memory-game-result-box > div {
        text-align: center;
        border-radius: 1em;
        border: solid #5e7f2c 2px;
        padding: 1em; } }

#hidden-cards {
  display: none; }
/*# sourceMappingURL=jess-memory.css.map */