.chewy-regular {
  font-family: "Chewy", system-ui;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: chewy, Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  text-align: center;
  box-sizing: border-box;
  align-content: center;
}

.counter {
  display: inline-flex;
  text-align: center;
  font-size: 48px;
}

.counter #correctAnswers {
  padding-left: 10px;
}

.operation {
  font-size: 24px;
  font-weight: bold;
}

#operator {
  padding-right: 48px;
}

#operation-display {
  min-width: 240px;
  max-width: 320px;
  width: calc(24vw + 16px);
  margin-left: auto;
  margin-right: auto;
  text-align: end;
  border: 9px solid;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 15px;
}

#operation-display div {
  font-size: clamp(96px, calc(9vw + 16px), 128px); /* min 96px & max 128px*/
}

#divider {
  margin-bottom: -36px;
  margin-top: -72px;
}

.canvas-container {
  display: inline-block;
}

canvas {
  border: 2px solid #000;
  border-radius: 15px;
  width: 120px;
  height: 120px;
}

input[type="number"] {
  text-align: center;
  font-size: 96px;
  border-radius: 15px;
  border: 1px solid rgb(204, 204, 204);
  font-family: chewy, Arial, sans-serif;
  width: 120px;
  height: 120px;
}

.buttons {
  margin-top: 10px;
}

button {
  margin: 0 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 15px;
  font-weight: 600;
  width: 100px;
  height: 50px;
}

#clear {
  background: #fddf17;
  border: 1px solid #fddf17;
  color: white;
}

#clear:active {
  background: #e0c303;
  border: 1px solid #e0c303;
  color: white;
}

#check {
  background: #45cf8e;
  border: 1px solid #45cf8e;
  color: white;
}

#check:active {
  background: #119356;
  border: 1px solid #119356;
  color: white;
}

#message {
  margin-top: 10px;
  font-size: 18px;
  color: red;
}