
html {
    height: 100%;
    min-height: 100%;
}

body {  
    color: white;
    font-family: 'Open Sans Bold';
    height: 100%;
    min-height: 100%;
    text-transform: uppercase;
}

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

ul {
    margin: 0px;
    padding: 0px;
}

img {
    max-width: 100%;
}

video , .vgif { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}  

.container {
    max-width:960px;
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    margin:0 auto;
    width: 90%;
}

#question_2, #question_3, #question_4, #question_5, #ending {
	display: none;
}

#overlay {
	position: fixed;
	top: 0;
	height: 100%;
	min-height: 100%;
	width: 100%;
	background: rgba(200, 20, 88, 0.6);
	z-index: 1;
}

#main {
	position: relative;
	z-index: 5;
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 5;
	width: 100%;
	background:white;
	color: #f06795;
	text-align: center;
	padding: 7px 0;
	font-size: 24px;
}

.answers {
	width:60%;
	margin:0 auto;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
	margin-top: 5%;
}

a.no_button,
a.yes_button {
    font-size: 35px;
    display: inline-block;
    transition: all linear 0.3s;    
    border: solid 6px white;
    color: white;
    width: 180px;
    height: 80px;
    text-align: center;
    line-height: 68px;
}

a.yes_button {
    margin-left: auto;
}

a.yes_button:hover {
    color: rgba(240, 103, 149, 1);
    background:white;
}

a.no_button:hover {
    color: rgba(240, 103, 149, 1);
    background:white;
}

#ending {
	margin:0 auto;
	text-align: center;
	position: relative;
	z-index: 5;
	text-transform: none;
}

img.loader {
	max-width: 30%;
	display: block;
	margin:0 auto;
	margin: 3% auto;
}

div.track, div.bar{
  box-sizing: border-box;
  position: relative;
}

div.progress{
  width: 286px;
  padding-left: 2px;
  padding-right: 2px;
  height: 32px;
  border: solid 3px #fff;
  margin: 20px auto;
}

div.track{
  position: relative;
  width: 100%;
  height: 24px;
  overflow: hidden;
  -webkit-animation: prgBar 4s linear;
  animation: prgBar 4s linear;
}

div.bar{
  height: 23px;
  width: 69px;
  background-color: #fff;
  margin-top: 2px;
  float: left;
}

@-webkit-keyframes prgBar{
  0%    {width: 0%}
  9.99% {width: 0%}
  10%   {width: 10%}
  95%   {width: 100%}
}

@keyframes prgBar{
  0%    {width: 0%}
  9.99% {width: 0%}
  10%   {width: 10%}
  95%   {width: 100%}
}

h1,h2,h3 {
    margin:0;
}
h1 {
	font-size: 35px;
}
h2 {
	text-align: center;
	font-size: 30px;
	text-transform: uppercase;
}
h3{
	font-size: 24px;
}
a {
	color:white;
	font-weight: bold;
	text-decoration: none;
}

a.start_button {
	display: block;
	width: 215px;
	height: 80px;
	line-height: 68px;
	margin:0 auto;
	border:solid 6px white;
	text-align: center;
	cursor:pointer;
	font-size: 35px;
	transition:all linear 0.3s;
	margin-top: 5%;
}
.french a.start_button{
	width: 280px;
}

a.start_button:hover {
	background:white;
	color:rgba(240,103,149,1);
}

.show_end {
	font-size: 24px;
	text-align: left;
	max-width: 750px;
	margin: 0 auto 10%;
}
.show_end .agree_1{
	margin-bottom: 30px;
	margin-left: 24px;
}
.show_end .agree_2{
	font-family: "Open Sans";
	font-size: 18px;
	list-style: none;
}

a#agree {
	display: block;
	width: 385px;
	height: 63px;
	margin:0 auto;
	border:solid 5px white;
	text-align: center;
	cursor:pointer;
	font-size: 35px;
	transition:all linear 0.3s;
	margin-top: 5%;
}

a#agree:hover {
	background:white;
	color:rgba(240,103,149,1);
}

/*******************************MEDIA QUERIES*******************************/
@media only screen and (max-width: 699px) {
	.answers{
		width: 100%;
		display: block;
	}
	.answers a{
		width: 100%;
		margin: 0;
		margin-top: 10%;
		display: block;
		height: 65px;
		line-height: 53px;
	}
	a.yes_button{
		margin: 10% 0;
	}
	
}
@media only screen and (max-width: 599px) {
	.container{
		top: 100px;
	}
}
@media only screen and (max-width: 414px) {
	.container{
		width: calc(100% - 32px);
		top: 0;
		padding-bottom: 80px;
	}
	#content{
		margin-top: 10%;
	}
	#main h2{
		font-size: 20px;
	}
	#main #question_1 h2{
		font-size: 26px;
	}
	a.start_button{
		width: 100%;
		height: 65px;
		line-height: 53px;
		margin-top: 20%;
	}	
	#reviewing h2{
		font-size: 18px;
		margin-top: 50%;
	}
	.show_end{
		padding-top: 10%;
	}
	.show_end .agree_1,.show_end h3{
		font-size: 18px;
	}
	.show_end .agree_2{
		font-size: 13px;
		margin-top: 10px;
	}
	a#agree{
		width: 100%;
		margin: 10% 0;
	}
	footer{
		font-size: 21px;
	}

}
@media screen and (max-width: 736px) and ( orientation:landscape){
    #content{
    	margin-top: 10%;
    }

  }

