html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}

:root {
	--pomodoro: hsl(96, 88%, 40%);
	--shortBreak: hsl(48, 73%, 51%);
	--longBreak: hsl(0, 89%, 32%);
}

body {
	background-color: var(--pomodoro);
	transition: background-color 1s ease;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
		Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	user-select: none;
}

progress {
	border-radius: 6px;
	width: 100%;
	height: 40px;
	position: fixed;
	top: 0;
}

progress::-webkit-progress-bar {
	background-color: rgba(107, 75, 75, 0.1);
}

progress::-webkit-progress-value {
	background-color: rgb(216, 69, 32);
}

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

.clock {
	margin-top: 50px;
	margin-bottom: 30px;
	font-size: 15rem;
	line-height: 1;
	display: flex;
	align-items: center;
	font-family: arial, sans-serif;
}

.mode-button {
	font-size: 16px;
	height: 28px;
	cursor: pointer;
	box-shadow: none;
	font-weight: 300;
	color: #fff;
	border: 1px solid transparent;
	margin: 0px;
	border-radius: 4px;
	padding: 2px 12px;
	background: none;
}

.mode-button.active {
	border-color: rgb(166, 172, 204);
}

.main-button {
	cursor: pointer;
	box-shadow: rgb(181, 180, 238) 0px 6px 2px;
	font-size: 22px;
	height: 55px;
	text-transform: uppercase;
	color: hsl(236, 26%, 41%);
	font-weight: bold;
	width: 200px;
	background-color: rgb(213, 212, 240);
	border-width: initial;
	border-style: none;
	margin: 20px 0px 0px;
	padding: 0px 12px;
	border-radius: 4px;
	transition: color 0.5s ease-in-out 0s;
}

button:focus,
button:active {
	outline: none;
}

.main-button.active {
	transform: translateY(6px);
	box-shadow: none;
	outline: none;
}

.hidden {
	display: none;
}

@media screen and (max-width: 550px) {
	.clock {
		font-size: 8rem;
	}
}
