* {
	font-family: 'Space Mono', monospace;
}

body,
html {
	padding: 0;
	margin: 0;
	color: #111111;
	overflow: auto;
	/* Hide scrollbars */
}

h1 {
	text-align: center;
	margin-top: 5vh;
	margin-bottom: 5vh;
	font-size: xx-large;
}

footer {
	text-align: center;
}

a {
	text-decoration: none;
	color: inherit;
	font-size: initial;
}

video {
	width: 1px;
	height: 1px;
}

#unit {
	max-width: inherit;
	height: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: 2px solid;
	border-top: 0px;
	border-color: #ececec;
	background: #ececec;
	text-align: center;
	color: #111111;
	margin: 0px;
	font-size: small;
}

.view {
	margin: auto;
	text-align: center;
	max-width: 300px;
}

.selector {
	margin-top: 20px;
	margin-bottom: 15px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.cupBack {
	height: 300px;
	margin-top: 5vh;
	margin-bottom: 5vh;
	display: grid;
	padding: 0px;
}

.cupFront {
	filter: blur(1px);
	border: 10px solid #ececec25;
	border-top-width: 0px;
	border-radius: 10px 10px 100px 100px;
	box-shadow: 0 0 0 2px transparent, 0 10px 25px #111111;
	margin: 0px;
	grid-row: 1;
	grid-column: 1;
}

.wave {
	height: 300px;
	margin: 0px;
	border-radius: 0px 0px 100px 100px;
	grid-row: 1;
	grid-column: 1;
	background-size: 45% 100%;
	background: url('https://mistyblue.tech/caffeinate/coffee.png') repeat-x;
	animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
	filter: blur(2px) brightness(110%);
}

.wave:nth-of-type(2) {
	animation-delay: 1s;
	animation-direction: reverse;
	filter: blur(1px);
}

@keyframes wave {
	0% {
		background-position-x: 0;
	}

	100% {
		background-position-x: -1000px;
	}
}

/* input number */
input {
	max-width: inherit;
	height: 30px;
	border: 2px solid;
	border-bottom: 0px;
	border-color: #ececec;
	outline: none;
	background: #ececec;
	border-radius: 20px 20px 0px 0px;
	text-align: center;
	color: #111111;
	font-size: 30px;
}

input::placeholder {
	font-size: small;
	color: #1111117a;
}

/* button */
button {
	max-width: inherit;
	height: 50px;
	border: 0px;
	outline: none;
	background: #111111;
	border-radius: 0px 0px 20px 20px;
	text-align: center;
	color: #ececec;
	font-size: 15px;
}

#caffeinate {
	color: #ececec;
	background: #111111;
	font-weight: 400;
	text-decoration: none;
}

#caffeinate:hover {
	border-color: #ececec;
	border: 4px solid;
	background: #111111;
	color: #ececec;
	transition: all 0.3s ease-in-out;
}

#caffeinate:focus {
	border-color: #ececec;
	background: #111111;
	border: 2px solid;
	color: #ececec;
	transition: all 0.3s ease-in-out;
}

@media only screen and (max-height: 770px) {
	h1 {
		margin-top: 1vh;
		margin-bottom: 1vh;
	}

	.cupBack {
		margin-top: 1vh;
		margin-bottom: 5vh;
	}
}

@media only print {
	html {
		display: none;
	}
}