html, body { overflow-x: hidden; }

body {
	background-color: #f9deba;
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif; 
}

main {
	overflow: auto;
}

main > section {
	height: 100vh; /* Use vh as a fallback for browsers that do not support Custom Properties */
  	height: calc(var(--vh, 1vh) * 100);
	position: relative;
	overflow: hidden;
}

main > section > img {
	position: absolute;
	left: 0;
	bottom: 0;
}

#clouds {
	width: 98%;
	margin: 0 1%;
    bottom: 50%;
}

#land {
}

#building {
    z-index: 10;
}

#people01 {
    
}

#people02 {
    z-index: 11;
}

#people03 {
    
}

#people04 {
    z-index: 120;
}

#people05 {
    z-index: 120;
}

#people06 {
    z-index: 11;
}

#truck {
    bottom: 40px;
    width: 600px;
    height: 314px;
    /*transform: translateX(-50%);
	position: fixed;
    left: 50vw;*/
	z-index: 200;
	position: absolute;
	-webkit-transform: translateX(-55%);
	        transform: translateX(-55%);
	left: 0;
	pointer-events: none;
}

#truck.alternate {
	display: none;
}

#truck.enter {
	-webkit-transform: translateX(-50%);
	        transform: translateX(-50%);
	position: fixed;
    left: 50vw;
	-webkit-transition: all 2s ease-in;
	transition: all 2s ease-in;
}

#truck.enter.leave {
	-webkit-transform: translateX(100%);
	        transform: translateX(100%);
	position: absolute;
    right: 0;
	left: inherit;
	-webkit-transition: all 2s ease-in;
	transition: all 2s ease-in;
}

#truck.spin, #truck > img#wheel.spin, #truck > img#wheel2.spin, #truck > img.wheel.spin, #truck > img.wheel2.spin {
	-webkit-animation:spinForward 4s linear infinite;
	        animation:spinForward 4s linear infinite;
}

#truck > img#bubble01 {
	opacity: 1;
}

#truck > img#bubble02 {
	opacity: 0;
}

#truck.enter > img#bubble01 {
	opacity: 0;
	-webkit-transition: all 0.5s ease-in;
	transition: all 0.5s ease-in;
}

#truck.original.enter.bubble2 > img#bubble02, #truck.alternate.enter.bubble2 > img#bubble02 {
	-webkit-animation:fade 5.5s linear forwards;
	        animation:fade 5.5s linear forwards;
}

@-webkit-keyframes fade { 
    0% { 
		opacity: 0;
		-webkit-transition: all 0.5s ease-in;
		transition: all 0.5s ease-in;
    }  
    10% { 
		opacity: 1;
		-webkit-transition: all 0.5s ease-in;
		transition: all 0.5s ease-in;
    }   
    90% { 
		opacity: 1;
		-webkit-transition: all 0.5s ease-in;
		transition: all 0.5s ease-in;
    } 
    100% { 
		opacity: 0;
		-webkit-transition: all 0.5s ease-in;
		transition: all 0.5s ease-in;
    } 
}

@keyframes fade {  
    0% { 
		opacity: 0;
		-webkit-transition: all 0.5s ease-in;
		transition: all 0.5s ease-in;
    }  
    25% { 
		opacity: 1;
		-webkit-transition: all 0.5s ease-in;
		transition: all 0.5s ease-in;
    }   
    75% { 
		opacity: 1;
		-webkit-transition: all 0.5s ease-in;
		transition: all 0.5s ease-in;
    } 
    100% { 
		opacity: 0;
		-webkit-transition: all 0.5s ease-in;
		transition: all 0.5s ease-in;
    } 
}

#land {
	position: absolute;
	left: 0;
	bottom: 0;
}

#truck > img {
	position: absolute;
	left: 0;
	bottom: 0;
}

#truck > img#wheel, #truck > img.wheel {
	width: 8%;
    bottom: 5.6%;
    left: 8.1%;
    /* opacity: 0;*/
	-webkit-animation:spinNone 4s linear infinite;
	        animation:spinNone 4s linear infinite;
}

