 .memory-card {
      width: 100px;
      height: 100px;
      margin: 10px;
      background: #d8f5cf;
      display: inline-block;
      border: 1px solid #80e060;
      cursor: pointer;
      position: relative;
    }
    .memory-card img {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      display: none;
    }
    .flipped img {
      display: block;
    }