html, body {
	background: #ffe0e4;
	color: #0029FF;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.75vw;
	line-height: 1;
}

@media (orientation: portrait) {

	html, body {
		font-size: 2.25vh;
	}

}


/* clock
================================================ */

#clock > div.static {
	transition: none !important;
}

#clock > div {
	display: flex;
	flex-wrap: nowrap;
}

#clock .line {
	display: block;
	overflow: hidden;
	padding-left: 0.75em;
	width: 100%;
}

#clock .txt {
	padding: 0 0.25em;
}

#cc, #ch, #cm, #cs {
	display: none;
	left: 50%;
	position: fixed;
	top: 47%;
	transform-origin: 0 50%;
	transition: transform 0.5s;
}

#cc {
	padding-left: 0;
	transform: translate(-50%, 0);
}

#ch {
	width: 30vh;
}

#cm {
	width: 42vh;
}

#cs {
	color: #FF0000;
	text-align: right;
	width: 45vh;
}

#cs .txt {
	left: auto;
	right: 0;
}

@media (orientation: portrait) {

	#ch {
		width: 30vw;
	}

	#cm {
		width: 42vw;
	}

	#cs {
		width: 45vw;
	}

}


/* counter
================================================ */

#counter {
	bottom: 1em;
	color: #065a09;
	font-size: 0.75em;
	left: 0;
	opacity: 0.7;
	position: fixed;
	text-align: center;
	width: 100%;
}

@media (orientation: portrait) {

	#counter {
		font-size: 0.8em;
	}

}