#truck > img#wheel2, #truck > img.wheel2 {
	width: 8%;
    bottom: 5.6%;
    left: 75.1%;
    /* opacity: 0;*/
	-webkit-animation:spinNone 4s linear infinite;
	        animation:spinNone 4s linear infinite;
}

@-webkit-keyframes spinForward { 
    100% { 
        -webkit-transform:rotate(360deg); 
                transform:rotate(360deg); 
    } 
}

@keyframes spinForward { 
    100% { 
        -webkit-transform:rotate(360deg); 
                transform:rotate(360deg); 
    } 
}

@-webkit-keyframes spinReverse { 
    100% { 
        -webkit-transform:rotate(-360deg); 
                transform:rotate(-360deg); 
    } 
}

@keyframes spinReverse { 
    100% { 
        -webkit-transform:rotate(-360deg); 
                transform:rotate(-360deg); 
    } 
}

@-webkit-keyframes spinNone { 
    100% { 
        -webkit-transform:rotate(0deg); 
                transform:rotate(0deg); 
    } 
}

@keyframes spinNone { 
    100% { 
        -webkit-transform:rotate(0deg); 
                transform:rotate(0deg); 
    } 
}

div.text {
	width: 8.2%;
	max-width: 420px;
    position: absolute;
    top: 5%;
    left: 0;
	text-align: center;
	opacity: 0;
	-webkit-transition: all 0.5s ease-in;
	transition: all 0.5s ease-in;
	background-color: white;
    border-radius: 20px;
    padding: 15px;
    margin-top: 15px;
	z-index: 1000;
}

div.title {
	position: absolute;
}

/*div.text:nth-of-type(1) {
	left: 1%;
	top: 0;
}

div.text:nth-of-type(2) {
	left: 16%;
}

div.text:nth-of-type(3) {
	left: 33%;
}

div.text:nth-of-type(4) {
	left: 49%;
}

div.text:nth-of-type(5) {
	left: 63%;
    width: 12.6%;
	max-width: 600px;
}

div.text:nth-of-type(6) {
	left: 79.5%;
}

div.text:nth-of-type(7) {
	left: 91%;
	width: 7.4%;
	max-width: 360px;
}*/

div.text:nth-of-type(1) {
	left: 1%;
	top: 0;
}

div.text:nth-of-type(2) {
	left: 90%;
	/*width: 7.4%;
	max-width: 360px;*/
	z-index: 10;
}

p.small {
	font-size: 0.875rem;
}

div.text.showText {
	opacity: 1;
	top: 0;
	-webkit-transition: all 0.5s ease-in;
	transition: all 0.5s ease-in;
	max-height: calc(100vh - 60px);
    overflow-y: auto;
}

img.image01 {
	z-index: 9;
}

img.image01.showText {
	-webkit-transition: all 3s ease-in-out;
	transition: all 3s ease-in-out;
}

img.image02 {
	z-index: 300;
}

img.bin {
	z-index: 300;
}

img.image03 {
	z-index: 300;
	opacity: 0;
}

