@charset "utf-8";
/* CSS Document */
#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 16px;
  font-family: Obvia;
	font-size: 1.2em;
	font-weight: 700;
  cursor: pointer;
	background-color: #3E6DA4;
	color: white;
	margin-right: 50px;
	border-radius: 20px;
	outline-style: none;
}
img{
	width: 400px;
	height: 400px;
}
#modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}
#modal img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
body{
	height: 6500px;
	width: 100%;
	background-image:url("../Kuvitus/pohjapofo.png");
}
.kuva2{
	width: 800px;
	height: 400px;
}
.wrapped{
	width: 70%;
	height: 5300px;
	flex-wrap: wrap;
	display: flex;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	align-content: flex-start;
	background-color: white;
	padding-top: 150px;
	border-radius: 150px;
}
.valitseomasi{
	color: #52DFFC;
}
.kuvat{
	width: 398px;
	height: 400px;
		margin-bottom: 40px;
	margin-left: 20px;
	margin-right: 20px;
}
.teksti{
	color: #253f8e;
		width: 30%;
	height: 400px;
		margin-bottom: 40px;
	margin-left: 20px;
	margin-right: 20px;
	padding-top: 55px;
}
.kuvat2{
	width: 63%;
	height: 400px;
		margin-bottom: 40px;
	margin-left: 20px;
	margin-right: 20px;
}
.tecti{
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	width: 70%;
	height: 350px;
	text-align: center;
	padding-top: 150px;
	padding-left: 40px;
}
.otsiko {
   font-family: bali-script;
  font-size: 4.5em;
  color: black;
	font-weight: 400;
	  position: relative;
  z-index: 9;
}
.heittomerkit{
	margin-left: auto;
	font-family: Obvia;
	font-size: 7em;
	font-weight: 700;
}
.kolumni{
	font-family: Obvia;
	font-size: 1.3em;
	font-weight: 700;
}
.leipis {
  font-family: Blanket;
  font-size: 1.8em;
  color: black;
	font-weight: 400;
	  position: relative;
  z-index: 8;
}
header {
  height: 200px;
  width: 100%;
  justify-content: center;
  background-color: #f0faff;
  flex-wrap: wrap;
}
.wrapper {
  padding: 45px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
a{
	text-decoration: none;
}
html{
	scroll-behavior: smooth;
}
.wrapper2 {
  width: 100%;
  height: 980px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.logo {
  margin-top: 15px;
  height: 69px;
  width: 100px;
  background-image: url("../Kuvitus/logo.png");
	max-width: 100%;
}
.nimeni {
  margin-right: auto;
  margin-top: 35px;
  margin-left: 80px;
  height: 100px;
  width: 300px;
}
#nimeni {
  font-family: Obvia;
  font-size: 2em;
  color: #7aa9f4;
  font-weight: 1000;
}
.locatebutton {
  margin-top: 15px;
  height: 69px;
  width: 55px;
  background-image: url("../Kuvitus/aboutbuttonn.png");
  cursor: pointer;
}
.locatebutton:hover{
	filter: brightness(120%);
}
button:hover{
	color: #2DB161;
	background-color: #D1F3DE;
	cursor: pointer;
}
#target {
  height: 160px;
  width: 120px;
  margin-left: 30px;
  margin-top: 20px;
	  position: relative;
  z-index: 10;
}
.nappi {
  margin-bottom: 5px;
  width: 120px;
  height: 40px;
  border-radius: 10px;
  background-color: #415b7f;
  align-content: center;
  font-family: Obvia;
  color: white;
  font-size: 1.1em;
  font-weight: 700;
  text-align: center;
	  position: relative;
  z-index: 10;
}
.kuvat img{
	max-width: 100%;
		height: auto;
}
.nappi2{
	 margin-bottom: 5px;
  width: 120px;
  height: 40px;
  border-radius: 10px;
  background-color: #4069B1;
  align-content: center;
  font-family: Obvia;
  font-size: 1.1em;
  font-weight: 700;
  text-align: center;
		  position: relative;
  z-index: 10;
}
.nappi:hover{
	background-color: #3E6DA4;
	color: #7EC0D4;
}
.nappi2:hover{
	background-color: #4380B3;
	color: #B6EBFF;
}
footer {
  width: 100%;
  height: 400px;
  background-color: #515151;
  margin-top: 200px;
  align-content: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.logobottom {
  width: 200px;
  height: 138px;
  background-image: url("../Kuvitus/logovalkeeisokoko.png");
}
@media (max-width: 1892px) {
	.wrapped{
		height: 6850px;
	}
  }
@media (max-width: 1884px) {
	.wrapped{
		height: 7550px;
	}
  }
@media (max-width: 1266px) {
	.wrapped{
		height: 13400px;
	}
  }
@media (max-width: 990px) {
	.wrapped{
		height: 14700px;
		width: 80%;
	}
	.nimeni{
		width:1px;
		visibility: hidden;
	}
	.teksti{
		width: 30%;
	}
  }
@media (max-width: 550px) {
	.wrapped{
		border-radius: 10px;
		justify-content: center;
		display: flex;
		align-items: center;
		
	}
	.kuvat img{
		width: 90%;
	}
	.kuvat{
		margin-left: 40px;
	}
	.teksti{
		margin-left: -20px;
		width: 150px;
	}
	.tecti{
		margin-left: 10px;
	}
	#target {
  position: absolute;
  left: 200px;
		top: 150px;
}
  }