body {
  font-family: Arial, sans-serif;
  padding: 20px;
  margin: 0;
  background-color: #fafafa;
}

textarea {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  margin-bottom: 10px;
  font-size: 16px;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  margin-bottom: 20px;
  cursor: pointer;
}

#bingotitle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  max-width: 100%;
}

#bingoCard {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  max-width: 100%;
}

.cell {
  aspect-ratio: 1 / 1;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  background-color: #f0f0f0;
  font-size: clamp(12px, 4vw, 18px);
  text-align: center;
  padding: 5px;
  box-sizing: border-box;
}

.titlecell {
  aspect-ratio: 1 / 1;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background-color: grey;
  font-size: clamp(12px, 4vw, 18px);
  text-align: center;
  padding: 5px;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  #bingotitle {
	gap: 3px;
  }
  #bingoCard {
    gap: 3px;
  }
  
  button {
    width: 100%;
  }
}

@media print {
  body {
    background: white;
    color: black;
    font-size: 5pt;
    margin: 0;
    padding: 0;
  }

  textarea, button {
    display: none; /* Hide input and button when printing */
  }