img.image03.showText {
	opacity: 1;
	-webkit-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

img.image04, div.image04 {
	z-index: 100;
	opacity: 0;
	position: absolute;
}

div.image04 > img.dot {
	width: 1.5%;
    position: absolute;
    right: 16%;
    bottom: 0;
	opacity: 0;
}

div.image04 > img.dot:nth-of-type(3) {
	right: 13.5%;
}

div.image04 > img.dot:nth-of-type(4) {
	right: 11%;
}

div.image04.showText > img.dot {
	opacity: 1;
	-webkit-animation: dots 1s infinite;
	        animation: dots 1s infinite;
	-webkit-animation-delay: 0s;
	        animation-delay: 0s;
}

div.image04.showText > img.dot:nth-of-type(3) {
	-webkit-animation: dots 1s infinite;
	        animation: dots 1s infinite;
	-webkit-animation-delay: .3s;
	        animation-delay: .3s;
}

div.image04.showText > img.dot:nth-of-type(4) {
	-webkit-animation: dots 1s infinite;
	        animation: dots 1s infinite;
	-webkit-animation-delay: 0.6s;
	        animation-delay: 0.6s;
}

@-webkit-keyframes dots {
    100% { 
        opacity: 0.1;
    } 
}

@keyframes dots {
    100% { 
        opacity: 0.1;
    } 
}

img.image04.showText, div.image04.showText {
	opacity: 1;
    -webkit-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

img.image05, div.image05 {
	z-index: 300;
	position: absolute;
}

div.image05 > img:nth-of-type(2) {
	position: absolute;
	opacity: 0;
}

div.image05 > img.dot {
	width: 1.5%;
    position: absolute;
	opacity: 0;
}

div.image05 > img.dot:nth-of-type(3) {
	left: 4.5%;
}

div.image05 > img.dot:nth-of-type(4) {
	left: 2%;
}

div.image05.showText > img.dot {
	opacity: 1;
	-webkit-animation: dots 1s infinite;
	        animation: dots 1s infinite;
}

div.image05.showText > img:nth-of-type(2) {
	opacity: 1;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

div.image05.showText > img.dot {
	-webkit-animation: dots 1s infinite;
	        animation: dots 1s infinite;
	-webkit-animation-delay: 0.6s;
	        animation-delay: 0.6s;
}

div.image05.showText > img.dot:nth-of-type(3) {
	-webkit-animation: dots 1s infinite;
	        animation: dots 1s infinite;
	-webkit-animation-delay: 0.3s;
	        animation-delay: 0.3s;
}

div.image05.showText > img.dot:nth-of-type(4) {
	-webkit-animation: dots 1s infinite;
	        animation: dots 1s infinite;
	-webkit-animation-delay: 0s;
	        animation-delay: 0s;
}

img.image06 {
	z-index: 300;
}

img.image07, div.image07 {
	z-index: 100;
	position: absolute;
}

div.image07::after {
	content: '';
    display: block;
    width: 0;
    height: 2px;
    position: absolute;
    left: 10%;
    bottom: 15%;
    background: black;
}

img.image07.showText, div.image07.showText {
	-webkit-transition: all 2s ease-in-out;
	transition: all 2s ease-in-out;
}

div.image07.showText::after {
	width: 80%;
	-webkit-transition: all 2s ease-in-out;
	transition: all 2s ease-in-out;
	-webkit-transition-delay: 2s;
	        transition-delay: 2s;
}

img.image08 {
	z-index: 100;
	opacity: 0;
}

img.image08.showText {
	opacity: 1;
    -webkit-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
	-webkit-transition-delay: 2s;
	        transition-delay: 2s;
}

img.image10 {
	z-index: 300;
}

img.image10.showText {
	opacity: 1;
	-webkit-transition: all 2s ease-in-out;
	transition: all 2s ease-in-out;
	-webkit-transition-delay: 2s;
	        transition-delay: 2s;
}

img.image11 {
	z-index: 100;
}

#twinkle {
	position: absolute;
    z-index: 90;
	-webkit-animation: twinkle 3s infinite;
	        animation: twinkle 3s infinite;
	-webkit-animation-delay: 1s;
	        animation-delay: 1s;
}

@-webkit-keyframes twinkle {
    100% { 
        -webkit-transform:rotate(360deg) scale(0.2); 
                transform:rotate(360deg) scale(0.2); 
		opacity: 0.2;
    } 
}

@keyframes twinkle {
    100% { 
        -webkit-transform:rotate(360deg) scale(0.2); 
                transform:rotate(360deg) scale(0.2); 
		opacity: 0.2;
    } 
}

#trigger14 {
	position: absolute;
}

#trigger14 > img {
	position: absolute;
	z-index: 100;
}

