@import url(https://fonts.googleapis.com/css?family=Economica:400,700);
@import url(https://fonts.googleapis.com/css?family=Lobster+Two:700);

/* ---------- Base ---------- */
html { height: 100%; }
body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	color: #fff;
	font-family: 'Economica', sans-serif;
	background-color: #f39c12;
}
h1 {
	font-size: 68px;
	letter-spacing: -2px;
	text-align: center;
	padding-top: 30px;
	margin: 0;
	font-weight: 700;
	font-family: 'Lobster Two', cursive;
	text-shadow: 2px 2px rgba(12, 11, 11, 0.56);
}
p { margin: 0 0 10px 0; }
a { color: rgba(255, 255, 255, 0.57); text-decoration: none; }
a:hover { color: #fff; }

/* ---------- Layout ---------- */
#Header {
	position: relative;
	width: 100%;
	height: 110px;
	line-height: 110px;
	margin-bottom: 62px;
	z-index: 1;
}
.wrapper {
	margin: 0 auto;
	position: relative;
	width: 100%;
	max-width: 920px;
	z-index: 1;
}
#Content {
	flex: 1 0 auto;
}
#Content h2 {
	display: block;
	text-align: center;
	font-size: 27px;
	font-weight: 300;
	color: #fff;
	line-height: 42px;
	margin: 0;
	padding: 30px 15px 40px;
}

/* ---------- Countdown ---------- */
.countdown { text-align: center; }
.styled {
	display: block;
	margin: 100px 0 98px;
}
.styled div {
	display: inline-block;
	position: relative;
	width: 100px;
	height: 58px;
	margin: 0 8px;
	padding: 20px 24px 55px;
	font-size: 75px;
	font-weight: 900;
	text-align: center;
	vertical-align: middle;
	color: #e67e22;
	text-shadow: none;
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: 10px;
	box-shadow: 0px 6px 2px;
	background: #ffffff;
	background: linear-gradient(to bottom, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
}
.styled div:first-child { margin-left: 0; }
.styled div span {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -41px;
	padding-top: 3px;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	text-transform: capitalize;
	color: #fff;
}

/* ---------- Footer ---------- */
.footer {
	background-color: #b9770e;
	border-top: #fff 4px solid;
	padding: 40px 15px 20px;
	margin-top: 0;
}
#subscribe p { text-align: center; }
#subscribe input {
	background: rgba(255, 255, 255, 0.52);
	color: #000;
	vertical-align: middle;
	width: 293px;
	max-width: 100%;
	box-sizing: content-box;
	border: 1px solid rgba(255, 255, 255, 0.76);
	padding: 0 10px;
	height: 40px;
}
#subscribe input[type="submit"] {
	background: #fff;
	width: auto;
	padding: 0 25px;
	height: 42px;
	margin-left: -5px;
	font-weight: bold;
	cursor: pointer;
	display: inline-block;
}
#socialIcons { display: block; }
#socialIcons ul {
	margin: 21px 0 0;
	padding: 0;
	text-align: center;
}
#socialIcons ul li {
	display: inline-block;
	margin-right: 5px;
	height: 34px;
	line-height: 34px;
	list-style-type: none;
}
#socialIcons ul li a {
	display: inline-block;
	width: 34px;
	height: 34px;
}
.twitterIcon, .facebookIcon, .linkedInIcon, .pintrestIcon {
	background: url('../images/social-icons.png') -74px 0px;
}
.facebookIcon { background-position: 10px 0px; }
.linkedInIcon { background-position: -245px 0px; }
.pintrestIcon { background-position: -331px 0px; }

/* ---------- Modal (orange prompt) ---------- */
.modal {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 15px;
}
.modal.open { display: flex; }
.modal-box {
	background: #f39c12;
	color: #fff;
	border: 4px solid #fff;
	border-radius: 12px;
	max-width: 400px;
	width: 100%;
	padding: 30px 25px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.modal-box h3 { font-size: 36px; margin: 0 0 10px; }
.modal-box p { font-size: 22px; margin: 0 0 20px; }
.modal-box button {
	background: #fff;
	color: #e67e22;
	border: 0;
	border-radius: 6px;
	padding: 10px 35px;
	font-size: 20px;
	font-weight: bold;
	font-family: inherit;
	cursor: pointer;
}
.modal-box button:hover { background: #ffe6c2; }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	#Header { height: auto; line-height: normal; margin-bottom: 10px; }
	h1 { font-size: 40px; letter-spacing: 0; padding: 20px 15px 0; }
	.styled { margin: 20px 0 30px; }
	.styled div {
		width: 44px;
		height: 40px;
		font-size: 30px;
		padding: 12px 8px 40px;
		margin: 0 4px 40px;
	}
	.styled div span { font-size: 13px; bottom: -28px; }
	#Content h2 { font-size: 20px; line-height: 30px; padding: 10px 15px 15px; }
	.footer { padding: 25px 15px 15px; }
	#socialIcons ul { margin: 10px 0 0; }
}
@media (max-width: 420px) {
	#subscribe input { width: 80%; }
	#subscribe input[type="submit"] { width: auto; margin: 10px 0 0; }
}