
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #F8F6EF;
  font-family: 'Patrick Hand', cursive;
  color: #344B3B;
}

.activity {
  text-align: center;
  padding: 12px;
}

h2 {
  font-family: 'Patrick Hand', cursive;
  font-size: 34px;
  font-weight: 400;
  margin: 5px;
  color: #344B3B;
}

svg {
  display: block;
  width: 100%;
  max-width: 650px;
  margin: auto;
  overflow: visible;
  touch-action: none;
}

#movingBeam {
  transform-box: view-box;
  transform-origin: 300px 108px;
  transition: transform 0.4s ease;
}

.apple {
  cursor: grab;
  touch-action: none;
}

.apple:active {
  cursor: grabbing;
}

.numbers {
  display: flex;
  justify-content: space-around;
  max-width: 450px;
  margin: 5px auto 12px;
  font-size: 25px;
  font-family: 'Patrick Hand', cursive;
}

button {
  border: 2px solid #B78332;
  border-radius: 12px;
  background: #F1DFB6;
  color: #594321;
  padding: 10px 18px;
  margin: 5px;
  font-family: 'Patrick Hand', cursive;
  font-size: 21px;
  cursor: pointer;
}

button:hover {
  background: #E8C36F;
}

#result {
  font-family: 'Patrick Hand', cursive;
  font-size: 25px;
  font-weight: 400;
}

.hint {
  font-family: 'Patrick Hand', cursive;
  font-size: 20px;
  color: #718273;
}
