@font-face {
	font-family: "Digital-7 Mono";
	src: url('fonts/digital-7-mono.ttf');
}

* {box-sizing: border-box;}
body {
	font-family: sans-serif;
	margin: 0px;
	overflow: hidden;
	background-color: whitesmoke;
}
#wrapper {
	position: fixed;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

button {
	display: block;
	position: relative;
	border: none;
	text-align: center;
}

.div-20 {
	position: relative;
	height: 20%;
}
.div-40 {
	position: relative;
	height: 40%;
}
.div-50 {
	position: relative;
	height: 50%;
}

.big {font-size: 3em;}
.vcenter {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}
.button_small {
	position: absolute;
	padding: 0.5em;
	background-color: white;
	color: black;
	font: bold 1em sans-serif;
	border: 1px solid gray;
	border-radius: .5em;
}

#titleDiv {
	background-color: gainsboro;
	border-bottom: 1px solid gray;
}
#title {
	margin: auto;
	text-align: center;
	font-size: 5vw;
	font-weight: bold;
}

#button_history {
	top: 2vw;
	right: 2vw;
}

#counterDiv {
	text-align: center;
	font-family: "Digital-7 Mono", monospace;
	font-size: 20vw;
	line-height: 1;
}
#counterDays {
	position: absolute;
	width: 100%;
	bottom: 0;
}
#counterHMS {
	position: absolute;
	width: 100%;
	top: 0;
}

#button_bite {
	top: 5%;
	margin: auto;
	background-color: #F44336;
	color: white;
	width: 80%;
	height: 90%;
	font: bold 16vw sans-serif;
	text-transform: uppercase;
	border-radius: 10vw;
}

#historyPanel {
	position: absolute;
	height: 96%;
	width: 98%;
	top: 2%;
	left: 100%;
	border: 2px solid gray;
	border-right: none;
	background-color: whitesmoke;
	border-radius: 1em 0 0 1em;
	transition: transform 0.5s ease;
}
#historyList {
	position: absolute;
	width: 100%;
	height: 100%;
	padding-left: 1em;
	padding-right: 2vw;
	overflow-y: scroll;
}
#historyList::-webkit-scrollbar {display: none;}
#history {font-family: Consolas, monospace;}

#button_hide {
	top: 2vw;
	right: 2vw;
	z-index: 1;
}

@media only screen and (orientation: landscape) {
	#titleDiv {display: none;}
	#counterDiv {height: 100%;}
	#buttonDiv {display: none;}
	#historyPanel {max-width: 20em;}
}
