@import url('https://fonts.googleapis.com/css?family=Roboto');

* {
	box-sizing: border-box;
}

body{
	background-color: DarkSlateGray;
	background-image: url("img/background1.svg");
	font-family: Roboto, Arial, sans-sherif;
	width: 100%;
	height: 100%;
	color: white;
}

form{
	position: absolute;
	top: 50%;
	width: 100%;
	font-size: 25px;
	text-align: center;
	z-index: 1;
}
input {
	background-color: DarkSlateGray;
	color: white;
	font-size: 35px;
	width: 60px;
	height: 50px;
	border: none;
	text-align: center;
}

a {
	outline: 0;
}

h1{ 
	text-shadow: 3px 3px DarkSlateGray; 
}

#countdown {
	position: relative;
	margin: auto;
	margin-top: 20px;
	height: 60%;
	width: 60%;
	text-align: center;
	vertical-align: middle;
}

#button-text {
	position: absolute;
	width: 100%;
	text-align: center;
	color: white;
	z-index: 1;
	pointer-events: none;
	font-size: 30px;
	top: 65%;
}

#stop{
	display: none;
}

#resume{
	display: none;
}

#reset{
	position: absolute;
	background-color: DarkSlateGray;
	color: white;
	font-size: 20px;
	width: 100px;
	border: 2px solid white;
	border-radius: 5px;
	padding: 5px;
	top:92%;
	left:45%;
	display: none;
}

/* ----- SVG ----- */
svg {
	position: relative;
	width: 500px;
	height: 500px;
	margin:  0px;
	transform: rotateY(-180deg) rotate(-90deg);
}

svg #circle{
	stroke: white; 
	stroke-width: 15; 
	stroke-dasharray: 1100px;
	stroke-dashoffset: 0px;
	stroke-linecap: round;
	fill: none;
}

#start, #stop, #resume{
	fill: DarkSlateGray;
}

@keyframes countdown {
	from {
		stroke-dashoffset: 1100px;
	}
	to {
		stroke-dashoffset: 2200px;
	}
}

@keyframes blink {
	50% {
		opacity: 0;
	}
}