@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body{
	width: 100%;
	padding: 0;
	margin: 0;
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 400;
	background: #f9f9f9;
	color: #333;
}

.outer{
	margin: 32px auto;
	padding: 0 40px;
}

.inner {
	max-width: 320px;
	margin: 0 auto;
	position: relative;
	text-align: center;
}

h1{
	font-size: clamp(8px, 10vw, calc(3.2px * 10));
	width: fit-content;
	display: inline-block;
	margin: 0 auto;
}

.timer-svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

#timer-bg, #timer-pro {
	fill: none;
	stroke: #ccc;
	stroke-width: 5;
	stroke-linecap: round;
	position: relative;
}

.timer-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

#state {
	font-size: clamp(5px, 8vw, calc(3.2px * 8));
}

#display {
	font-size: clamp(10px, 16vw, calc(3.2px * 16));
	font-weight: 700;
	margin-top: -10px;
}

button {
	appearance: none;
	-webkit-appearance: none;
	border: none;
	outline: none;
	font: inherit;

	padding: 10px 18px;
	border-radius: 8px;
	width:40%;
	margin: 0 3%;
	background: #eee;
	color: #333;
	cursor: pointer;
	transition: all 0.2s ease;
}

button:disabled {
	opacity: 0.4;
}

/*
.buttons button {
	font-size: 16px;
	padding: 8px 16px;
	margin: 4px;
	border-radius: 9999px;
}
*/