/* Styling for index.html */
@import url("fonts.css");

body {
	background-image: url("../assets/images/background.png");
	background-size: 100% auto;
	background-position: center top;
	background-repeat: no-repeat;
	background-color: #094e74;
	/*background-color: #772200;*/
}

html, body {
    /*max-width: 100% !important;*/
    /*overflow-x: hidden !important;*/
}

#topstich-logo {
	position: absolute;
	left: 40px;
	top: 20px;
}

#topstich-logo img {
	height: 80px;
	width: auto;
}

#section-a {
	/*background-image: url("../assets/images/background.png");*/
	margin-top: -80px;
	background-size: 100% auto;
	background-position: top center;
	background-repeat: no-repeat;
	min-height: 1000px;
	overflow: visible;
	padding-top: 8%;
}

#section-a .title {
	position: relative;
	z-index: 2;
	width: 62%;
	margin: auto;
	max-width: 1200px;
	padding-right: 0%; 
}

#section-a .title img {
	width: 100%;
	
	/*margin-right: 8%;*/
}

#section-a .featurette .header {
	position: relative;
	z-index: 2;
}

#section-a .featurette .header h1 {
	font-family: TitilliumWeb;
	font-weight: 400;
	font-size: 48px;
	color: #000201;
	/*font-style: italic;*/
	text-align: center;
}

#section-a .featurette .teaser {
	position: relative;
	z-index: 2;
	max-width: 1000px;
	width: 80%;
	height: 500px;
	margin: auto;
	margin-top: 5%;
	overflow: visible;
}

#section-a .featurette iframe {
	width: 100%;
	height: 100%;
	box-shadow: 0 6px 24px rgba(0,0,0,0.2);
	border: none;
	z-index: 3;
}

#section-a .description {
	max-width: 1000px;
	width: 80%;
	margin: auto;
	margin-top: 50px;
	color: white;
}

#section-a .description h1 {
	font-family: Montserrat;
	font-weight: bolder;
}

#section-a .description p {
	font-family: Montserrat;
	font-size: 24px;
	line-height: 38px;
	margin-top: 20px;
}

#section-a .legal {
	max-width: 1000px;
	width: 80%;
	margin: auto;
	margin-top: 50px;
	color: white;
}

#section-a .legal h1 {
	font-family: Montserrat;
	font-weight: bolder;
}

#section-a .legal h2 {
	font-family: Montserrat;
	font-weight: bold;
}

#section-a .legal h3 {
	font-family: Montserrat;
	font-weight: normal;
}

#section-a .legal p {
	font-family: Montserrat;
	font-size: 12px;
	line-height: 18px;
	margin-top: 10px;
}



#textlinks {
	text-align: center;
	font-family: Montserrat;
	font-weight: bolder;
	font-size: 40px;
	color: #F0E9E9;
	margin-top: 40px;
	margin-bottom: 10px;
}

#smallFooterLinks {
	text-align: center;
	font-family: Montserrat;
	font-weight: normal;
	font-size: 20px;
	color: #F0E9E9;
	margin-top: 15px;
	margin-bottom: 5px;
}

span.line-break {
	display: none;
	margin-top: 12px;
}

#section-a .accolades .container {
	margin-top: 40px;
	max-width: 800px;
}

#section-a .accolades .accolade {
	width: 100%;
	max-width: 300px;
	height: auto;
}

#section-a .shoutout {
	color: white;
	text-align: center;
	margin-top: 40px;
}

#section-a .shoutout h1 {
	font-family: Montserrat;
	font-weight: bolder;
	font-size: 52px;
}

#section-a .google-form {
	width: 800px;
	margin: 0 auto;
	margin-top: 20px;
}

#section-a img.footer {
	/*background-image: : url("../assets/images/background-footer.png");
	background-size: 100% auto;
	background-position: top center;
	background-repeat: no-repeat;
	height: 400px;
	overflow: visible;
	padding-top: 6%;*/
}

/* Download widget */
.widget-download {
	width: 50%;
	height: auto;
}

@media only screen and (max-width: 1200px) {
	#section-a .featurette .header h1 {
		font-size: 32px;
	}
}

@media only screen and (max-width: 992px) {
	#section-a .featurette .teaser {
		width: 100%;
		margin-top: 5%;
		padding-right: 20px;
		padding-left: 20px;
		height: 450px;
		/*height: 256px; */
	}

	#section-b .google-form {
		width: 700px;
	}

	.google-form iframe {
		max-width: 700px;
		height: 800px;
	}

	#section-b {
		margin-top: 400px;
	}
}

@media only screen and (max-width: 750px) {
	#section-a .featurette .header h1 {
		font-size: 24px;
	}

	#section-a .featurette .teaser {
		height: 400px;
	}

	#section-b .google-form {
		width: 600px;
	}

	.google-form iframe {
		max-width: 600px;
		height: 800px;
	}
}

@media only screen and (max-width: 600px) {
	#section-a .featurette .header h1 {
		font-size: 20px;
	}

	#section-a .featurette .teaser {
		height: 320px;
	}

	#section-b .google-form {
		max-width: 100%;
	}

	.google-form iframe {
		max-width: 100%;
		height: 800px;
	}

	#section-b {
		margin-top: 300px;
	}

	span.line-break {
		display: block;
	}
}

@media only screen and (max-width: 500px) {
	#section-a .featurette .header h1 {
		font-size: 20px;
	}

	#section-a .featurette .teaser {
		height: 250px;
		margin-top: 10%;
	}

	#section-a {
		padding-top: 18%;
	}
}

/* Animation classes + keyframes */

.jiggle {
    -webkit-animation: jiggle 2.8s infinite;
    -moz-animation-duration: 2.8s;
    -moz-animation-name: jiggle;
    -moz-animation-iteration-count: infinite;
    -webkit-transform: rotate(-1deg);
    -moz-transform: rotate(-1deg);
    /*animation-direction: alternate;*/
    animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    animation-timing-function: cubic-bezier(0.5, 0.045, 0.5, 1);
    /*animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);*/
    /*animation-timing-function: cubic-bezier(0.86, 0, 0.07, 1)*/
}

@-moz-keyframes jiggle {
    0% {
        -moz-transform: rotate(-1deg);
    }
    50% {
        -moz-transform: rotate(1deg);
    }
}

@-webkit-keyframes jiggle {
    0% {
        -webkit-transform: rotate(-1deg);
        }
    50% {
        -webkit-transform: rotate(1deg);
    }
}
