/* RESET */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
nav ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
ins {
	background-color: #ff9;
	color: #000;
	text-decoration: none;
}
mark {
	background-color: #ff9;
	color: #000;
	font-style: italic;
	font-weight: bold;
}
del {
	text-decoration: line-through;
}
abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #cccccc;
	margin: 1em 0;
	padding: 0;
}
input, select {
	vertical-align: middle;
}

/* GLOBAL */

:focus {
	outline: none;
}
::-moz-focus-inner {
	border: 0;
}
strong {
	font-weight: bold;
}
.cssfader {
	-webkit-transition: all .15s ease-in-out;
	-moz-transition: all .15s ease-in-out;
	-ms-transition: all .15s ease-in-out;
	-o-transition: all .15s ease-in-out;
	transition: all .15s ease-in-out;
}
a, a:active, a:focus, a:hover, a:visited {
	text-decoration: none;
}
.clear-both {
	clear: both;
	height: 65px;
}

/* TYPOGRAPHY */

@font-face {
    font-family: 'dragonregular';
    src: url('../fonts/dragon-webfont.eot');
    src: url('../fonts/dragon-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dragon-webfont.woff') format('woff'),
         url('../fonts/dragon-webfont.ttf') format('truetype'),
         url('../fonts/dragon-webfont.svg#dragonregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	font-size: 60px;
}

/* CLOCK */

.hebtime {
	position: relative;
	display: block;
	background-color: #f23c3c;
	margin: auto;
	color: #fcfbe3;
}
.hebtime .clockrow {
	display: block;
	height: calc(100%/12);
}
.hebtime .clockrow span {
	font-family: 'dragonregular';
	opacity: .2;
	width: calc(100%/12);
	float: right;
	overflow: hidden;
	display: inline-block;
	text-align: center;
	font-size: .95em;
	-webkit-transition: opacity 1s ease-in-out, color 1s ease-in-out;
	-moz-transition: opacity  1s ease-in-out, color 1s ease-in-out;
	-ms-transition: opacity  1s ease-in-out, color 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out, color 1s ease-in-out;
	transition: opacity  1s ease-in-out, color 1s ease-in-out;
	cursor: default;
}
.hebtime .clockrow div.active span {
	opacity: 1;
}
.hebtime .htb.shown span {
	opacity: 1;
	color: black;
}

/* ABOUT POPUP */

.hebtime .about-popup {
	color: white;
	display: none;
	text-align: left;
	direction: ltr;
	background-color: rgba(0,0,0,.9);
	position: absolute;
	top: 5%;
	right: 5%;
	bottom: 5%; 
	left: 5%;
	padding: 10%;
	border-radius: 5%;
	font-size: .75em;
	font-family: 'Shadows Into Light', cursive;
}
.hebtime .about-popup  h1 {
	margin-bottom: 15%;
	font-size: 1.25em;
}
.hebtime .about-popup a {
	color: white;
}
.hebtime .about-popup a:hover {
	font-size: 1.3em;
	text-shadow: 0px 0px 3px rgba(252, 251, 227, 0.5);
}
.hebtime .about-popup .fb-like {
	position: absolute;
	bottom: 5%;
	left: 11%;
	transform: scale(1em,1em);
}
.hebtime .about-popup .about-close {
	position: absolute;
	cursor: pointer;
	right: 5%;
	bottom: 5%;
}
.hebtime .about-popup .about-close:hover {
	text-transform: uppercase;
}
	
/* FOOTER */

footer {
	font-family: 'Shadows Into Light', cursive;
	margin-top: .4em;
	text-align: center;
	font-size: .4em;
}
footer nav span {
	cursor: pointer;
	color: black;
}
footer nav span:hover {
	text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}
footer .fb-like {
	opacity: .6;
	margin-top: .6em;
}
footer .fb-like:hover {
	opacity: 1;	
}
footer nav .sep {
	cursor: default;
}
footer nav .sep:hover {
	text-shadow: none;
}

/* MOBILE (<=640px) */

@media (max-width: 640px) {
	body {
		margin-top: 0 !important;
		font-size: 7.5vw !important;
	}
	.hebtime {
		width: 100vw !important;
		height: 100vw !important;
		padding: 5vw !important;
		box-sizing: border-box !important;
	}
	.hebtime .about-popup {
		padding: 6%;
		font-size: .6em;
		line-height: 1.4;
		overflow-y: auto;
	}
	.hebtime .about-popup h1 {
		margin-bottom: 10%;
		font-size: 1.2em;
	}
	.hebtime .about-popup .about-close {
		right: 6%;
		bottom: 4%;
	}
	footer {
		margin-top: 1em;
		font-size: .5em;
	}
	footer nav {
		display: flex;
		flex-direction: column;
		gap: .5em;
		line-height: 1.2;
	}
	footer nav .sep {
		display: none;
	}
	footer nav > span,
	footer nav > a {
		display: block;
		font-size: 2em;
		padding: .35em 0;
	}
	footer nav > a .soon {
		font-size: 1em;
	}
}
