html {
	height: 100%;
	max-width: 100vw;
}

body{
	background-image: url("../img/background-image.png");
	background-repeat: no-repeat;
	background-size: cover;
	font-family: 'Roboto', sans-serif;
	color: #000;
	margin: 0;
	max-height: 100vh;
	max-width: 100vw;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.hidden { 
	display: none;
}

#container{
	margin-top: 4%;
	margin-left: 10%;
	width: 40%;
	height: 500px;
	padding: 0px;
	background-color: transparent;
}
#container h1{
	text-align:center;
	color:black;
}
#container h2{
	text-align:left;
	color: #ED1C24;
}

#container h4{
	text-align:left;
	color:black;
	font-size:12px;
}
#openingContainer{
	background-color: transparent;
	width: 40%;
	padding: 0px;
    margin: 10% 0% 10% 6%;
}
#red-bg {
	width: 50%;
	background: #911632;
	float: right;
	opacity: .6;
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	background-size:cover;
	background-position: center;
}
#light-red-bg {
	width: 70%;
	position: absolute;
	z-index: 3;
	background-image: url("../img/workout-intro.png");
	background-repeat: no-repeat;
	background-color: #ED1C24;
	height: 70vh;
	float: left;
	overflow: hidden;
	margin-top: 15vh;
}

#openingContainer h3{
	text-align:left;
	color:white;
	margin-top: 40%;
	margin-left:40px;
}
#openingContainer h2{
	text-align:left;
	color:white;
}

#openingContainer h4{
	text-align:left;
	color:black;
	margin-top:40px;
}

#openingContainer img {
	height: 70px;
	text-align: left;
}

#quoteContainer{
	width:85%;
	background: #fff;
	padding:5px;
	margin: auto;
	text-align: left;
	height:180px;

}

@-webkit-keyframes flip {
	0%   {transform: rotateX(0deg);}
	100% {transform: rotateX(360deg);}
}

#quoteContainer p {
	text-align: left;
	font-size: 15px;
	line-height: 150%;
}

#openingQuoteContainer{
	width:85%;
	background: transparent;
	padding:5px;
	margin:30px auto;
	text-align: left;
	height:180px;
}

#openingQuoteContainer p {
	text-align: left;
	font-size: 15px;
	line-height: 150%;
	/*font-weight: bold;*/
	color: white;
}

#firstButtonContainer{
	width: 100%;
	text-align: center;
}

#firstQuoteButton{
	width:40%;
	margin-top: 55px;
	margin-left: 7%;
	border:3px solid #ED1C24;
	background-color: #ED1C24;
	font-family: inherit;
	text-decoration: none;
	text-align: center;
	float: left;
	text-transform: uppercase;
	font-size: 14px;
	color: #fff;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.25;
	padding: 15px 20px;

}

#firstQuoteButton:active{
	cursor: pointer;
}
#firstQuoteButton{
	display: inline-block;
}

#buttonContainer{
	width: 100%;
	margin-top: 250px;
	text-align: center;

}

#quoteButton{
	width:80%;
	border:3px solid #ED1C24;
	background-color: #ED1C24;
	font-family: inherit;
	text-decoration: none;
	text-align: center;
	margin-bottom: 20px;
	text-transform: uppercase;
	font-size: 14px;
	color: #fff;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.25;
	padding: 15px 20px;
}

#quoteButton:active{
	cursor: pointer;
}
#quoteButton{
	display: inline-block;
}
#quoteGenius{
	font-weight: 600;
	text-align: left;
	font-size: 18px!important;
	padding-bottom: 20px;
}

#img-container {
	margin-top: -17px;
}

#img-container video {
	max-height: 520px;
	height: auto;
	width: 100%;
	margin-left: 102%;
	margin-top: -510px;
}

.second-child {
	-webkit-transform-origin: 0px 0px -750px;
	background-color: white;
}

.parent {
	transform-style: preserve-3d;
	perspective: 750px;
	background-color: transparent;
}

