@import url('https://fonts.googleapis.com/css2?family=Coming+Soon&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Pangolin&family=Sunshiney&display=swap');
* {
  box-sizing: border-box;
  cursor: url("https://i.imgur.com/80tNxm9.png"), auto;
}

body {
   font-family: "Pangolin", serif;
  font-size: 15px;
  font-weight: 400;
  color: #4d3431;
  background: url("https://i.imgur.com/DiUvcuL.jpeg") fixed;
  padding: 20px;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #d2c3b0;
  border: 1px solid #e6d7c3;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #8b7c68;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #79644a;
}


a, a:active, a:visited {
  color: #c20000;
  text-decoration: none;
}

a:hover {
  color: #f15947;
    text-decoration: none;
    cursor: help;
}

h1 {
  background: url("https://i.imgur.com/ocumHBO.png") left center no-repeat;
  overflow: hidden;
   font-family: "Sunshiney", serif;
  color: #c20000;
  text-shadow: 1px 1px 1px #7d6b40;
  font-size: 50px;
  padding-left: 85px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}

h2 {
   font-family: "Sunshiney", serif;
  color: #c20000;
}

hr {
  width: 417px;
  height: 54px;
  background-image: url("https://i.imgur.com/6I9FGfy.png");
  border: 0px;
}

ul {
  list-style-image: url('https://i.imgur.com/0fpYMF1.png');
}

/* Style the header */
header {
  background: url("https://i.imgur.com/hk6oIM5.png") center center no-repeat;
  background-size: contain;
  text-align: center;
  font-size: 35px;
  color: white;
  height: 495px;
  margin-bottom: -50px;
}

.subheader {
  padding: 3px;
  text-align: center;
  font-size: 35px;
  color: white;
  font-family: "Sunshiney", serif;
}

/* Container for flexboxes */
section {
  display: -webkit-flex;
  display: flex;
}

