/* 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 */

body {
	background: #e9ede4;
	color: #23342f;
	font-size: 60px;
	font-family: 'Noto Serif Hebrew', Georgia, serif;
}

/* CLOCK */

.hebtime {
	position: relative;
	display: block;
	background-color: #123c35;
	background-image:
		linear-gradient(135deg, rgba(255,255,255,.06) 0, rgba(255,255,255,0) 38%),
		linear-gradient(315deg, rgba(255,145,95,.13) 0, rgba(255,145,95,0) 42%),
		linear-gradient(180deg, rgba(7,23,22,.2), rgba(7,23,22,.02));
	margin: auto;
	color: #fff0ce;
	border: 1px solid rgba(255,255,255,.28);
	box-shadow:
		0 28px 70px rgba(26, 42, 38, .25),
		inset 0 0 0 1px rgba(255,255,255,.08),
		inset 0 -18px 45px rgba(2, 20, 19, .24);
}
.hebtime .clockrow {
	display: block;
	height: calc(100%/12);
}
.hebtime .clockrow span {
	font-family: 'Noto Serif Hebrew', Georgia, serif;
	font-weight: 700;
	opacity: .19;
	width: calc(100%/12);
	float: right;
	overflow: hidden;
	display: block;
	text-align: center;
	font-size: .68em;
	color: #d3eee7;
	text-shadow: 0 1px 0 rgba(0,0,0,.18);
	-webkit-transition: opacity 1s ease-in-out, color 1s ease-in-out, text-shadow 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out, color 1s ease-in-out, text-shadow 1s ease-in-out;
	-ms-transition: opacity 1s ease-in-out, color 1s ease-in-out, text-shadow 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out, color 1s ease-in-out, text-shadow 1s ease-in-out;
	transition: opacity 1s ease-in-out, color 1s ease-in-out, text-shadow 1s ease-in-out;
	cursor: default;
}
.hebtime .clockrow div.active span {
	color: #fff4cf;
	opacity: 1;
	text-shadow:
		0 0 14px rgba(255, 210, 117, .34),
		0 1px 0 rgba(0,0,0,.22);
}
.hebtime .htb.shown span {
	color: #ff8f70;
	opacity: 1;
	text-shadow: 0 0 10px rgba(255, 130, 91, .35);
}

/* ABOUT POPUP */

.hebtime .about-popup {
	color: #fff7df;
	display: none;
	text-align: left;
	direction: ltr;
	background-color: rgba(12, 27, 25, .94);
	position: absolute;
	top: 5%;
	right: 5%;
	bottom: 5%;
	left: 5%;
	padding: 10%;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 4%;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
	font-size: .75em;
	font-family: 'Shadows Into Light', cursive;
}
.hebtime .about-popup h1 {
	margin-bottom: 15%;
	font-size: 1.25em;
	color: #ffcf91;
}
.hebtime .about-popup a {
	color: #b9eee0;
}
.hebtime .about-popup a:hover {
	font-size: 1.3em;
	text-shadow: 0 0 4px rgba(185, 238, 224, .55);
}
.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%;
	color: #ffcf91;
}
.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: #203931;
}
footer nav span:hover {
	color: #bf5f49;
	text-shadow: 0 0 4px rgba(191, 95, 73, .35);
}

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;
	}
}
