
.test-board {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(12.5% - 15px), 1fr));
    grid-gap: 15px;
}

.memory-ui {
    height: 50px;
    margin: 3em 0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    background-color: rgba(255,255,255,0.65);
}
.memory-ui .memory-moves {
    display: flex;
}
.memory-ui .memory-matches {
    display: flex;
    align-items: center;
}

.memoryContainer {
      width: 1060px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }
    button {
      background: #00ad9f;
      border-radius: 4px;
      font-weight: 700;
      color: #fff;
      border: none;
      padding: 7px 15px;
      margin-left: 8px;
      cursor: pointer;
    }
    button:hover {
      background: #008378;
    }
    button:focus {
      outline: 0;
    }
    #cards {
      width: 100%;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
    }
    .card {
      width: 100px;
      height: 100px;
      margin-bottom: 20px;
      margin-right: 20px;
      margin-left: 20px;
    }

@media only screen and (max-width: 600px) {
    .card {
        width: 80px;
        height: 80px;
        margin-bottom: 40px;
        margin-right: 20px;
        margin-left: 20px;
      }

      .c {
        position: absolute;
        max-width: 80px;
        max-height: 80px;
        width: 50ch;
        height: 50ch;
        cursor: pointer;
      }
}
    

    .c {
      position: absolute;
      max-width: 100px;
      max-height: 100px;
      width: 50ch;
      height: 50ch;
      cursor: pointer;
    }

    .front,
    .back {
      background-size: cover;
    }

    .back {
      background-image: url(https://images.unsplash.com/photo-1597113366853-fea190b6cd82?w=900&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8d29vZHxlbnwwfHwwfHx8MA%3D%3D);
    }
