* {
	box-sizing: border-box;
}

body {
	margin: 10px;
	background-color: #F3F3F3;
	transition: background-color .5s;
}

body.sleeping {
	background-color: #17272A;
}

button {
	/*margin-left: 450px;*/
	padding: 10px;
	cursor: pointer;
	background-color: #9EEDFF;
	transition: background-color .2s;
}

button:hover {
	background-color: #FEFF9E;
}

button:active {
	background-color: #B6D4DA;
}

.main {
	display: flex;
	align-items: center;
	margin-top: 300px;
	margin-left: 220px;
}

#add {
	margin-left: 600px;
}

#subtract {
	margin-left: 150px;
}

.dog {
	margin-left: 20px;
	width: 170px;
	opacity: 0;
	position: relative;
}

.sleepy {
	width: 300px;
	opacity: 1;
	z-index: 1;
	position: fixed;
	top: 40%;
	left: 40%;
}


.hide {
	display: none;
}

.dog.spin {
	animation-play-state: running;
	animation: spin infinite 2s;
}

#dance {
	bottom: 30px;
	right: 30px;
	position: fixed;
}

#sleep {
	bottom: 30px;
	left: 30px;
	position: fixed;
}

.draggable {
	cursor: grab;
}

@keyframes spin {
	0% {
		transform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}



















