:root{
	--headerColor: #3a3a32;
	--bgColor: #fffaca;/*f2f9e0;*/
	--bgColor2: #d7c18e;
	
	--alternateColor: #d7c18e;
	--darkTextColor: #3a3a32;
	
	--shadow: 5px 2px 8px 0 rgba(0, 0, 0, 0.3); 
}

* {
margin: 0;
}

@font-face {
  font-family: Rooters;
  src: url("fonts/Rooters.ttf") format("truetype");
}

@font-face {
  font-family: MovLette;
  src: url("fonts/MovLette.ttf") format("truetype");
}

html{
	height: 100%;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body{	
	margin: 0;
	position: relative;
	min-height: 100%;
}

#titleBackground{
	background-image: url("images/shepherd");
	background-color: var(--bgColor);
	position: relative;
}

#logo{
	position: absolute;
	top: 3rem;
	left: 50%;
	transform: translate(-50%, 0);
	max-width: 50%;
}

#wrapperContainer{
	position: relative;
	margin: auto;
	width: 100%;
}

#wrapper{
	margin: auto;
	min-height: 100%;
	max-width: 100%;
	overflow: hidden;
}

@keyframes hopUpAndDown {
  0% {bottom: 0.5rem; }
  35% {bottom: 2rem; }
  80% {bottom: 0.5rem; }
  100% {bottom: 0.5rem; }
}

#scrollDownHint{
	position: fixed;
	z-index: 1;
	bottom: 2rem;
	left: 50%;
	transform: translate(-50%, 0);
	color: white;	
	
	opacity: 0;
	transition: opacity 1s;
}

#scrollDownHint.animated{
	animation-name: hopUpAndDown;
	animation-duration: 1.8s;
	animation-iteration-count: infinite;
}

#scrollDownHint.paused{
    animation-play-state:paused;
}

#scrollDownHint img{
	margin: auto;
	width: 50px;	
}

#footer{
	margin: 0 auto 0 auto;
	bottom: 0;
	padding: 1rem 1rem 1rem 1rem;
	background-color: var(--bgColor2);
	text-shadow: var(--shadow);
	text-align: center;
}

body{
	text-align: center;
	color:var(--darkTextColor);
	font-family: 'Muli', sans-serif, "Segoe UI",Arial,sans-serif;
	background-color: var(--bgColor);   
}

h4, a{
	color: var(--alternateColor);
}

h1{
	font-family: MovLette, "Segoe UI",Arial,sans-serif;
	font-style: normal;
	font-size: 20rem;
	position: absolute;
	top: 3rem;
	left: 50%;
	transform: translate(-50%, 0);
	max-width: 80%;
	color: #214206;
	text-shadow: 4px 4px var(--bgColor);
}

h2{
	font-family: Rooters, "Segoe UI",Arial,sans-serif;
	margin: 3rem auto 3rem auto;
	padding: 0 1rem 0 1rem;
	font-style: normal;
	font-size: 50px; /* This value is changed by JS */
}

h3{
	font-size: 40px; /* This value is changed by JS */
}

p, a{
	font-size: 25px; /* This value is changed by JS */
}

h4{
	font-size: 30px;
	font-style: italic;
}

#contactBox{
	max-width: 600px;
	
	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
	-webkit-box-pack: justify;
	-webkit-justify-content: space-around;
	-ms-flex-pack: justify;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
}

.flexBox{
	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
	-webkit-box-pack: justify;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: justify;
	justify-content: flex-start;
	-webkit-justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
	flex-wrap: wrap;
}

#footerFlexBox{
	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
	-webkit-box-pack: justify;
	-webkit-justify-content: stretch;
	-ms-flex-pack: justify;
	justify-content: stretch;
	flex-wrap: wrap;	
}

.highlight{
	background-color: var(--bgColor2);
	width: 100%;
	padding: 3rem 0 2rem 0;
}

.highlight h2{
	margin-top: 0;
}

.contactElement a img{
	max-width: 200px;
}

.flexText{
	flex: 0.5 1 550px;
}

.flexImageBox{
	flex: 1 1 400px;
	max-width: 90%;
	margin-left: 2rem;
}

.flexImageBox img{
	width: 100%;
}

.footerFlexElement{
	min-width: 340px;
	flex: 0.5;
	margin: 0 auto 0 auto;
}

#GideonGamesLogo{
	max-width: 300px;
}

#footerSeparator{
	margin: 0 1rem 0 1rem;
	background-color: var(--darkTextColor);
	width: 0.2rem;
	min-height: 200px;
	display: block;
}

#companyLogo a img{
	width: 100%;
}

.limitedWidth{
	max-width
}

.merchandiseItem{
	display: block;
	margin: auto;
}

.twitter-mention-button{
	margin-top: 8px;
}

.textBox{
	margin: 1rem auto auto auto;
	padding: 0 1rem 0 1rem;
	text-align: left;	
	max-width: 1500px;
}

.projectSOImg{
	width: 100%;
	display: block;
}

#copyrightText{
	margin-top: 2rem;
}

.textBox p{
	margin: 0.5rem 0.5rem 0 0.5rem;
}