/* ----------------------------------
        INFOGRAPHIC STYLES
---------------------------------- */
* {
    margin: 0px;
    padding: 0px;
}
body {
    background: #373737;
    overflow-x: hidden;
    font-size: 16px;
	font-family: 'Lato', sans-serif;
	color: #111111;
}
#main_wrapper {
    width: 100%;
    height: auto;
    background: #ffffff;
    margin: 0 auto;
}
.wrapper {
    width: 63vw;
    max-width: 1700px;
    height: auto;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5.3125em;
    padding-bottom: 5.3125em;
    box-sizing: border-box;
}

/* Font Styles ------------------------- */
p {
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 150%;
	font-size: 1em;
}
li {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 150%;
    font-size: 1em;
    margin-left: 1.25em;
}

h1 {
    font-size: 4.125em;
	line-height: 100%;
    font-weight: bold;
	font-family: 'Roboto Condensed', sans-serif;
}
h2 {
    font-size: 3.125em;
	line-height: 100%;
    font-weight: bold;
	font-family: 'Roboto Condensed', sans-serif;
}
h3 {
    font-size: 2.5em;
	line-height: 100%;
    font-weight: bold;
	font-family: 'Roboto Condensed', sans-serif;
}


.red {color: #b62816;}
.blue {color: #0071c5;}
.dk_blue {color: #01386c;}
.blue_gray {color: #325e73;}
.green {color: #4e9d27;}
.white {color: #ffffff;}
.dk_gray {color: #111111;}


/* Misc Default Styles ------------------------- */
.nomargin { margin: 0 !important; }
.notopmargin, .nomargintop {margin-top: 0 !important;}
.nobottommargin, .nomarginbottom {margin-bottom: 0 !important;}

.left {text-align: left;}
.center {text-align: center;}
.right {text-align: right;}

.section {position: relative;}

.left_half, .right_half {width: 49%;}

.full_img {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
}

/* ----------------------------------
            CUSTOM CODE
---------------------------------- */
#main_inner {
	min-height: 100vh;
	background: #ffffff;
	position: relative;
	z-index: 1;
	box-shadow: 0px 0.125em 0.3125em 0px rgba(0,0,0,0.21);
}

#box_1 {
	width: 100%;
	height: 61.4375em;
	background: url(../images/1_BG.jpg) 50% 50% / cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
#sky_container_1 {
	width: 66.883%;
    height: 10.8335vw;
    position: absolute;
    right: 0;
    bottom: 34.5vw;
}
#clouds_1 {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    right: -10%;
}
#plane_1 {
	width: 75.256%;
    height: auto;
    position: absolute;
    top: 0;
    right: 9%;
}
#city_container_1 {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}
#city_1 {
    width: 60.263%;
    height: auto;
    position: absolute;
    bottom: 0px;
    right: -8.6695%;
}
#people_1 {
	width: 42.715%;
    height: auto;
    position: absolute;
    bottom: -2.239%;
    right: 2.207%;
}
#train_1 {
    width: 50.333%;
    height: auto;
    position: absolute;
    bottom: 0px;
    left: -0.841%;
}
#textbox_1 {width: 50%;}

#textbox_2 {
	width: 90%;
	margin: 0 auto;
}

#box_3 {
	width: 100%;
	min-height: 55.3125em;
	background: url(../images/2_BG.jpg) 50% 50% / cover no-repeat;
	display: flex;
    align-items: center;
}
#box_3 .wrapper {
	border: 1.25em solid rgba(255, 255, 255, 1);
	padding: 5em 3.75em;
	background-color: rgba(50,94,115,0.95);
	box-shadow: 0px 0px 1.125em 0px rgba(0, 0, 0, 0.51);
	min-height: 27.5em;
	display: flex;
	align-items: center;
}
#textbox_3 {
	width: 80%;
    margin: 0 auto;
}

#textbox_4 {
	width: 70%;
	margin: 0 auto;
}

#box_5 .wrapper {padding-top: 0;}
#bg_box_5 {
	width: 100%;
	height: 77%;
	background: url(../images/4_Band.jpg) 50% 100% / cover no-repeat;
	position: absolute;
	bottom: 0;
	left: 0;
}
#statistics_container {
	width: 100%;
	height: auto;
	margin-top: 2.1875em;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.stat {
	width: calc(33% - 0.875em);
	min-height: 12.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.4375em;
    padding: 2em 1.5em;
    box-sizing: border-box;
    background-color: #fdf8ec;
    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.2);
}
.stat h2 {margin-top: 0.1em;}
.stat p {width: 100%;}

