/*
Theme Name: startupamerica
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: startupamerica
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

startupamerica is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Reset
# Utility 
# Base 
# Social Icons
# Parallax City Skyline
# Media Queries

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Reset
--------------------------------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*--------------------------------------------------------------
# Utility 
--------------------------------------------------------------*/
.cf{
	overflow: auto;
}

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

/*--------------------------------------------------------------
# Base 
--------------------------------------------------------------*/
html,
body{
	height: 100%;
}

body {
	font-family: 'Dosis', sans-serif;
	font-size: 24px;
	line-height: 1.5;
	text-align: center;
	padding-top: 5%;
	background: linear-gradient(90deg, #d7d7d7, #fff);
	background: -webkit-gradient(90deg, #d7d7d7, #fff);
	background: -moz-linear-gradient(90deg, #d7d7d7, #fff);
	background: -webkit-linear-gradient(90deg, #d7d7d7, #fff);
	background: -ms-linear-gradient(90deg, #d7d7d7, #fff);
}

a,
a:hover,
a:visited{
	color: #c02030;
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

p{
	max-width: 800px;
	width: 50%;
	margin: 0 auto 2%;
	position: relative;
	z-index: 999;
}

.logo{
	max-width: 530px;
	height: 160px;
	width: 40%;
	background: url(img/logo.png) no-repeat center center;
	background-size: contain;
	text-indent: -9999px;
	margin: 0 auto 3%;
}

/*--------------------------------------------------------------
# Social Icons
--------------------------------------------------------------*/
.social-links{
	position: absolute;
	top: 5%;
	right: 2%;
	width: 115px;
}

.social-links li{
	float: left;
	margin-right: 3%;
}

.social-links a{
	width: 33px;
	height: 33px;
	display: block;
	text-indent: -9999px;
}

.social-links .facebook{
	background: url(img/facebook.gif) no-repeat center center;
	background-size: cover;
}
.social-links .twitter{
	background: url(img/twitter.gif) no-repeat center center;
	background-size: contain;
}
.social-links .youtube{
	background: url(img/youtube.gif) no-repeat center center;
	background-size: cover;
}

/*--------------------------------------------------------------
# Parallax City Skyline
--------------------------------------------------------------*/
.skyline-wrapper{
	position: absolute;
	bottom: 0;
	width: 100%;
	-webkit-perspective: 5000px;
    -moz-perspective: 5000px;
    perspective: 5000px;
}

.skyline-wrapper::before {
  /* never visible - this is used in jQuery to check the device type */
  content: 'web';
  display: none;
}
.touch .skyline-wrapper::before {
  /* never visible - this is used in jQuery to check the device type */
  content: 'mobile';
}

.no-touch .city-skyline{
	position: relative;
}

.city-skyline img{
	display: block;
  width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* fixes a Firefox bug - images not correctly rendered*/
}

.city-skyline img:not(:first-child) {
  position: absolute;
  bottom: 0;
  left: 0;
}

.no-touch .city-skyline{
	top: 0;
  left: 0;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}

.no-touch .city-skyline.is-absolute {
  position: absolute;
}

.no-touch .city-skyline img:first-child {
  -webkit-transform: translateZ(50px);
  -moz-transform: translateZ(50px);
  -ms-transform: translateZ(50px);
  -o-transform: translateZ(50px);
  transform: translateZ(50px);
}
.no-touch .city-skyline img:nth-child(2) {
  -webkit-transform: translateZ(290px);
  -moz-transform: translateZ(290px);
  -ms-transform: translateZ(290px);
  -o-transform: translateZ(290px);
  transform: translateZ(290px);
}
.no-touch .city-skyline img:nth-child(3) {
  -webkit-transform: translateZ(400px);
  -moz-transform: translateZ(400px);
  -ms-transform: translateZ(400px);
  -o-transform: translateZ(400px);
  transform: translateZ(400px);
}
.no-touch.no-preserve-3d .city-skyline {
  /* we target browsers that don't support preserve-3d and show just a standard image - no effect visible */
  position: relative;
}
/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media (max-width: 900px){
	body{
		padding-top: 10%;
		font-size: 24px;
	}
	p{
		width: 65%;
	}
	.logo{
		margin-bottom: 1%;
	}
}

@media (max-width: 500px){
	body{
		padding-top: 2%;
		font-size: 20px;
	}
	p{
		width: 85%;
	}
	.logo{
		width: 60%;
		height: 130px;
		margin-bottom: 10%;
	}
	.social-links{
		width: 50px;
		right: 1%;
	}

	.social-links li{
		float: none;
		margin-bottom: 5%;
	}
}

@media (max-width: 667px) and (orientation : landscape){
	body{
		padding-top: 1%;
		font-size: 16px;
	}
	.logo{
		height: 95px;
	}
}