@font-face {
  font-family: 'CherryCreamSoda';
  src: url('cherrycreamsoda.ttf')  format('truetype'); /* Safari, Android, iOS */
}


body {
	background: #222;
	padding: 0;
	margin: 0;
	text-size-adjust: none;
}

.wrapper {
	background: url('erottajankatu.jpg') no-repeat #222;
	background-size: cover;
	background-position: center bottom -160px;
	position: relative;
	border: 4px solid #fff;
	margin: 10px;
	min-height: calc(100vh - 30px);
}

.top {
	display: inline-block;
	width: calc(100% - 100px);
	margin: 30px auto;
	padding: 0 50px;
}

.bottom_left {
	position: absolute;
	left: 50px;
	bottom: 40px;
	width: auto;
}
.bottom_right {
	position: absolute;
	right: 50px;
	bottom: 40px;
}

.logo {
	width: 300px;
}

.kuva {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 50%;
}

h2 {
	font-family: 'CherryCreamSoda', Arial, sans-serif;
	font-size: 40px;
	color: #43838e;
	text-align: center;
	margin: 20px 0 0 0;
}
h2 span {
	color: #fff;
	font-size: 32px;
}
h2 small {
	font-size: 22px;
	font-family: cursive;
	color: #abc39f;
}

h3 {
	font-family: 'CherryCreamSoda', Arial, sans-serif;
	font-size: 50px;
	margin: 0;
	color: #fff;
	text-align: center;
}

h4 {
	font-family: 'CherryCreamSoda', Arial, sans-serif;
	font-weight: bold;
	font-size: 19px;
	color: #fff;
	text-align: left;
	margin: 50px 0 10px 0;
}

p {
	font-family: 'CherryCreamSoda', Arial, sans-serif;
	font-weight: bold;
	font-size: 26px;
	color: #abc39f;
	text-align: center;
	margin: 0 0 0 0;
}








@media only screen and (max-width: 990px) {
	.wrapper {
		background: url('erottajankatu_mobile.jpg') no-repeat #222;
		background-size: cover;
		background-position: center;
	}
	.logo {
		margin: 0 auto;
		display: block;
		text-align: center;
	}
	.kuva {
		display: none;
	}
	.bottom_left, .bottom_right {
		position: relative;
		left: 0;
	}
	h4 {
		text-align: center;
		margin-bottom: 100px;
	}
}

@media only screen and (max-width: 768px) {
	.wrapper {
		background: url('erottajankatu_mobile.jpg') no-repeat #222;
		background-size: cover;
	}
	.logo {
		width: 238px;
	}
	.left {
		float: none;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		padding-bottom: 0;
	}
	.right {
		float: none;
		width: 100%;
	}
	.bottom {
		padding: 20px;
	}
	h2 {
		font-size: 28px;
	}
	h2 small {
		font-size: 22px;
	}
	h3 {
		font-size: 32px;
	}
}



