@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik+Mono+One&display=swap');
* {
    box-sizing: border-box !important;
    transition: all 0.1s;

    user-select: none;
}

body {
    background: #fdfdfd;
    font-family: "Montserrat", sans-serif;
}

main {
    margin: auto;
    text-align: center;
    padding: 0px;
    max-width: 400px;
}

h1::after {
    content: "Beta";
    font-size: 12px;
}

.row {
    margin-bottom: 8px;
}

.row:nth-child(even) {
    background: lightgray;
}

.cell {
    background: whitesmoke;
    display: inline-block;

    border-radius: 4px;
    border: 2px solid black;
    
    width: 38px;
    height: 40px;
    font-size: 28px;
    margin: 1px;

    background: gold;
    text-align: center;
    font-weight: bold;
}

.incorrect {
    background: gold;
}

.close {
    background: white;
}

.correct {
    color: black;

    pointer-events: none;
    border: 2px solid transparent;
    background: transparent;
}

.cell:hover,
.cell.selected {
    transform: scale(1.05);
    box-shadow: 0px 4px 4px rgba(0,0,0,0.4);
}

.cell.swapping {
    transform: scale(0.8);
}

@media only screen and (min-width: 600px) {
    main {
      transform: scale(1.5);
      transform-origin: top center;
    }
  }