/* Style the navigation menu */
nav {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background-color: #e6d7c3;
  margin: .5rem .25rem .25rem;
  background: url(https://i.imgur.com/dPmvuA4.jpeg);
  outline: none;
  box-shadow: 1em 1.5em 1.5em -1em rgba(0, 0, 0, 0.5);
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  box-sizing: border-box;
  border: solid 0.1em #4140344E;
  padding: 20px;
}

/* Style the list inside the menu */
.menu ul{
  list-style-type: none;
  padding-left: 10px;
   font-family: "Sunshiney", serif;
  text-shadow: 1px 1px 0px #eae7e2;
  font-size: 30px;
  font-weight: 500;
}

nav hr {
  width: 300px;
  height: 54px;
  background-image: url("https://i.imgur.com/6I9FGfy.png");
  background-size: contain;
  background-repeat: no-repeat;
  border: 0px;
}

/* Style the content */
article {
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  background-color: #e6d7c3;
  margin: .5rem .25rem .25rem;
  background: url(https://i.imgur.com/dPmvuA4.jpeg);
  outline: none;
  box-shadow: 1em 1.5em 1.5em -1em rgba(0, 0, 0, 0.5);
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  box-sizing: border-box;
  border: solid 0.1em #4140344E;
  padding: 30px;
  text-shadow: 1px 1px 0px #eae7e2;
}

/* Style the footer */
footer {
  background-color: #e6d7c3;
  margin: .5rem .25rem .25rem;
  background: url(https://i.imgur.com/dPmvuA4.jpeg);
  outline: none;
  box-shadow: 1em 1.5em 1.5em -1em rgba(0, 0, 0, 0.5);
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  box-sizing: border-box;
  border: solid 0.1em #4140344E;
  padding: 10px;
  text-align: center;
}

/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
@media (max-width: 600px) {
  section {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}

img {
  margin: .5rem .25rem .25rem;
  outline: none;
  box-shadow: 1em 1.5em 1.5em -1em rgba(0, 0, 0, 0.5);
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  border: solid 0.1em #4140344E;
}

.ekakuva {
  width: 200px;
  float: right;
  background: url("https://i.imgur.com/mM9mBtO.jpeg");
}

.listakuva {
  width: 120px;
  background: url("https://i.imgur.com/mM9mBtO.jpeg");
  float: right;
}

 quote {
   font-family: "Pangolin", serif;
     font-weight: 200;
     font-style: italic;
     letter-spacing: 1px;
 }
.info {
  background: url("https://i.imgur.com/1c8OfjA.jpeg");
  font-family: "Coming Soon", serif;
  font-size: 17px;
  font-weight: 600;
  text-shadow: 1px 1px 0px #e2d0b3;
  margin: .5rem .25rem .25rem;
  border: 10px solid #8f8b72;
border-spacing: 0px;
border-image: url(https://i.imgur.com/zRxu8TF.jpeg) 35% round;
  padding: 10px;
  font-weight: 500;
  box-shadow: 0px 0px 5px #612520;
}

.sanat {
  background: url("https://i.imgur.com/xcrBzsV.png") center center no-repeat;
  background-size: contain;
  width: 100%;
  min-height: 350px;
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 70px;
}

.sisasanat {
  width: 100%;
  height: 150px;
  overflow: auto;
  padding: 10px;
}


.suku {
	font-size: 16px;
		background-image: url(https://i.imgur.com/TEQP1lP.png);
		background-repeat: no-repeat;
		background-position: right;
		background-size: contain;
}


.suku3 {
	font-size: 14px;
		color: #395e51;
}

	.vanhemmat {
  color: #601d0f;
  text-shadow: 1px 1px 0px white;
  font-family: "Coming Soon", serif;
		font-size: 20px;
		font-weight: 800;
		margin: 0px;
		background-image: url(https://i.imgur.com/TEQP1lP.png);
		background-repeat: no-repeat;
		background-position: right;
		background-size: contain;

}

.vanhemmat a {
	color: #1c582d;
}

.list {
  border: 2px solid #8a775f;
}

/** LIGHTBOX MARKUP **/

.lightbox {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	text-shadow: 0px 0px 3px #000;
	}

.lightbox img {
	/** Pad the lightbox image */
	max-width: 90%;
	max-height: 90%;
	margin-top: 1%;
}

.lightbox:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}

.pikkukuva {
  height: 100px;
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
}

.pikkukuva:hover {
	  -webkit-transform: rotate(-10deg);
     -moz-transform: rotate(-10deg);
       -o-transform: rotate(-10deg);
      -ms-transform: rotate(-10deg);
          transform: rotate(-10deg);
}
.rkuva {
  height: 300px;
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
}

.rkuva:hover {
	  -webkit-transform: rotate(-10deg);
     -moz-transform: rotate(-10deg);
       -o-transform: rotate(-10deg);
      -ms-transform: rotate(-10deg);
          transform: rotate(-10deg);
}

.paiv {
  overflow: auto;
  width: 90%;
  height: 200px;
  background: url("https://i.imgur.com/mCYLUin.png") no-repeat center center;
  background-size: contain;
  padding: 20px;
  text-shadow: 1px 1px 0px #fff;
}

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 46%;
  background-color: #e6d7c3;
  margin: .3rem .3rem .3rem;
  background: url(https://i.imgur.com/dPmvuA4.jpeg);
  outline: none;
  box-shadow: 1em 1.5em 1.5em -1em rgba(0, 0, 0, 0.5);
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  box-sizing: border-box;
  border: solid 0.1em #4140344E;
  padding: 20px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Hevoslistaus */

.lista {
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 10px;
}
.lista > div {
  background: url("https://i.imgur.com/1c8OfjA.jpeg");
  text-align: left;
  text-shadow: 1px 1px 0px #e2d0b3;
  margin: .5rem .25rem .25rem;
  border: 10px solid #8f8b72;
border-spacing: 0px;
border-image: url(https://i.imgur.com/zRxu8TF.jpeg) 35% round;
  padding: 10px;
  font-weight: 500;
  box-shadow: 0px 0px 5px #612520;
}
