body {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  background: #fff3e0;
  text-align: center;
  margin: 0;
  padding: 0;
}


/* Header */
header {
  background: #edcb0c;
  color: #b51515;
  padding: 20px;
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Emoji explanation box */
.emoji-note {
  font-size: 1.5rem;
  line-height: 2;
  background: #fff3e0;
  border: 3px solid #ffa726;
  padding: 16px;
  border-radius: 12px;
  margin: 20px auto;
  
}

/* Simulation layout: flex row */
.main-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 20px;
  flex-wrap: wrap;
  width: 100%;
}

/* Make double road horizontal */
.double-road {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

/* Each road container */
.road-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.road-container label {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
}

/* Road style */
.road {
  width: 600px;
  height: 500px;
  background: url('./image/background.png');
  background-size: cover;
  background-position: center;
  border: 2px solid #999;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Box styling */
.box {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 70px;
  transition: left 2s ease-in-out;
}

/* Control panel styling */
.control.kinetic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #d9f48e;
  border-radius: 10px;
  border: 2px solid #a6c756;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  padding: 20px;
  height: 400px;
  justify-content: center;
  margin-top: 45px;
}

input[type="number"] {
  padding: 6px;
  width: 120px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

button {
  padding: 8px 16px;
  font-size: 1rem;
  background: #3e4e5e;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #2c3e50;
}
