@font-face {
	font-family: 'Century Gothic';
	src: url('/fontit/century_gothic.eot');
	src: url('/fontit/century_gothic.eot?#iefix') format('embedded-opentype'), url('/fontit/century_gothic.woff2') format('woff2'),
		url('/fontit/century_gothic.woff') format('woff'), url('/fontit/century_gothic.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

* {
	box-sizing: border-box;
}

html {
	height: 100%;
	font-size: 12px;
}

body {
	font-family: 'Century Gothic', sans-serif;
	background-color: #013c3e;
	background-image:
		radial-gradient(720px 250px ellipse at center 18rem, rgba(0, 194, 199, 1), 25%, rgba(0, 194, 199, 0.4), 60%, rgba(0, 194, 199, 0)),
		radial-gradient(720px 250px ellipse at center 34rem, rgba(0, 194, 199, 1), 25%, rgba(0, 194, 199, 0.4), 60%, rgba(0, 194, 199, 0));
	background-repeat: no-repeat;
	letter-spacing: 0.1rem;
	text-rendering: optimizeLegibility;
	font-weight: 500;
	color: #fff;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	margin: 0;
	padding: 3rem 1rem 1rem;
	min-height: 100%;
}

@media (max-width: 1440px) {
	body {
		background-image:
			radial-gradient(50vw 20vw ellipse at center calc(2rem + 15vw), rgba(0, 194, 199, 1), 25%, rgba(0, 194, 199, 0.4), 60%, rgba(0, 194, 199, 0)),
			radial-gradient(50vw 20vw ellipse at center calc(15rem + 15vw), rgba(0, 194, 199, 1), 25%, rgba(0, 194, 199, 0.4), 60%, rgba(0, 194, 199, 0));
	}
}

@media (max-width: 1024px) {
	body {
		background-image:
			radial-gradient(50vw 20vw ellipse at center calc(17rem + 5vw), rgba(0, 194, 199, 1), 25%, rgba(0, 194, 199, 0.4), 60%, rgba(0, 194, 199, 0)),
			radial-gradient(50vw 20vw ellipse at center calc(20rem + 15vw), rgba(0, 194, 199, 1), 25%, rgba(0, 194, 199, 0.4), 60%, rgba(0, 194, 199, 0));
	}
}

@media (max-width: 500px) {
	body {
		background-image:
			radial-gradient(50vw 20vw ellipse at center calc(19rem + 5vw), rgba(0, 194, 199, 1), 25%, rgba(0, 194, 199, 0.4), 60%, rgba(0, 194, 199, 0)),
			radial-gradient(50vw 20vw ellipse at center calc(21rem + 15vw), rgba(0, 194, 199, 1), 25%, rgba(0, 194, 199, 0.4), 60%, rgba(0, 194, 199, 0));
	}
}

a {
	color: inherit;
}

a[href^='tel:'],
a[href^='mailto:'] {
	text-decoration: none;
}

.title-area {
	padding: 3rem 0;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
}

.title {
	display: flex;
	align-items: flex-end;
}

.title h1 {
	margin: 0;
	font-size: 3rem;
	letter-spacing: 0.4rem;
	vertical-align: baseline;
}

.title h2 {
	margin: 0;
	font-size: 1.5rem;
	letter-spacing: 0.1rem;
	vertical-align: baseline;
	padding-left: 1rem;
	padding-bottom: 0.35rem;
}

@media (max-width: 1024px) {
	.title-area {
		flex-direction: column;
	}

	.nav {
		padding-top: 2rem;
	}
}

@media (max-width: 500px) {
	.title {
		flex-direction: column;
		align-items: center;
	}
}

.nav {
	text-transform: uppercase;
	font-size: 1.2rem;
	font-weight: bold;
}

.nav-list {
	margin: 0;
	padding: 1rem 0 0;
	list-style: none;
	display: flex;
}

.nav-list-item {
	position: relative;
}

.nav-list-item + .nav-list-item {
	margin-left: 2rem;
}

.nav-list-item a {
	text-decoration: none;
}

.nav-list-item.active::before {
	content: '';
	border-radius: 50%;
	background-color: #fff;
	display: block;
	width: 0.8rem;
	height: 0.8rem;
	position: absolute;
	bottom: calc(100% + 0.1rem);
	left: 1rem;
}

.jumbotron {
	width: 1440px;
	height: 317px;
	box-sizing: content-box;
	background-color: #af977f;
	background-image: url('/kuvat/banner_etusivu.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-top: 0.5rem solid #fff;
	border-bottom: 0.5rem solid #fff;
	position: relative;
}

.jumbotron-etusivu {
	background-image: url('/kuvat/banner_etusivu_kuvateksti.png'), url('/kuvat/banner_etusivu.png');
	background-position: center 40%, center center;
	background-size: auto, cover;
}

.jumbotron-tuotteet {
	background-image: url('/kuvat/banner_tuotteet.png');
}

.jumbotron-yhteystiedot {
	background-image: url('/kuvat/banner_yhteystiedot.png');
}

.finnish-flag {
	position: absolute;
	top: -0.25rem;
	right: 24rem;
	transform: translate(50%, -50%);
	width: 4rem;
	height: calc(4rem * 11 / 18);
	background-color: #fff;
	box-shadow: -0.3rem 0.3rem 1rem 0.2rem rgba(0, 0, 0, 0.8);
}

.finnish-flag::before {
	content: '';
	display: block;
	position: absolute;
	background-color: #003f87;
	top: 0;
	bottom: 0;
	left: calc(500% / 18);
	right: calc(1000% / 18);
}

.finnish-flag::after {
	content: '';
	display: block;
	position: absolute;
	background-color: #003f87;
	top: calc(400% / 11);
	bottom: calc(400% / 11);
	left: 0;
	right: 0;
}

@media (max-width: 1440px) {
	.jumbotron {
		width: 100vw;
		height: 22vw;
		background-size: contain;
	}

	.jumbotron-etusivu {
		background-size: auto, contain;
	}

	.finnish-flag {
		right: 20%;
	}
}

@media (max-width: 920px) {
	.jumbotron-etusivu {
		background-size: contain, contain;
	}
}

.footer {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 2rem;
	width: 920px;
}

.footer-border {
	width: 64rem;
	height: 0.1rem;
	background-image: linear-gradient(90deg, rgba(0, 194, 199, 0), rgba(0, 194, 199, 0.4), rgba(0, 194, 199, 0));
}

.footer > * + * {
	margin-left: 2rem;
}

.footer > *:last-child {
	margin-left: auto;
}

@media (max-width: 920px) {
	.footer {
		width: 100vw;
	}

	.footer-border {
		width: calc(100vw - 2rem);
	}
}

@media (max-width: 600px) {
	.footer {
		flex-direction: column;
		height: auto;
	}

	.footer > * + *,
	.footer > *:last-child {
		margin-left: 0;
	}
}

main {
	margin-top: 4rem;
	display: flex;
	align-items: center;
}

.feature-list {
	list-style-type: none;
	padding: 0;
	margin: -5rem 0 0 0;
}

.feature-list li + li {
	margin-top: 1.2rem;
}

.feature-list li::before {
	content: '-';
	padding-right: 0.5rem;
}

@media (max-width: 600px) {
	main {
		flex-direction: column-reverse;
	}

	.feature-list {
		margin: 0 0 4rem;
	}

	.feature-image {
		margin-left: -120px;
	}
}

@media (max-width: 400px) {
	.feature-image {
		width: 98vw;
	}
}

.main-tuotteet {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 1rem;
}

@media (max-width: 1300px) {
	.main-tuotteet {
		display: flex;
		flex-flow: row wrap;
		justify-content: center;
	}
}

.main-tuotteet img {
	margin-left: -6rem;
	margin-bottom: -5rem;
}

@media (max-width: 700px) {
	.main-tuotteet img {
		width: 40vw;
	}
}

.main-tuotteet > * {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	width: 21rem;
	height: 26rem;
	margin-top: 1rem;
	margin-bottom: 6rem;
}

.main-tuotteet > *:nth-child(1) { z-index: 100; }
.main-tuotteet > *:nth-child(2) { z-index: 99; }
.main-tuotteet > *:nth-child(3) { z-index: 98; }
.main-tuotteet > *:nth-child(4) { z-index: 97; }
.main-tuotteet > *:nth-child(5) { z-index: 96; }
.main-tuotteet > *:nth-child(6) { z-index: 95; }
.main-tuotteet > *:nth-child(7) { z-index: 94; }
.main-tuotteet > *:nth-child(8) { z-index: 93; }
.main-tuotteet > *:nth-child(9) { z-index: 92; }
.main-tuotteet > *:nth-child(10) { z-index: 91; }
.main-tuotteet > *:nth-child(11) { z-index: 90; }
.main-tuotteet > *:nth-child(12) { z-index: 89; }
.main-tuotteet > *:nth-child(13) { z-index: 88; }
.main-tuotteet > *:nth-child(14) { z-index: 87; }
.main-tuotteet > *:nth-child(15) { z-index: 86; }
.main-tuotteet > *:nth-child(16) { z-index: 85; }
.main-tuotteet > *:nth-child(17) { z-index: 84; }
.main-tuotteet > *:nth-child(18) { z-index: 83; }
.main-tuotteet > *:nth-child(19) { z-index: 82; }
.main-tuotteet > *:nth-child(20) { z-index: 81; }

#product-img-risti {
	padding-top: 34px;
}

.main-tuotteet a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
}

.main-tuotteet a p {
	padding-left: 3rem;
}

@media (max-width: 600px) {
	.main-tuotteet > * {
		width: 42vw;
		height: 50vw;
		margin-bottom: 0;
	}

	.main-tuotteet a p {
		padding-left: 0;
	}
}

.tuote-thumbnail {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.main-yhteystiedot {
	display: flex;
	flex-flow: column nowrap;
	padding-bottom: 6rem;
	font-size: 120%;
	font-weight: bold;
	letter-spacing: 0.2rem;
}

.yhteystiedot-phone + .yhteystiedot-phone {
	margin-top: 0;
}

.yhteystiedot-email {
	margin-bottom: 0;
}

.yhteystiedot-url {
	margin-top: 0;
}

.product-header {
	padding-top: 3rem;
	display: flex;
	width: 100%;
	max-width: 80rem;
	letter-spacing: 0.2rem;
}

.product-nav {
	display: flex;
}

.product-header h2 {
	flex-grow: 1;
}

.product-header a {
	width: 6rem;
	margin-left: 1rem;
	margin-right: 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
}

.product-header-back:last-child {
	margin-right: 7rem;
}

.product-image {
	width: 405px;
	height: 680px;
	position: relative;
	z-index: -1;
}

.product-image img {
	position: absolute;
	top: 0;
	right: 0;
}

.product-footer {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	max-width: 80rem;
	margin-bottom: 2rem;
}

@media (max-width: 450px) {
	.product-header {
		flex-direction: column;
		align-items: center;
	}

	.product-image {
		margin-top: 2rem;
		width: 95vw;
		height: 150vw;
	}

	.product-image img {
		width: 146vw;
	}
}