#trigger14 > img:nth-of-type(1) {
	left: 4%;
    bottom: 9px;
    opacity: 0;
    width: 76%;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#trigger14 > img:nth-of-type(2) {
	left: 4%;
    bottom: 39px;
    opacity: 1;
    width: 76%;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#trigger14.showText > img:nth-of-type(1) {
	opacity: 1;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	-webkit-transition-delay: 4s;
	        transition-delay: 4s;
}

#trigger14.showText > img:nth-of-type(2) {
	opacity: 0;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	-webkit-transition-delay: 4s;
	        transition-delay: 4s;
}

#trigger15 {
	position: absolute;
}

#trigger15 > a img {
	position: absolute;
    top: 0;
    left: 0;
    width: 58%;
    -webkit-transform: translate(34%, 10%);
            transform: translate(34%, 10%);
    z-index: 92;
	opacity: 0;
}

div#trigger15::after {
    content: '';
    display: block;
    width: 94%;
    left: 3%;
    bottom: 119px;
    background: #364448;
    height: 0%;
    position: absolute;
    z-index: 90;
}

div#trigger15.showText::after {
    height: 66%;
	-webkit-transition: all 1s ease-in;
	transition: all 1s ease-in;
}

div#trigger15.showText > a img {
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
	opacity: 1;
	-webkit-transition-delay: 1.3s;
	        transition-delay: 1.3s;
	-webkit-transform: scale(2.1) translate(17%,-10%);
	        transform: scale(2.1) translate(17%,-10%);
    -webkit-transform-origin: center;
            transform-origin: center;
}

#trigger16 {
	position: absolute;
}

#trigger16 > div {
	position: absolute;
    width: 96%;
    height: 4.1%;
    background: #FFF8EC;
    top: 14%;
    left: 2%;
}

#trigger16 > div:nth-of-type(2) {
	top: 18%;
}

#trigger16 > div:nth-of-type(3) {
	top: 22.2%;
}

#trigger16 > div:nth-of-type(4) {
	top: 26.5%;
}

#trigger16 > div:nth-of-type(5) {
	top: 31%;
}

#trigger16 > div:nth-of-type(6) {
	top: 35%;
}

#trigger16 > div:nth-of-type(7) {
	top: 39%;
}

#trigger16.showText > div:nth-of-type(1) {
	opacity: 0;
	-webkit-transition-delay: 0.5s;
	        transition-delay: 0.5s;
}

#trigger16.showText > div:nth-of-type(2) {
	opacity: 0;
	-webkit-transition-delay: 0.7s;
	        transition-delay: 0.7s;
}

#trigger16.showText > div:nth-of-type(3) {
	opacity: 0;
	-webkit-transition-delay: 0.9s;
	        transition-delay: 0.9s;
}

#trigger16.showText > div:nth-of-type(4) {
	opacity: 0;
	-webkit-transition-delay: 1.1s;
	        transition-delay: 1.1s;
}

#trigger16.showText > div:nth-of-type(5) {
	opacity: 0;
	-webkit-transition-delay: 1.3s;
	        transition-delay: 1.3s;
}

#trigger16.showText > div:nth-of-type(6) {
	opacity: 0;
	-webkit-transition-delay: 1.5s;
	        transition-delay: 1.5s;
}

#trigger16.showText > div:nth-of-type(7) {
	opacity: 0;
	-webkit-transition-delay: 1.7s;
	        transition-delay: 1.7s;
}

#swipe {
	position: fixed;
    z-index: 2000;
    right: 10px;
    top: 50%;
    width: 50px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
	-webkit-animation: swipe 2s 3 linear;
	        animation: swipe 2s 3 linear;
	-webkit-animation-delay: 1s;
	        animation-delay: 1s;
	opacity: 1;
	pointer-events: none;
}

@-webkit-keyframes swipe {
    0% { 
        opacity: 1;
    }
    50% { 
        opacity: 0.3;
    } 
    100% { 
        opacity: 1;
    }  
}

@keyframes swipe {
    0% { 
        opacity: 1;
    }
    50% { 
        opacity: 0.3;
    } 
    100% { 
        opacity: 1;
    }  
}