html {
	height: 100%;
}
body {
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-family: "Meiryo","Noto Sans", Arial, sans-serif;
}
h4, h5, p {
	margin: 0;
}
h1	{
	text-align: center;
	border-bottom: 1px solid black;
	width: 60%;
	margin-bottom: 0;
}
h3	{
	margin: 1px;
	font-size: 1.7em;
}
h4 {
	height: 3em;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 5px;
}
h5 {
	text-align: center;
	font-size: 15px;
}
p {
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 15px;
	margin-bottom: 20px;
	flex-grow: 1;
}
header {
	background-color: azure;
	border-bottom: 2px solid aliceblue;
	width: 100%;
	flex-shrink: 0;
	flex-grow: 0;
	display: flex;
}
a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
table {
	border-spacing: 0px 5px;
}
th {
	padding: 10px 25px;
	width: 100px;
	background-color: skyblue;
}
td {
	padding: 10px;
}
img {
	height: 100%;
	width: 100%;
	object-fit: contain;
}
.main {
	min-height: 100%;
	background-color: #ffedcc;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
}
.logo {
	margin: 15px 0px;
	padding-left: 40px;
}
.logo img {
	width: 200px;
	height: 100%;
}
.navbar {
	display: flex;
	flex-direction: row;
	align-items: center;
	background-color: #396a93;
	width: 100%;
}
.navbar a {
	padding: 20px;
	margin: 0px 20px;
	color: white;
}
.navbar a:hover {
	text-decoration: underline;
}
.main-img {
	width: 100%;
	height: 500px;
}
.main-img div {
	background-image: url("kuva-2.jpg");
	background-size: cover;
	background-position-y: 25%;
	height: 100%;
}
.main-intro {
	width: 60%;
}
.main-intro div {
	margin-top: 40px;
	padding: 30px;
	background-color: white;
	border: 1px solid lightgrey;
	box-shadow: 0 0 6px 2px lightgrey inset;
	font-size: 1.1em;
}
.main-links {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	margin-top: 40px;
}
.main-links a {
	text-decoration: none;
	color: white;
}
.main-links h2 {
	margin: 0;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 2px solid black;
}
.main-links span {
	margin-bottom: 5px;
}
.main-links-container {
	margin: 0px 50px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.main-links-company, .main-links-products {
	margin-top: 10px;
	padding: 40px 50px;
	border: 3px solid black;
	border-radius: 20px;
	background-color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 200px;
	height: 110px;
}
.main-links-company {
	background-image: url(chocolate.webp);
	background-size: cover;
}
.main-links-products {
	background-image: url(bars.jpg);
	background-size: cover;
	background-position-x: center;
}
.products {
	margin-top: 40px;
	display: inline-grid;
	grid-template-columns: repeat(auto-fit, 300px);
	grid-auto-rows: 550px;
	justify-items: center;
	justify-content: center;
	grid-gap: 35px;
	width: 90%;
	height: 50%;
}
.prod {
	background-color: white;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid #ffdd99;
	border-radius: 20px;
	overflow: hidden;
	padding-bottom: 3px;
	box-shadow: 0px 0px 6px 4px lightgrey;
}
.prod span {
	margin-left: 10px;
}
.img-container {
	width: 300px;
	height: 35%;
}
.table {
	display: flex;
	flex-direction: column;
	width: 60%;
	background-color: white;
	box-shadow: 3px 3px 7px 1px lightgrey;
	margin-top: 40px;
}
.table > div {
	padding: 5px 10px;
}
.footer {
	background-color: #396a93;
	color: white;
	margin-top: 50px;
	padding-bottom: 10px;
	width: 100%;
	flex-shrink: 0;
	flex-grow: 0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
}
.footer-div {
	margin: 35px 0px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.email {
	font-size: 16px;
	font-weight: bold;
}
.copyright {
	font-size: 14px;
}
.copyright a {
	color: white;
}
.tc {
	display: flex;
	flex-direction: column;
	width: 70%;
}
.tc p {
	margin: 5px 0px;
}