html, body {
	background-color: #000;
	color: #fff;
	overflow: hidden;
}

main {
	padding-left: 10%;
	padding-right: 10%;
	padding-top: 200px;
	position: relative;
	z-index: 1;
}

section {
	overflow: hidden;
	display: none;
}

#bg, #bg-last {
	position: fixed;
	top: 2.5%;
	left: 2.5%;
	width: 95%;
	height: 95%;
}
#bg img, #bg-last img {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	min-width: 50%;
	min-height: 50%;
}

#bg-last {
	display: none;
	width: 820px;
	height: 900px;
	left: 50%;
	margin-left: -410px;
}

#logo {
	position: fixed;
	width: 200px;
	left: 50%;
	top: 5%;
	margin-left: -100px;
}

.question {
	margin: auto;
	font-size: 50px;
	max-width: 650px;
	border-color: transparent;
	border: 50px solid;
	border-width: 35px 46px 101px 46px;
	border-image: url('../img/question-background.png') 100 200 300 200 repeat stretch;
	margin-bottom: 30px;
}

.font-red {
	color: red;
}

.button {
	transition: all .2s ease-in-out;
	min-width: 250px;
	font-size: 35px;
	background-color: transparent;
	border: 50px solid;
	border-width: 42px 20px 42px 20px;
	border-image: url('../img/btn.png') 140 100 140 100 repeat stretch;
	margin-bottom: 25px;
}

.button:hover, .button.share:hover {
	transform: scale(1.05);
}

.button.share {
	min-width: 200px;
	font-size: 20px;
	border-width: 32px 20px 32px 20px;
	position: absolute;
	left: 50%;
	margin-left: -100px;
	top: 592px;
}

.beer, .wine{
	display: inline-block;
	width: 50px;
}

.places img {
	width: 230px;
	margin: auto;
	margin-bottom: 50px;
	transition: all .2s ease-in-out;
	cursor: pointer;
}

.places img:hover {
	transform: scale(1.05);
}

.places .middle {
	margin-top: 90px;
}

#result {
	position: absolute;
	top: 20px;
	width: 800px;
	height: 800px;
	left: 50%;
	margin-left: -400px;
	padding-bottom: 800px;
}

#border-last {
	padding: 40px;
	top: -40px;
	position: absolute;
	width: 100%;
	height: 100%;
}

h2 {
	color: #dcb648;
	font-size: 50px;
	position: absolute;
	left: 50%;
	margin-left: -200px;
	min-width: 400px;
}

h2.last-h2-1 {
	top: 130px;
}

h2.last-h2-2 {
	top: 475px;
}

h3.last-h3 {
	font-size: 60px;
	position: absolute;
	left: 50%;
	margin-left: -500px;
	min-width: 1000px;
	top: 300px;
}

p.p-share {
	font-size: 14px;
	position: absolute;
	min-width: 400px;
	left: 50%;
	margin-left: -200px;
	left: 50%;
	top: 550px;
}

body[data-state="1"] #state-1 {
	display: block;
}

body[data-state="2"] #state-2 {
	display: block;
}

body[data-state="3"] #state-3 {
	display: block;
}

body[data-state="4"] #state-4 {
	display: block;
}

/* body[data-state="5"] {
	overflow: scroll;
} */

body[data-state="5"] #state-5 {
	display: block;
	height: 850px;
}

body[data-state="5"] #bg {
	display: none;
}

/* body[data-state="5"] #bg-last {
	display: block;
} */

@media screen and (max-width: 800px) {
	#border-last {
		width: 700px;
		left: 50px;
	}

	h2 {
		font-size: 40px;
	}

	#result-text {
		top: 330px;
		font-size: 35px;
	}

	p.p-share {
		font-size: 12px;
		top: 540px;
	}

	.button.share {
		top: 580px;
	}

	.question {
		font-size: 35px;
		max-width: 370px;
		border-width: 35px 46px 50px 46px;
	}
}


@media screen and (max-width: 600px) {
	#logo {
		position: fixed;
		width: 80px;
		left: 50%;
		top: 5%;
		margin-left: -40px;
	}

	#border-last {
		width: 500px;
		left: 150px;
	}

	.col-xs-6 {
		/* width: 100%; */
	}

	main {
		padding-top: 120px;
	}
}


@media screen and (max-width: 500px) {
	#border-last {
		display: none;
	}

	#bg {
		display: block !important;
	}

	.question {
		font-size: 20px;
		max-width: 250px;
		border-width: 13px 21px 37px 21px;
	}

	.button {
		border-width: 18px 11px 18px 11px;
		min-width: 111px;
		font-size: 14px;
	}

	.wine, .beer {
		width: 18px;
	}


	#result-text {
		top: 0;
		left: 0;
		margin: 0;
		min-width: 0;
		position: relative;
		font-size: 28px;
		/* top: 190px; */
	}

	.last-h2-1, .last-h2-2 {
		top: 0 !important;
		left: 0;
		margin: 0;
		min-width: 0;
		position: relative;
		font-size: 28px;
		padding: 3px;
		/* top: 240px; */
	}

	.last-h2-1 {
		margin-top: 100px;
	}

	p.p-share {
		top: 0 !important;
		left: 0;
		margin: 0;
		min-width: 0;
		position: relative;
		/* top: 305px; */
	}

	.button.share {
		top: 0 !important;
		left: 0;
		margin: 0;
		min-width: 0;
		position: relative;
		border-width: 22px 11px 22px 11px;
		min-width: 120px;
		font-size: 16px;
		margin-top: 20px;
	}

	body[data-state="5"] #state-5 {
		height: 500px;
	}
}
