@import url('https://fonts.googleapis.com/css2?family=Allison&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Quicksand:wght@300..700&family=Smooch+Sans:wght@100..900&display=swap');

html {
	background: url(t4.jpg) no-repeat fixed;
	background-size: cover; 
	background-position-y: bottom;
	letter-spacing: 1px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 12px; 
	color: #7b7373; 
	text-align: justify;
	line-height: 22px;
}

body {
	margin: 0;
	background-image: linear-gradient(to bottom right, rgb(244 224 216 / 86%), rgb(247 231 247 / 95%), rgb(224 233 242 / 93%), rgb(234 253 244 / 83%));
	min-height: 100%; 
	width: 100%; 
	position: absolute; 
}

.sisalto, footer, header {
	background-color: #f9f8f4; 
	padding: 30px 0px;
	width: 900px; 
	margin: 0px auto; 
	border: solid #dfd5d5; 
	border-width: 0px 1px; 
}

header {
	border: solid rgba(0,0,0,.075); 
	border-width: 0px 0px 1px 0px;
}

footer {
	border: solid rgba(0,0,0,.075);
	border-width: 1px 0px 0px 0px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 9px;
	color: rgba(0,0,0,.3);
	display: flex;
	flex-wrap: nowrap;
	text-align: center;
	align-items: flex-start;
	justify-content: space-evenly;
	flex-direction: row-reverse;
}

footer p {
	margin: 0px;
}

header ul {
	display: flex;
	text-align: center;
	width: 100%;
	padding-left: 0px;
	margin-left: -30px;
	flex-wrap: nowrap;
	justify-content: center;
}

.navi li {
	list-style-type: none; 
	text-align: center; 
	width: 60px; 
	background-color: #dbe9e45e; 
	border: 1px solid #ffffff; 
	margin: 0px 10px;
	padding: 1px 5px; 
	border-radius: 2px;
	font-size: 10px;
}

.navi li:hover {
	box-shadow: 0 0 7px rgb(255 255 255 / 83%) inset; 
	transition: 1s;
}

.navi a {
	color: #f6aab4b5; 
}

.navi a:hover {
	color: #ffa2ae; 
	transition: 2s;
}

.tietoset {
	display: flex;
	flex-wrap: nowrap;
}

.luonne {
	width: 600px;
}

.pt {
	text-shadow: 0 0 3px #b0b0b0;
}

.pt ul {
	padding: 0px; 
}

.pt li {
	list-style-type: none;  
}

.pt li:before {
	content: "✧"; 
	margin-right: 15px; 
	color: #f6aab4b5;  
}

.isokuva {
	width: 500px; 
	margin: 0px 42px;
	opacity: 0.9; 
	filter: grayscale(30%);
	background-color: #fff;
	padding: 6px; 
	border: 1px solid #e5d9d98f; 
	border-radius: 3px;
	box-shadow: 0px 0px 6px #e0d8e1cf; 
}

/* tekstit */

p {
	margin: 20px 40px;
}

a {
	text-decoration: none;
	color: #f6aab4b5; 
}

a:hover {
	color: #ffa2ae; 
	transition: 2s;
}

em, .kasvi td:nth-child(4), .kasvi td:nth-child(6) {
	font-style: normal; 
	color: #d5d5d5;
	font-size: 9px; 
	letter-spacing: 1.5px; 
	text-transform: uppercase; 
}

li em {
	text-transform: none; 
}

center em {
	background: linear-gradient(to bottom right, rgb(255 187 160), rgb(255 189 255), rgb(166 238 224), rgb(168 234 204));
	background-clip: text;
	color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
	font-size: 11px;
}

center {
	margin: 10px auto 40px auto;
}

h1 {
	text-align: center; 
	font-family: "Allison", sans-serif;
	font-size: 120px; 
	font-weight: normal; 
	text-shadow: 0 0 5px rgba(0,0,0,.3);
	color: #ffffff;
	font-style: italic; 
	margin: 40px auto 48px auto;
}

h2 {
	font-family: "Smooch Sans", sans-serif;
	font-size: 40px;
	text-align: center; 
	color: #789184; 
	font-weight: normal; 
	text-shadow: 0 0 3px #ada0a0; 
	text-transform: uppercase; 
	letter-spacing: 2.5px; 
	margin: 20px auto 0px auto;
	padding-bottom: 10px;
	width: 700px;
}

h3 {
	font-family: "Smooch Sans", sans-serif;
	font-size: 20px;
	color: #789184; 
	font-weight: normal; 
	text-shadow: 0 0 3px #ada0a0;  
	letter-spacing: 2.5px; 
	border-bottom: 1px solid #ece0e0; 
	padding-bottom: 7px;
}

h3 em {
	text-shadow: none;
	font-size: 10px;
}

.meriitit {
	text-align: center; 
	margin: 5px auto 40px auto; 
	font-family: "Smooch Sans", sans-serif;
	color: rgb(174 203 186); 
	font-size: 20px; 
	word-spacing: 10px;
}

/* taulukot */

.suku {
	width: 800px;
	margin: 40px auto 20px auto; 
	background-color: #fff;
	padding: 5px; 
	border: 1px solid #e5d9d98f; 
	border-radius: 3px;
	box-shadow: 0px 0px 6px #e0d8e1cf; 
}

.suku td {
	background-color: rgba(0,0,0,.037); 
	border: 1px solid rgba(0,0,0,.037); 
	padding: 5px 10px; 
}

.varsat {
	width: 750px; 
	margin: 20px auto 50px auto;
	color: rgba(0,0,0,.3); 
	border-collapse: collapse;
}

.varsat td {
	border-bottom: 1px solid #e5d9d98f; 
	padding: 5px 0px;
}

.varsat td:nth-child(1) {
	width: 20px; 
}

.kasvi td:nth-child(1) {
	width: 90px; 
}

.kasvi td:nth-child(4) {
	text-align: right;
}

.kasvi td:nth-child(5) {
	text-align: center; 
}

.lisakuva-float {
    float: left;
    margin: 0 1rem 0.7rem 0;
}

.lisakuva-float img {
    display: block;
    width: auto;
    height: 10rem;
    max-width: 100%;
}


/* USEAMPI LISÄKUVA */

.lisakuvagalleria {
    display: flex;
    gap: 0.6rem;
    width: 100%;
    margin-top: 1rem;
    clear: both;
    align-items: flex-start;
}

.lisakuvagalleria a {
    flex-basis: 0;
    min-width: 0;
}

.lisakuvagalleria img {
    display: block;
    width: 100%;
    height: auto;
}

.lisakuva-yksi {
    display: block;
    width: fit-content;
    margin: 1rem 0 0 auto;
}

.lisakuva-yksi img {
    display: block;
    height: 9rem;
    width: auto;
    max-width: 100%;
}