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

:root {
	--degrees: 0deg;
	--primary-color: #aaf;
}

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

#home {
    background-color: #000a;
    border-color: #555;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 5px 5px #000a;
    cursor: pointer;
    fill: #fff;
    height: 30px;
    right: 1rem;
    padding: 5px;
    position: fixed;
    bottom: 1rem;
    width: 30px;
    z-index: 99;
}

body {
    background-color: #222;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-family: 'Ubuntu', sans-serif;
    height: 100vh;
    overflow: hidden;
    place-content: center;
    place-items: center;
} 
.container {
	background-color: #111;
	border-radius: 5px;
	box-shadow: 0 1px 10px #000;
	padding: 4rem;
	text-align: center;
}

.conic {
	background: conic-gradient(
		transparent 0deg,
		transparent var(--degrees),
		white var(--degrees),
		white 360deg
	);
	border-radius: 100%;
	height: 200px;
	margin: 2rem auto;
	position: relative;
	width: 200px;
}

.timer {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9;
}

.timer p {
	color: var(--primary-color);
	display: inline-block;
	font-size: 3rem;
}

.timer--container {
	--dist: -20%;

	display: inline-block;
	position: relative;
}

.timer--container .gauge {
	background-color: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 1.2rem;
	left: 50%;
	position: absolute;
	top: var(--dist);
	transform: translate(-50%, -50%);
}

.timer--container .minus {
	top: calc(100% - var(--dist));
}

.inner {
	aspect-ratio: 1 / 1;
	background-color: #111;
	border-radius: 100%;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 98%;
}

.hand {
	height: 50%;
	left: 50%;
	position: absolute;
	top: 0;
	transform-origin: bottom center;
	transform: translateX(-50%)
						 rotate(var(--degrees));
}

.hand span {
	aspect-ratio: 1 / 1;
	background-color: #fff;
	border-radius: 100%;
	box-shadow: 0 0 2px #fff;
	left: 50%;
	position: absolute;
	top: 1px;
	transform: translate(-50%, -50%);
	width: 0.4rem;
}

.buttons {
	display: flex;
	gap: 1.5rem;
	place-content: center;
}

.btn {
	background-color: var(--primary-color);
	border: none;
	border-radius: 100%;
	cursor: pointer;
	display: flex;
	height: 2rem;
	place-content: center;
	place-items: center;
	width: 2rem;
}

.play {
	background-color: #7f7;
}

.stop {
	background-color: #f77;
}

.hidden {
	display: none;
}


