/* CSS by Gramkraxor */

#footer {
	font-family: 'Ubuntu Mono', 'Roboto Mono', 'Droid Sans Mono', 'Consolas', monospace;
	font-weight: 400;
	position: absolute;
	bottom: 8px;
	left: 0;
	right: 0;
	color: inherit;
	opacity: 0;
	font-size: 12px;
	line-height: 12px;
	text-align: center;
	transition: opacity 1s;
}

#settings:hover ~ #footer {
	opacity: 0.5;
}

* {
	font-family: 'Ubuntu Mono', 'Consolas', monospace;
}

body {
	color: #000000;
	font-size: 96px;
	line-height: 96px;
	font-weight: 400;
	text-decoration: none;
	text-align: center;
	margin: 0;
	background: #FFFFFF;
}

body.dark {
	color: #FFFFFF;
	background: #000000;
}

::selection {
	color: #000000;
	background: #C0C0C0;
}

::-webkit-scrollbar, ::-webkit-scrollbar-corner {
	width: 12px;
	height: 12px;
	background: #FFFFFF;
}

::-webkit-scrollbar-thumb {
	background: #000000;
}

#clock {
	display: flex;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	/*background: #FF80FF;*/
}

#face {
	position: relative;
	margin: auto;
	min-width: 384px;
	padding: 36px;
	box-sizing: border-box;
	border-radius: 96px;
	border: 12px solid #000000;
}

body.dark #face {
	border: 12px solid #FFFFFF;
	border-bottom: 0;
	border-right:  0;
	padding-bottom: calc(36px + 12px);
	padding-right:  calc(36px + 12px);
}

#face > span {
	font-weight: 700;
	font-size: 96px;
	line-height: 96px;
}

span#year {
	display: block;
}

span#hour, span#minute {
	font-weight: 300;
	display: block;
	font-size: 192px;
	line-height: 144px;
}

span.c {
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
}

#settings, #settings input {
	color: inherit;
	font-size: 48px;
	line-height: 48px;
	font-weight: 700;
}

#settings {
	z-index: 1;
	text-align: left;
	padding: 24px 24px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 144px;
	opacity: 0;
	transition: opacity 1s;
	/*
	background: linear-gradient(to top, #00000040, #00000000);
	*/
	display: flex;
	align-items: flex-end;
	flex-direction: row;
	justify-content: end;
}

/*
body.dark #settings {
	background: linear-gradient(to top, #FFFFFF20, #FFFFFF00);
}
*/

#settings input {
	background: 0;
	border: 0;
	outline: 0;
	margin: 0px 12px;
	cursor: pointer;
}

#settings input:hover/*:focus*/ {
	text-decoration: underline;
}

#settings:hover {
	opacity: 1;
}
