*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body, html {
	width: 100%:;
	height: 100%;
}

.wrap {
	background: hsl(173, 44%, 15%);
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.wrap .table {
	width: 800px;
	aspect-ratio: 4/2.5;
	background: linear-gradient(135deg, hsl(177, 62%, 29%), hsl(177, 62%, 19%));
	border-radius: 8px;
	box-shadow: 2px 2px 3px hsla(177, 62%, 59%, 30%) inset,
				-2px -2px 3px hsla(177, 62%, 0%, 30%) inset,
				5px 5px 10px hsla(173, 44%, 13%, 40%);
}

.wrap .table .table-container {
	position: relative;
	width: calc(100% - 40px);
	height: calc(100% - 40px);
	margin: 20px auto;
	background: hsl(169, 28%, 81%);
	border-radius: 8px;
	box-shadow: -2px -2px 3px hsla(177, 62%, 0%, 30%),
				 3px 3px 5px hsla(177, 62%, 0%, 50%) inset,
				 3px 3px 5px hsla(177, 62%, 60%, 35%);
	background-image: linear-gradient(
		to bottom,
		hsl(174, 28%, 63%) 0 50%,
		hsl(174, 28%, 78%) 50% 100%
	);
	background-repeat: repeat-y;
	background-size: calc(100% / 41) calc(100% / 19);
	background-position: calc((100% / 40) * (40 / 2)) 0;
	overflow: hidden;
}

.wrap .level {
	font-size: 18px;
	letter-spacing: 1px;
	color: hsl(176, 60%, 81%);
	background-color: hsla(176, 50%, 61%, 50%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 5px;
	font-weight: 600;
	width: fit-content;
	box-shadow: 0 0 3px 4px hsla(176, 50%, 61%, 40%) inset;
}

.wrap .scoreboard {
	width: fit-content;
	height: auto;
	display: grid;
	border-radius: 5px;
	grid-template-columns: 1fr 1fr;
	background-color: hsl(169, 28%, 81%);
	overflow: hidden;
}

.wrap .scoreboard div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-color: transparent transparent hsl(173, 44%, 15%) transparent;
}
.wrap .scoreboard div h5:first-child {
	padding: 5px 15px;
	width: 100%;
	text-align: center;
	background-color: hsl(173, 32%, 45%);
	color: hsl(173, 44%, 15%);
	font-size: 18px;
}

.wrap .scoreboard div:first-child h5{
	border-right: 0.5px solid hsl(173, 44%, 35%);
}

.wrap .scoreboard div:last-child 25{
	border-left: 0.5px solid hsl(173, 44%, 35%);
}

.wrap .scoreboard div h5:last-child {
	padding: 5px 10px;
	font-size: 25px;
	width: 100%;
	text-align: center;
	color: hsl(173, 44%, 18%);
}

.wrap .table .table-container .ball {
	position: absolute;
	top: calc(50% - 9px);
	left: calc(50% - 9px);
	background: hsl(5, 58%, 50%);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	box-shadow: 1px 1px 2px hsla(5, 58%, 80%, 50%) inset,
				-1px -1px 2px hsla(5, 58%, 30%, 60%) inset,
				1px 1px 2px rgba(0,0,0,0.4);
}

.wrap .table .table-container .paddle {
	position: absolute;
	width: 20px;
	height: 90px;
	border-radius: 1px 6px 6px 1px;
	background-color: hsl(184, 59%, 15%);
	box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
	top: calc(50% - 45px);
}

.wrap .table .table-container .paddle.computer {
	right: 0;
	rotate: 180deg;
	box-shadow: none;
	transition: 100ms linear;
}

