* {
  box-sizing: border-box;
}

#cardsContainer {
  max-width: 96%;
  margin: 0 auto;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.card {
  border: 2px solid rgb(96 139 168);
  border-radius: 5px;
  background-color: rgb(255 255 255);
  padding: 0px;
  display: flex;
  justify-content: center;
}

.card svg {
  padding: 8px;
  max-width: 96%;
  max-height: 96%;
}

.card-selected {
  border: 2px solid rgb(255 0 0);
  background-color: rgb(255 20 20 / 0.2);
}

#foundContainer p {
  margin-bottom: 4px;
}

#foundStrip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.found-set-slot {
  display: flex;
  flex-direction: column;
  border: 1px solid black;
  min-width: 80px;
  flex-shrink: 0;
}

.found-card {
  border: 1px solid #ccc;
  min-height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.found-card svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (width <600px) {
  #cardsContainer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card svg {
    padding-left: 2px;
    padding-right: 2px;
  }
}

@media (width >900px) {
  .container {
    max-width: 900px;
  }
}
