
:root {
	--felt_col: #35654d;
	--chalk_col: white;
	--board_border_col: darkbrown;
}

.felt {
	color: var(--chalk_col);
	background-color: var(--felt_col);
	font-family: var(--font_hand);
}

.peg_bank {
	display: flex;
	gap: 1.5rem;
	padding: 1rem 2rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	min-height: 50px;
	align-items: center;
}

.peg {
	width: 20px;
	height: 20px;
	cursor: grab;
	transition: transform 0.15s ease;
	user-select: none;
}

.peg.dragging {
	transform: scaleX(-1) scale(1.15);
	opacity: 0.85;
	cursor: grabbing;
}

.board_container {
	position: relative;
	width: 100%;
	max-width: 95vw;
	border: 4px solid var(--board_border_col);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.board {
	display: block;
	width: 100%;
	height: auto;
	pointer-events: none;
}

.hole {
	position: absolute;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	border: 2px dashed rgba(255, 255, 255, 0.5);
	background-color: rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s, transform 0.15s;
}

.hole.drag-over {
	background-color: rgba(255, 235, 59, 0.6);
	border-color: white;
	transform: translate(-50%, -50%) scale(1.2);
}

.hole .peg {
	position: relative;
	top: -12px;
	pointer-events: auto;
}