#box_6 {
	width: 100%;
	height: 67.5em;
	background: url(../images/5_End.jpg) 50% 100% / 71.375em no-repeat;
	position: sticky;
	bottom: 0;
	left: 0;
	overflow: hidden;
	display: flex;
    align-items: flex-start;
	flex-wrap: wrap;
}
#box_6 .wrapper {padding-bottom: 1.25em;}
#house_6 {
	display: none;
	position: relative;
	margin: 0 auto;
	height: auto;
}
#textbox_6 {
	width: 80%;
	margin: 0 auto;
}
#button_container {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 3.125em;
	flex-wrap: wrap;
    row-gap: 0.9em;
}
.buttonStyle {
	width: 12.375em;
    display: inline-flex;
	margin: 0 0.5em;
    padding: 0.75em 0.625em;
    text-align: center;
	border-color: #111111;
    border-width: 0.1em;
    border-style: solid;
    align-items: center;
    justify-content: center;
}
a {
	color: #111111;
    text-decoration: none;
	cursor: pointer;
}
.buttonStyle:hover {
    transform: scale(1.05);
    transition: all 0.15s;
}


/* Keep these near the bottom to make sure your custom code doesn't accidentally overwrite these classes */
.show_on_HD {display: block;}
.show_on_4K, .show_on_MOB {display: none;}

/* ----------------------------------
            MEDIA QUERIES
---------------------------------- */
/* 4K */
@media only screen and (min-width: 3500px) {
    .show_on_4K {display: block;}
    .show_on_HD, .show_on_MOB {display: none;}
    body {font-size: 24px;}
	#device_container_1_1 {width: 32vw;}
	#device_container_1_2 {right: 2vw;}
	#device_container_1_2 .inner {height: 61.704%;}
}


/* SMALLER DESKTOP */
@media only screen and (max-width: 1920px) and (min-width: 1025px) {
    .wrapper {width: calc(1210px + ((0.32 * 100vw) + -610px));} 
}
@media only screen and (max-width: 1200px) {
    #box_6 {background: none;}
	#house_6 {
		display: block;
		width: 75%;
	}
}
@media only screen and (max-height: 1080px) {
    #box_6 {height: 100vh;}
	#box_6 {background: none;}
	#house_6 {
		display: block;
		width: 75%;
	}
}
@media only screen and (max-height: 980px) {
    #box_1 {height: 95vh;}
}
@media only screen and (max-height: 885px) {
    #box_3 {min-height: 100vh;}
}


/* TABLET */
@media only screen and (max-width: 1024px) {
	.wrapper {
		width: 100%;
		padding: 50px;
	}
	#box_1 {height: 51.198vw;}
	#sky_container_1 {
		top: 5%;
		bottom: unset;
		right: 11%;
	}
	#box_3 {
		height: unset;
		min-height: 55vw;
		padding: 50px;
		box-sizing: border-box;
	}
	#box_3 .wrapper {
		padding: 60px 40px;
		min-height: unset;
	}
	#textbox_3 {width: 100%;}
	#textbox_4 {width: 100%;	}
	#statistics_container {margin-top: 24px;}
	.stat {padding: 20px;}
	#button_container {margin-top: 50px;}
}


/* MOBILE */
@media only screen and (max-width: 768px) {
    .show_on_MOB {display: block;}
    .show_on_HD, .show_on_4K {display: none;}
	body {font-size: 14px;}
	p {
		margin-top: 12px;
    	margin-bottom: 12px;
		line-height: 140%;
	}
	li {line-height: 140%;}
	h1 {font-size: 4em;}
	h2 {font-size: 3em;}
	h3 {font-size: 2.25em;}
	.p24 {font-size: 1.325em;}
	.wrapper {padding: 40px;}
	#box_1 .wrapper {padding: 50px;}
	#textbox_2 {width: 100%;}
	#textbox_4 {width: 100%;}
	#bg_box_5 {height: 80%;}
	.stat {
		width: calc(50% - 0.875em);
		min-height: unset;
	}
	#button_container {margin-top: 40px;}
	#box_6 {
		height: auto;
		min-height: auto;
	}
}

@media only screen and (max-width: 600px) {
	h1 {font-size: 3.5em;}
	.wrapper {padding: 20px;}
	#box_1 {
		height: 82vw;
		align-items: flex-start;
	}
	#box_1 .wrapper {padding: 40px;}
	#sky_container_1 {display: none;}
	#city_container_1 {width: 115%;}
	#textbox_1 {
		width: 100%;
		margin: 0 auto;
	}
	#box_3 {
		min-height: unset;
		padding: 30px 20px;
	}
	#box_3 .wrapper {
		border: 10px solid rgba(255, 255, 255, 1);
		padding: 20px;
	}
	#bg_box_5 {height: 88%;}
	#statistics_container {margin-top: 20px;}
	.stat {width: calc(100% - 0.875em);}	
	#textbox_6 {
		width: 100%;
		margin-bottom: 10px;
	}
	#button_container {
		margin-top: 20px;
		margin-bottom: 10px;
	}
}

@media only screen and (max-width: 345px) {
	#box_1 {height: 90vw;}
	#box_1 .wrapper {padding: 30px;}
	#box_3 {padding: 26px 12px;}
	#box_3 .wrapper {
		border: 8px solid rgba(255, 255, 255, 1);
		padding: 12px;
	}
}

