* {
	margin: 0;
	padding: 0;
	justify-content: center;
}

:root {
	--pomodoro: #f7bb97;
	--longBreak: #d76d77;
	--shortBreak: crimson;
	--clock-color1: white;
	--clock-color2: #d0f9ff;
}

body {
	background: var(--pomodoro);
	width: 100%;
	overflow: hidden;
	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;
	box-sizing: border-box;
}

.timer {
	position: absolute;
	background-color: #e29587;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	border: 10px solid white;
	border-radius: 10%;
	width: 500px;
}

.clock {
	margin-top: 50px;
	margin-bottom: 50px;
	font-size: 100px;
	line-height: 1;
	display: flex;

	align-items: center;
	font-family: arial, sans-serif;
	transition: text-shadow 1s;
}

.clock:hover {
	/* text-shadow: inset 0 0 60px whitesmoke, inset 20px 0 80px #f0f, inset -20px 0 80px #0ff, inset 20px 0 300px #f0f, inset -20px 0 300px #0ff, 0 0 50px #fff, -10px 0 80px #f0f, 10px 0 80px #0ff; */
	text-shadow: 0 0 5px var(--clock-color1), 0 0 5px var(--clock-color1),
		0 0 5px var(--clock-color2), 0 0 5px var(--clock-color2);
}
.mode-buttons {
	margin-top: 40px;
	margin-bottom: 40px;
	display: flex;
	justify-content: space-evenly;
}
.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;
	transition: transform 0.5s;
}

.mode-button:hover {
	box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
		0 17px 50px 0 rgba(0, 0, 0, 0.19);
	transform: scale(1.1, 1.1);
	color: #038b31;
	background-color: white;
}
.mode-button.active {
	box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
		0 17px 50px 0 rgba(0, 0, 0, 0.19);
	transform: scale(1.1, 1.1);
	color: #d5d8d6;
	background-color: #2b2424;
}

.main-button {
	cursor: pointer;
	box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
		0 17px 50px 0 rgba(0, 0, 0, 0.19);
	font-size: 20px;
	height: 50px;
	text-transform: uppercase;
	font-weight: bold;
	background-color: white;
	border-style: none;
	padding: 0px 12px;
	border-radius: 4px;
	transition: color 0.4s ease-in-out 0s;
	transition: box-shadow 2s, transform 1s;
}

.main-button:hover {
	transform: scale(1.3, 1.3);
	color: #50b6cf;
	background-color: #05386b;
}

button:focus,
button:active {
	outline: none;
}

.main-button.active {
	transform: translateY(6px);
	box-shadow: none;
	outline: none;
	transition: box-shadow 1s, transform 1s;
}

.main-button.active:hover {
	box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
		0 17px 50px 0 rgba(0, 0, 0, 0.19);
	transform: scale(1.3, 1.3);
	color: #5cdb95;
	background-color: #05386b;
}

.hidden {
	display: none;
}

@media screen and (max-width: 550px) {
	.clock {
		font-size: 8rem;
	}
}
