* {
	font-family: "Open Sans", sans-serif;
	font-weight: 100;
	margin: 0;
	padding: 0;
}

a {
	color: black;
	transition: color 0.2s ease-out;
}

a:hover {
	color: #d68055;
}

a:link {
	text-decoration: none;
}

a:focus {
	decoration: none;
	outline: none;
}

a:active {
	text-decoration: none;
}

nav {
	position: fixed;
	z-index: 30;
	width: 100%;
}

body {
	background-color: white;
}

ul {
	list-style-type: none;
	display: flex;
	background-color: white;
	text-align: center;
	width: 100%;
	position: fixed;
	margin: 0;
	padding: 0;
	height: 100px;
	justify-content: space-between;
}

li {
	display: inline-block;
	background-color: white;
	text-align: center;
	height: 100%;
	width: 100%;
}

#navi h1 {
	overflow: hidden;
	text-align: center center;
	font-weight: bold;
	margin-top: 34px;
	text-transform: uppercase;
	transition: color 0.2s ease-out, text-decoration-color 0.2s ease-out;
	text-decoration: underline;
	text-decoration-color: white;
	text-underline-offset: 1px;
}

h1 {
	font-size: 1.3rem;
	color: black;
}

i {
	font-size: 1.3rem;
}

#etusivu_tuotteet {
	position: relative;
	left: 10%;
	right: 10%;
	top: 10%;
	margin: 5% 0 5% 0;
	display: inline-block;
	padding: 3%;
	background-color: #eeeeee;
	height: auto;
	text-align: center center;
	z-index: 11;
	width: 74%;
}

img#left {
	padding: 5px;
}

#nav_fb {
	height: 75px;
	width: 75px;
	border-radius: 50%;
	background-color: black;
	margin-right: 12px;
	margin-top: 12px;
}

#otsikko {
	position: relative;
	font-size: 3rem;
	font-weight: bold;
	padding: 3rem;
	width: 80%;
	left: 10%;
	righ: 10%;
	text-align: center;
	color: black;
	background-color: white;
}

#koko {
	margin-left: 3.2vw;
	font-weight: bold;
	font-size: 16px;
	line-height: 24px;
}

#koko tr {
}

#koko th {
	padding-right: 20px;
	font-weight: bold;
	font-size: 16px;
	line-height: 28px;
	text-align: left;
}

#laji_lista th {
	text-align: left;
	padding-right: 12px;
	line-height: 24px;
	font-weight: bold;
	margin-top: 4px;
	font-size: 16px;
}

#navi:hover {
	/*background-color: black;*/
}

#navi:hover h1 {
	color: #d68055;
	text-decoration-color: #d68055;
}

#profiili {
	float: right;
	padding: 0 3% 0 3%;
	width: 450px;
	height: auto;
}

#sisalto_otsikko {
	position: relative;
	text-align: center;
	font-size: 24px;
	line-height: 40px;
}

#sisalto_info {
	position: relative;
	left: 10%;
	right: 10%;
	margin-top: 10%;
	width: 74%;
	display: block;
	padding: 3%;
	background-color: #eeeeee;
	height: auto;
	text-align: center center;
	z-index: 11;
}

#takaisin {
	margin-left: 3.2vw;
	font-weight: bold;
	font-size: 14px;
	transition: color 0.1s ease-out;
}

#takaisin:hover {
	color: #d68055;
}

#tarina {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.1rem;
	font-weight: lighter;
	line-height: 2.2rem;
	z-index: 10;
	text-align: left;
}

.tarina-content {
	display: inline-block;
}

.tarina {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.1rem;
	font-weight: lighter;
}

#tarina-grid {
	display: grid;
	position: relative;
	grid-template-columns: repeat(autofill, minmax(400px, 1fr));
	grid-gap: 40px;
	width: 100%;
}

#tarina_otsikko {
	font-family: Georgia, "Times New Roman", Times, serif;
	position: relative;
	font-size: 2.3rem;
	font-weight: bold;
	width: 100%;
	padding-bottom: 16px;
	text-align: center;
	color: black;
	background-color: transparent;
}

#tarina_tausta {
	margin: 0;
	opacity: 1;
}

.center {
	text-align: center;
}

#tuotteet_etusivu_tausta {
	position: absolute;
	top: 800px;
	width: 100%;
	height: auto;
	margin: 0;
	saturation: 0.8;
	z-index: -1;
}

#tuotteet_tausta {
	position: absolute;
	top: 100px;
	width: 100%;
	height: auto;
	margin: 0;
	saturation: 0.8;
}

#tuotteet {
	display: inline-block;
	text-align: center;
	font-size: 1.3em;
	font-weight: lighter;
	line-height: 2em;
	z-index: 10;
}

#tuotteet_otsikko {
	position: relative;
	font-size: 3rem;
	font-weight: bold;
	width: 100%;
	padding-bottom: 1rem;
	text-align: center;
	top: 7%;
	color: black;
	background-color: transparent;
}

#tuote-etusivu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
	grid-column-gap: 20px;
	grid-row-gap: 40px;
}

#tuote-etusivu-grid-kuva {
	transition: transform 0.2s ease-out, margin-bottom 0.2s ease-out;
	width: auto;
	max-width: 75%;
	height: auto;
	max-height: 400px;
}

#tuote-etusivu-grid-kuva:hover {
	transform: scale(1.05);
	margin-bottom: 5px;
}

#tuote-grid {
	--grid-layout-gap: 20px;
	--grid-column-count: 3; /* This gets overridden by an inline style. */
	--grid-item--min-width: 400px; /* This gets overridden by an inline style. */

	/**
	* Calculated values.
	*/
	--gap-count: calc(var(--grid-column-count) - 1);
	--total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
	--grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));

	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
	grid-row-gap: 80px;
	grid-column-gap: 20px;
}

#teline-tuote-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
	grid-row-gap: 80px;
	grid-column-gap: 20px;
}

#tuote-pohja {
	position: absolute;
	left: 3%;
	right: 3%;
	top: 180px;
	display: inline-block;
	padding: 40px;
	background-color: #eeeeee;
	height: auto;
	text-align: center center;
	z-index: 11;
}

#tuote-kuva {
	width: 80%;
}

.flexbox {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
}

.flexbox-text {
	font-size: 1.3rem;
}

.flexbox-text {
	padding: 0 10px 0 10px;
}

#yhteystiedot_otsikko {
	position: relative;
	font-size: 2rem;
	font-weight: bold;
	width: 100%;
	padding-bottom: 1%;
	text-align: center;
	color: white;
	background-color: transparent;
}

#yhteystiedot {
	display: inline-block;
	position: relative;
	background-color: black;
	margin-top: 10%;
	width: 100%;
	height: auto;
	padding-top: 1%;
}

#yhteystiedot_grid {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 100% 100% 100%;
	grid-template-columns: 1fr 1fr 1fr;
	line-height: 2.5rem;
	font-size: 1rem;
	color: white;
	padding-bottom: 2%;
}

#yhteystiedot_vasen {
	text-align: left;
	padding-left: 7%;
}

#yhteystiedot_keski {
	text-align: center;
}

#yhteystiedot_oikea {
	color: white;
	text-align: right;
	padding-right: 7%;
}

#yhteystiedot_oikea:hover {
	text-decoration: underline;
}

#grid-kuva {
	position: relative;
	text-align: center;
	color: black;
}

#kuvateksti {
	align: bottom;
	font-weight: bold;
	margin-top: 4px;
	font-size: 1.4rem;
}

#hinta {
	align: bottom;
	font-weight: bold;
	margin-top: 4px;
	font-size: 1rem;
}
