@font-face {
	font-family: "Edge Display";
	font-style: normal;
	font-weight: normal;
	src: url("fonts/EdgeDisplay-Regular.otf");
} 	

html, body {
  color: #2e484c;
  margin: 0px; 
  padding: 0px; 
  height: 100%;
  font-family: Verdana;
  font-size: 1em;
  background-color: #d2d2d2;
  background-image: url(tausta.png);
  background-attachment: fixed;
  display: flex; 
  justify-content: center; /* Center horizontally */ 
  margin: 0; /* Remove default margin */ 
  overflow: hidden;
}
h1 {
  text-transform: uppercase;
  font-size: 23px;
  margin-top: 25px;
  margin-bottom: 0;
}
h3 {
  text-transform: uppercase;
  font-size: 20px;
  color: #FFFFFF;
  text-shadow: #000 2px 0 5px;
  margin-top: 0;
  margin-bottom: 0;
}
h4 {
  text-transform: uppercase;
  font-size: 23px;
  margin-left: 30px;
  margin-top: 15px;
  margin-bottom: 15px;
}
h5 {
  text-transform: uppercase;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 0;
}
h6 {
  font-size: 9px;
  color: #FFFFFF;
  margin: 0;
}
p {
  margin-top: 10px;
  margin-bottom: 15px;
  text-align: justify;
  text-justify: inter-word;
}
p.small {
  line-height: 0.5;
  text-align: center;
  color: white
}
img {
  margin: 10px;
}
.container {
  position: relative;
  max-width: 800px;
  border: 0px; 
  background-color: #FFFFFF;
  display: block;
  overflow: auto;
  padding: 0.4em 0.7em 0 0.7em; 
}