.first-child {
	transform-style: preserve-3d;
	perspective: 750px;
}

#img-container {
	-webkit-transform-origin: 0px 0px -750px;
	background-color: transparent;
}

/*MEDIA QUERIES*/
@media screen and (min-width: 2500px) {
	#img-container video {
		width: 60%;
	}
	#light-red-bg {
		margin-top: 30vh;
	}
    #openingContainer {
        margin: 15% 0% 10% 10%;
    }
	#openingQuoteContainer p {
		width: 50%;
	}
	#container {
		margin: 10% 20% !important;
	}
}
@media screen and (min-width: 1400px) {
	#img-container video {
		margin-left: 96%;
	}
	#container {
		margin: 5% 12%;
	}
    #openingContainer {
        width: 35%;
    }
}
@media screen and (max-width:760px){
	#quoteButton,#addNew{
		display: block;
	}
	#red-bg {
		display: none;
	}
	#light-red-bg {
		display: none;
	}
	#openingContainer {
		width: 100%;
		/*margin-top: 45%;*/
	}
	#firstQuoteButton {
		width: 75%;
	}
	#openingQuoteContainer {
		text-align: center;
	}
	#openingContainer h2 {
		text-align: center;
	}
	#openingContainer p {
		text-align: center;
		line-height: 2;
	}
	#firstQuoteButton {
		margin-top: 35%;
	}
}

@media screen and (min-width:500px) and (max-width:760px){
	body {
		background-size: cover;
		background-position: center center;
		background-repeat: no-repeat;
		background-attachment: fixed;
	}

	#openingContainer {
		margin-top: 0;
		margin-left: 0;
	}
	#container {
		margin: 0 auto;
		width: 80%;
	}
	.parent {
		display:flex;
		flex-flow: column;
		background-color: transparent;
	}
	.second-child {
		order: 2;
		background-color: white;
	}
	.first-child {
		order: 1;
	}
	#img-container video {
		height: auto;
		width: 100%;
		margin-left: 0;
		margin-top: 0;
	}
	#quoteButton {
		margin: 0 auto;
	}
	#buttonContainer {
		padding-bottom: 10px;
	}
}

@media screen and (max-width:480px){

	body {
		position: relative;
		background-image: url("../img/SOmobile-bg.png");
		background-size: cover;
		background-position: center center;
		background-repeat: no-repeat;
		background-attachment: fixed;
	}
	#openingContainer {
		margin: 45% auto 0 auto;
	}
	#firstQuoteButton {
		margin-left: 9%;
	}
	#container {
		margin-left: 0;
		margin-top: 0;
		width: 100%;
	}
	#container h4 {
		text-align: center;
	}
	#quoteContainer {
		height: 100%!important;
	}
	.parent {
		display:flex;
		flex-flow: column;
	}
	.second-child {
		order: 2;
		background-color: white;
	}
	.first-child {
		order: 1;
	}
	#img-container video {
		height: auto;
		width: 100%;
		margin-left: 0;
		margin-top: 0;
	}
	#quoteContainer p {
		font-size: 18px;
	}
	#quoteContainer h2 {
		text-align: center;
	}
	#buttonContainer {
		padding-bottom: 30px;
		margin-top: 0!important;
	}
	#quoteButton {
		margin: 0 auto;
	}
	/*#openingContainer {*/
		/*width: 100%;*/
		/*margin-top: 45%;*/
	/*}*/
	/*#firstQuoteButton {*/
		/*width: 75%;*/
	/*}*/
	/*#openingQuoteContainer {*/
		/*text-align: center;*/
	/*}*/
	/*#openingContainer h2 {*/
		/*text-align: center;*/
	/*}*/
	/*#openingContainer p {*/
		/*text-align: center;*/
		/*line-height: 2;*/
	/*}*/
	/*#firstQuoteButton {*/
		/*margin-top: 35%;*/
	/*}*/
}