/*
Imminent - Coming Soon Template by Themewagon
Version: 1.0
Author: ThemeWagon
Author URI: http://www.themewagon.com
*/

/* =Common Styles
-------------------------------------------------------------- */

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

body {
	background: #fff;
	color: #666666;
	font-family: 'Roboto', sans-serif;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

section { overflow: hidden; }
::selection { background: #161a1b; color: #fff; }
::-moz-selection { background: #161a1b; color: #fff; }

/* =Typography
-------------------------------------------------------------- */
a {
    text-decoration: none;
}

h1, h2 { margin: 0; }

h1 {
	font-size: 40px;
	font-weight: 800;
	line-height: 40px;
	letter-spacing: -0.08em;
	color: #161a1b;
}

h2 {
	font-size: 18px;
	font-weight: 800;
	line-height: 1em;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #161a1b;
}

#countdown div span {
	display:block;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: initial;
	font-weight: 100;
	text-transform: uppercase;
}

#countdown div {
	display:inline-block;
    margin: 0 14px;
}

#countdown {
	color: #fff;
	margin-top: 8px;
}

.sub-title {
	font-size: 14px;
	margin-top: 5px;
	margin-bottom: 0px;
	color: #fff;
}

/* =Content Styles
-------------------------------------------------------------- */

.wrapper {
  text-align: center;		
  position: absolute;
  overflow: hidden;
  display: table-cell;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.scene,
.layer {
  display: block;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

.scene {
  position: relative;
  overflow: hidden;
}

.layer { position: absolute; }

.layer div {
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Background */
.background {
  background: url(../images/background.jpg) no-repeat 50% 50%;
  background-size: cover;
  background-color: #0a1233;
  position: absolute;
  width: 102%;
  height: 102%;
  left: -1%;
  top: -1%;
}

/* On unusually wide/short browser windows, cover would crop the
   crests off the top/bottom; fall back to showing the whole image
   with matching color bars instead of cropping it. */
@media (min-aspect-ratio: 19/10) {
  .background {
    background-size: contain;
  }
}

/* On narrow/tall (mobile) screens, cover barely scales the image down
   since it fits to height, leaving the crests cropped and oversized.
   Switch to contain so the crests shrink to fit the width, with the
   color bars filling the space above/below. */
@media (max-aspect-ratio: 3/4) {
  .background {
    background-size: contain;
  }
}

/* Below 1090px wide, use a background image cropped/sized specifically
   for narrow viewports instead of scaling the full-size one down. */
@media (max-width: 1090px){
  .background {
    background-image: url(../images/background_1090/background.jpg);
  }
}

/* Below 650px wide, switch to an even narrower-cropped background image. */
@media (max-width: 650px) {
  .background {
    background-image: url(../images/background_650/background.jpg);
  }
}

/* Below 650px wide AND 930px tall, use a background cropped for that
   combined narrow/short viewport instead. */
@media (max-width: 650px) and (max-height: 930px) {
  .background {
    background-image: url(../images/background_650_930/background.jpg);
  }
}

/* Below 412px wide AND 930px tall, use a background cropped for that
   even narrower viewport instead. */
@media (max-width: 412px) and (max-height: 930px) {
  .background {
    background-image: url(../images/background_412_840/background.jpg);
  }
}

/* Below 393px wide AND 852px tall, use a background cropped for that
   even narrower viewport instead. */
@media (max-width: 393px) and (max-height: 670px) {
  .background {
    background-image: url(../images/background_393_660/background.jpg);
  }
}

/* The title/timer block is vertically centered by JS based on window
   height, with no awareness of where the crests sit in the background
   image, so it can land on top of them. A text shadow keeps it
   readable no matter what's behind it, without a visible backdrop. */
.hero {
	display: inline-block;
	text-align: center;
}

.hero h1,
.hero .sub-title {
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 4px rgba(0, 0, 0, 0.6);
}

.contact {
	display: block;
	width: 100%;
	position: absolute;
	z-index: 2;
	text-align: center;
	bottom: 5%;
}

.contact .icons {
	margin: 0;
	padding: 0;
	margin-bottom: 18px;
	text-align: center;
	list-style: none;
	list-style-type: none;
}

.contact .icons li {
	display: inline-block;
	margin-right: 10px;
}

.contact .icons li:last-of-type { margin-right: 0px; }

.contact .icons li a {
	display: block;
	width: 25px;
	height: 25px;
	opacity: .5;
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
	transition: opacity 0.3s;
	color: black;
	font-size: 24px;
}

.contact .icons li a:hover {
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.contact a.mail {
	text-decoration: none;
	color: #161a1b;
	padding-bottom: 8px;
	font-size: 15px;
}

.contact a.mail::after {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 125px;
	margin-left: -60px;
	margin-top: 10px;
	height: 1px;
	background: #666666;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: opacity 0.3s, -moz-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(10px);
	-moz-transform: translateY(10px);
	transform: translateY(10px);
}

.contact a.mail:hover::after, .contact a.mail:focus::after {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}

/* =Responsive Styles
-------------------------------------------------------------- */

@media (max-width: 320px) {
	/* HERO */
	h1 { font-size: 22px; line-height: 22px; }
	#countdown div span {font-size: 12px; line-height: 16px;}
	.sub-title { font-size: 14px; line-height: 14px; margin-top: 10px; }
	.contact .icons { margin-bottom: 0px; }
}

/* Landscape Phone */
@media all and (min-width: 400px) {
	/* HERO */
	.contact .icons { margin-bottom: 0px; }
}

/* Tablet Portrait */
@media all and (min-width: 700px) {
	/* HERO */
	h1 { font-size: 40px; line-height: 40px; }
	.sub-title { font-size: 16px; line-height: 16px; margin-top: 10px; }
	.contact { bottom: 10%; }
	.contact .icons { margin-bottom: 12px; }
	
}

@media all and (min-width: 900px) {
	/* HERO */
	h1 { font-size: 50px; line-height: 50px; }

	#countdown div span {font-size: 18px; line-height: 18px;}
	
	.sub-title { font-size: 16px; line-height: 16px; margin-top: 20px; }
	.contact { bottom: 8%; }
	.contact .icons { margin-bottom: 12px; }
}

@media all and (min-width: 1200px) {
	/* HERO */
	h1 { font-size: 60px; line-height: 60px; }
	#countdown div span {font-size: 20px; line-height: 20px;}
	.sub-title { font-size: 20px; line-height: 20px; margin-top: 20px; }
}

@media all and (min-width: 1400px) {
	/* HERO */
	h1 { font-size: 65px; line-height: 65px; }
	.sub-title { font-size: 20px; line-height: 20px; margin-top: 20px; }
}

@media all and (min-width: 1600px) {
	/* HERO */
	h1 { font-size: 70px; line-height: 70px; }
	#countdown div span {font-size: 22px; line-height: 22px;}
	.sub-title { font-size: 20px; line-height: 20px; margin-top: 25px; }
}

@media all and (min-width: 1920px) {
	/* HERO */
	h1 { font-size: 75px; line-height: 75px; }
	.sub-title { font-size: 24px; line-height: 24px; margin-top: 30px; }
}

/* =Animation
-------------------------------------------------------------- */

/* =404
-------------------------------------------------------------- */

.snap {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../images/404-background.jpg) no-repeat center;
	background-size: cover;
	text-align: center;
}

.snap .line { margin-bottom: 70px; }

.button {
	display: inline-block;
	margin-top: 80px;
	text-decoration: none;
	font-size: 9px;
	font-weight: 700;
	line-height: 1em;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #161a1b;
	background: transparent;
	border: 1px solid rgb(23,26,28);
	border: 1px solid rgba(23,26,28,.3);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 4px;
	padding: 15px 25px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.button:hover {
	background: rgb(23,26,28);
	color: #fff;
	border: 1px solid rgb(23,26,28);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

@media all and (min-width: 700px) {
	.button {
		font-size: 12px;
		border-radius: 10px;
		padding: 25px 45px;
	}
}