@media only screen and (min-width: 1000px){
	.vasen {
	  width: 70px;
	  height: 900px;
	  background-image: url(hiput.png);
	  transform:scaleX(-1);
	  background-position-x: 0px;
	  background-repeat: no-repeat;
	  background-size: cover;
	  opacity: 0.2;
	}

	.oikea {
	  width: 80px;
	  height: 1000px;
	  background-image: url(hiput.png);
	  background-position-x: 0px;
	  background-repeat: no-repeat;
	  background-size: cover;
	  opacity: 0.2;
	}
}
@media only screen and (min-width: 800px){
	h2 {
  	  font-family: Edge Display;
	  position: absolute;
	  top: 84px; left: 273px;
	  text-transform: uppercase;
	  font-size: 60px;
	  color: #FFFFFF;
	  text-shadow: #000 1px 0 5px;
	}
	h2.musta {
  	  font-family: Edge Display;
	  position: absolute;
	  top: 28px; left: 313px;
	  text-transform: uppercase;
	  font-size: 60px;
	  color: #333333;
	  text-shadow: #FFF 1px 0 5px;
	}
	.logo2 {
	  position: absolute;
	  top: 455px; left: 702px;
	  width: 83px;
	  height: 110px;
	  background-image: url(kukka.png);
	  background-size: 83px 110px;
	  -webkit-filter: drop-shadow(1px 1px 2px #000);
	  filter: drop-shadow(2px 4px 2px #000);
	  opacity: 0.9;
	}
	.info {
	  float: left;
	  width: 100%;
	  background-color: #FFFFFF;
	  display: flex;
	}
	.palvelemme {
	  float: left;
	  width: 32%;
	  margin: 5px 2px 0 0;
	  padding: 10px 0 0 0;
	  text-align: center;
	  background-color: #809b7e;
	  border-radius: 5px;
	  background-image: url(kello.png);
	  background-size: 20px 20px;
	  background-repeat: no-repeat;
	  background-position-y: 50%;
	  background-position-x: 5%;
	}
	.puhelin {
	  width: 36%;
	  margin: 5px 3px 0 3px;
	  padding: 10px 0 0 0;
	  text-align: center;
	  background-color: #809b7e;
	  border-radius: 5px;
	  background-image: url(puhelin.png);
	  background-size: 15px 20px;
	  background-repeat: no-repeat;
	  background-position-y: 50%;
	  background-position-x: 5%;
	}
	.osoite {
	  width: 32%;
	  margin: 5px 0 0 3px;
	  padding: 10px 0 0 0;
	  text-align: center;
	  background-color: #809b7e;
	  border-radius: 5px;
	  background-image: url(sijainti.png);
	  background-size: 20px 20px;
	  background-repeat: no-repeat;
	  background-position-y: 50%;
	  background-position-x: 5%;
	}
	.logo {
	  position: absolute;
	  top: -3px; left: 0px;
	  width: 280px;
	  height: 280px;
	  background-image: url(risti_rgb_pieni.png);
	  background-size: 280px 280px;
	  filter: drop-shadow(0 0 3px #FFFFFF);
	}
}
@media only screen and (max-width: 799px){
	h2 {
  	  font-family: Edge Display;
	  position: absolute;
	  top: 100px; left: 215px;
	  text-transform: uppercase;
	  font-size: 44px;
	  color: #FFFFFF;
	  text-shadow: #000 1px 0 5px;
	}
	h2.musta {
  	  font-family: Edge Display;
	  position: absolute;
	  top: 57px; left: 244px;
	  text-transform: uppercase;
	  font-size: 44px;
	  color: #444444;
	  text-shadow: #FFF 1px 0 5px;
	}
	.info {
	  float: left;
	  width: 100%;
	  background-color: #FFFFFF;
	}
	.palvelemme {
	  width: 100%;
	  margin: 5px 0 5px 0;
	  padding: 5px 0 1px 0;
	  text-align: center;
	  background-color: #809b7e;
	  border-radius: 5px;
	}
	.puhelin {
	  width: 100%;
	  margin: 5px 0 5px 0;
	  padding: 5px 0 1px 0;
	  text-align: center;
	  background-color: #809b7e;
	  border-radius: 5px;
	}
	.osoite {
	  width: 100%;
	  margin: 0px;
	  padding: 5px 0 1px 0;
	  text-align: center;
	  background-color: #809b7e;
	  border-radius: 5px;
	}
	.logo {
	  position: absolute;
	  top: 26px; left: 0px;
	  width: 220px;
	  height: 220px;
	  background-image: url(risti_rgb_pieni.png);
	  background-size: 220px 220px;
	  filter: drop-shadow(0 0 3px #FFFFFF);
	}
}

.tekstipohja {
  position: absolute;
  top: 80px; left: 0px;
  width: 100%;
  height: 112px;
  background-color: #FFFFFF;
  opacity: 0.3;
}
.banner {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 380px;
  background-image: url(noise.png), url(johannes-plenio-qeC_UFDmC54-unsplash.jpg);
  background-attachment: fixed, scroll;
  background-position: 0 0, 0 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  border-radius: 5px;
}

.sisalto {
  float: left;
  background-color: #FFFFFF;
  margin: 6px 0 0 0;
  padding: 1em 1em 1em 2em;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
    border: 2px solid #f2f2f2;
  border-radius: 5px;
}
.sisalto2 {
  float: left;
  margin: 6px 0 0 0;
  background-color: #E1E1E1;
  padding: 1em 1em 1em 2em;
  border-radius: 5px; 
}
.sisalto3 {
  float: left;
  background-color: #FFFFFF;
  margin: 6px 0 6px 0;
  padding: 1em 0 1em 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
    border: 2px solid #f2f2f2;
  border-radius: 5px;
}
.facebook {
  float: left;
  margin: 6px 0 0 0;
  padding: 1em 0em 1em 0em;
  width: 100%;
  height: 300px;
  background-image: url(valkoinentausta.jpg);
  background-attachment: scroll;
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}
.kuva1 {
  float: left;
  margin: 6px 0 0 0;
  padding: 0;
  width: 100%;
  height: 280px;
  background-image: url(mallikuva_apteekki.jpg);
  background-attachment: scroll;
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}
.kuva2 {
  float: left;
  margin: 6px 0 0 0;
  padding: 0;
  width: 100%;
  height: 280px;
  background-image: url(gabby-orcutt-7E29j_4GBNI-unsplash.jpg);
  background-attachment: scroll;
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}
.kuva3 {
  float: left;
  margin: 6px 0 0 0;
  padding: 0;
  width: 100%;
  height: 280px;
  background-image: url(kesa11.jpg);
  background-attachment: scroll;
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}
iframe{
  width: 100%;
  height: 300px;
  align-items: center;
}
.footer {
  float: left;
  margin: 0 0 0 0;
  width: 100%;
  background-color: #E1E1E1;
  border-radius: 5px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: flex
}
.footer1 {
  float: left;
  margin: 5px 0 0 0;
  padding: 1em 0em 1em 1em;
  width: 33%;
}
.footer2 {
  margin: 0px;
  padding: 0px;
  background-image: url(risti_rgb_pieni.png);
  background-attachment: scroll;
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: contain;
  transform:scaleX(-1);
  width: 33%;

}
.footer3 {
  margin: 25px 0 0 0;
  width: 33%;
  text-align: right;
}
.footer4 {
  float: left;
  width: 100%;
  background-color: #E1E1E1;
  text-align: center;
  margin: 0;
  padding: 0 0 1em 0;
}
a:link {
  text-decoration: none;
  color: #FFFFFF;
}
a:visited {
    color: #FFFFFF;
    text-decoration: none;
}
a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
a:active {
    color: #FFFFFF;
    text-decoration: underline;
}

