* {
  box-sizing: border-box;
}
html{
	font-size: 20px;
	color: #333;
	font-family: 'Amatic SC', cursive;
	letter-spacing: 1px;
}

body{
	position: absolute;
	top:0;
	margin:0;
	left:0;
	bottom:0;
	background: #666;
	overflow-x: hidden;
}
#Mobile{
	display: none;
}
#NavigaatioPalkki{
	width: 100vw;
	height: 100px;
	line-height: 3em;
	background: transparent;
	position: fixed;
	z-index: 100;
}
#Logo{
	position: absolute;
	width: 4em;
	height: 4em;
	margin-left: 20px;
	margin-top: 0.5em;
	background: #ffe502;
}
#SivunNimi{
	font-size: 2em;
	display: inline-block;
	margin-left: 120px;
	color: #ffe502;
	position: relative;
	height: 100px;
	top: 20px;
	letter-spacing: 0.3em;
}
#Menu{
  float: right;
  right: 100px;
  position: absolute;
  top:25px;
}
#Menu input{
  display:none;
}
#MenuButton{
  position: relative;
  display:block;
  width: 30px;
  height: 30px;
  border-radius: 300px;
  z-index: 200;
  right: 247px;
  top:0;
   -webkit-transition: all 500ms ease-out 200ms;
    -moz-transition: all 500ms ease-out 200ms;
    -o-transition: all 500ms ease-out 200ms;
    transition: all 500ms ease-out 200ms;
}
#MenuButtonBackground{
  position:absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 50%, rgba(100,100,100,0.6) 20px, transparent  100px);
  opacity: 0;
  -webkit-transition: all 500ms ease-out 200ms;
    -moz-transition: all 500ms ease-out 200ms;
    -o-transition: all 500ms ease-out 200ms;
    transition: all 500ms ease-out 200ms;
    left: -123px;
    top: -142px;
}
#MenuInput:checked ~ #MenuButton #MenuButtonBackground{
 -webkit-transition: all 500ms ease-out 200ms;
    -moz-transition: all 500ms ease-out 200ms;
    -o-transition: all 500ms ease-out 200ms;
    transition: all 500ms ease-out 200ms;
    opacity: 1
}
#MenuButton #bars:hover{
  cursor:pointer;
}
#MenuButton #bars{
  position: absolute;
  top: calc(50% - 15px);
  left: calc(50% - 8px);
}
#MenuButton .bar{
  width: 30px;
  height: 4px; 
  margin-left: 5px;
  background: #999;
  margin-top: 6px;
  border-radius: 1px;
  -webkit-transition: all 500ms ease-out 200ms;
    -moz-transition: all 500ms ease-out 200ms;
    -o-transition: all 500ms ease-out 200ms;
    transition: all 500ms ease-out 200ms;
}
#NavigaatioPalkki.Pieni #MenuButtonBackground {
    background: radial-gradient(circle at 50%, rgba(220,220,220,0.6) 20px, transparent 100px);
    pointer-events: none;

}
#NavigaatioPalkki.Pieni #MenuInput:checked ~ #MenuButton #MenuButtonBackground{
	pointer-events: auto;
}
#MenuInput:checked ~ #MenuButton{
  margin-top: 20px;
}
#MenuInput:checked ~ #MenuButton .bar{
  position:absolute;
}
#MenuInput:checked ~ #MenuButton .bar:first-of-type{
  transform: rotate(45deg);
}
#MenuInput:checked ~ #MenuButton .bar:nth-of-type(2){
  opacity:0;
}
#MenuInput:checked ~ #MenuButton .bar:last-of-type{
  transform: rotate(-45deg);
}
#Links{
  width: 500px;
  position: absolute;
  height: 500px;
  right: 0;
  top:-330px;
  border-radius: 300px;
  overflow: hidden;
   -webkit-transition: all 500ms ease-out 200ms;
    -moz-transition: all 500ms ease-out 200ms;
    -o-transition: all 500ms ease-out 200ms;
    transition: all 500ms ease-out 200ms;
  transform: rotate(0deg);
  display: none;
}
#MenuInput:checked ~ #Links{
  transform: rotate(180deg);
  top:-230px;
   -webkit-transition: all 500ms ease-out 200ms;
    -moz-transition: all 500ms ease-out 200ms;
    -o-transition: all 500ms ease-out 200ms;
    transition: all 500ms ease-out 200ms;
    display: block;
}
#Links .Link{
  width: 250px;
  height: 250px;
  transform-origin: bottom right;
 overflow:hidden;
  transform: rotate(-15deg)
              skew(60deg);
  position: absolute;
}
#Links .Link a{
  display:block;
  width:500px;
  height: 500px;
  transform: skew(-60deg) rotate(16deg);
  color: #111;
  background: radial-gradient(circle at 50%, transparent 150px, rgba(220,220,2520,0.2) 50px);

}
#Links .Link a:hover{
  background: radial-gradient(circle at 50%, transparent 150px, rgba(155, 155, 155,0.8) 50px);
  cursor: pointer;
}
#Links .Link a svg, #Links .Link a img{
  position: absolute;
  left: 7.5%;
  top:49%;
  transform: rotate(90deg);
  width: 20px;
}
#Links .Link:hover a svg path{
  fill: #ffe502;
}
#Links .Link a .Text{
  position: absolute;
  left: -4%;
  top:49%;
  transform: rotate(90deg);
  opacity: 1;
  color: #000;
  font-weight: 800;
    transition: all 200ms ease-out 0ms;
}
#Links .Link a:hover .Text{
  opacity: 1;
  -webkit-transition: all 200ms ease-out 0ms;
    -moz-transition: all 200ms ease-out 0ms;
    -o-transition: all 200ms ease-out 0ms;
    transition: all 200ms ease-out 0ms;
    font-weight: 800;
    color: #000;
}
#Links .Link a .Text span{
  height: 250px;
  position:absolute;
  width: 20px;
  top:-250px;
  transform-origin: top center;
  padding-top: 180px;
  font-size: 0.9em;
  text-align: center;
}
#Links .Link:nth-of-type(1){
  transform: rotate(-10deg)
              skew(60deg);
}
#Links .Link:nth-of-type(2){
  transform: rotate(24deg)
              skew(60deg);
}
#Links .Link:nth-of-type(3){
  transform: rotate(58deg)
              skew(60deg);
}
#Links .Link:nth-of-type(4){
  transform: rotate(92deg)
              skew(60deg);
}
#Links .Link:nth-of-type(5){
  transform: rotate(126deg)
              skew(60deg);
}
#Links .Link:nth-of-type(6){
  transform: rotate(160deg)
              skew(60deg);
}
#Etusivunkuva{
	background-image: url("Kuvat/hehkulamppu.jpg");
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	z-index: 100;
	width: 100vw;
	height: 110%;
}
#EtusivunkuvanTeksti{
	color: #aaa;
	float: right;
	margin-right: 200px;
	margin-top: 350px;
	letter-spacing: 0.3em;
	font-size: 1.2em;
	line-height: 2.3em;
}
.Tausta{
	 background-image: radial-gradient(60% 30% ellipse at 50% -10%,
     #ccc 0%, #fff 100%);
}
.Tausta h2{
	margin-top: 0;
}
#TietoaMeista{
	width: 100vw;
	border-top: 5px solid #ffe502;
	color: #666666;
	letter-spacing: 0.1em;
	padding-top: 70px;
	font-size: 1.2em;
	font-family: 'Kanit', sans-serif;
	position: relative;
	padding-bottom: 45px;
}
#TietoaMeistaTeksti{
	padding-left: 20%;
	width: 50%;
}
#TietoaMeista h2{
	text-align: center;
	padding-bottom: 25px;
	font-family: 'Amatic SC', cursive;
}
#TietoaMeista img{
	position: absolute;
	height: 90%;
	opacity: 0.05;
	right: 50px;
	top: 5%;

}
#Palvelut{
	min-height: 500px;
	width: 100vw;
	text-align: center;
	letter-spacing: 0.3em;
	font-size: 1.2em;
	padding-top: 50px;
	padding-bottom: 20px;
}
.PalvelutLaatikko{
	width: 500px;
	height: 300px;
	display: inline-block;
	margin: 50px;
	vertical-align: top;
	font-size: 0.9em;
	letter-spacing: 0em;
	padding: 5px;
	font-family: 'Kanit', sans-serif;
	margin-top: 25px;
}
.PalvelutLaatikko h4{
	background: #ffe502;
}
#Yksikointi{
	min-height: 500px;
	width: 100vw;
	letter-spacing: 0.1em;
	font-size: 1.2em;
	padding-top: 50px;
	padding-left: 50px;
	font-family: 'Amatic SC', cursive;
	padding-bottom: 50px;
}
#Yksikointi a{
	color: black;
}
.YksikointiLaatikko{
	width: 49%;
	display: inline-block;
	vertical-align: top;
	padding-right: 50px;
	font-family: 'Kanit', sans-serif;
}
.YksikointiLaatikko img{
	width: 95%;
	display: inline-block;
	float: right;
	box-shadow: 0px 3px 10px #ccc;
}
#Yksikointi h2{
	width: 100vw;
	text-align: center;
}
#Referenssit{
	width: 100vw;
	text-align: center;
	letter-spacing: 0.3em;
	font-size: 1.2em;
	padding-top: 50px;
	padding-bottom: 50px;
}
.ReferenssiLaatikko{
	margin: 25px;
	border: 1px solid #bbb;
	width: 400px;
	height: 200px;
	display: inline-block;
	text-align: center;
	vertical-align: top;
	line-height: 200px;
	position: relative;
}
.ReferenssiLaatikko img {
	max-width: 300px;
	max-height: 150px;
    display: inline-block;
    vertical-align: middle;
}
.ReferenssiLaatikko img:before{
	content: " ";
	height: 100%;
	display:inline-block;
	width:0px;
	position:relative;
 }
 .ReferenssiLaatikko > div {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: rgba(255,255,255,0.9);
	display: none;
	line-height: 100%;
	word-wrap: break-word;
	font-family: 'Kanit', sans-serif;
	font-size: 0.6em;
	letter-spacing: 0.2em;
}
.ReferenssiLaatikko:hover > div,
.ReferenssiLaatikko img:hover ~ div{
	display: block;
}
.ReferenssiLaatikko div div{
	vertical-align: middle;
	display: inline-block;
	width: 90%;
	font-size: 1.3em;
}
.ReferenssiLaatikko div:before{
	content: " ";
	height: 100%;
	display:inline-block;
	width:0px;
	position:relative;
	vertical-align: middle;
}
#OtaYhteytta{
	height: auto;
	text-align: center;
	padding-top: 50px;
	font-size: 1.2em;
	padding-bottom: 50px;
	color: #4a4a4a;
}
#Yhteydenotto{
	width: 100vw;
	text-align: center;
}
#Yhteydenotto input{
	width: 500px;
	height: 50px;
	font-size: 0.8em;
	padding: 10px;
	font-family: 'Amatic SC', cursive;
	letter-spacing: 0.2em;	
	font-weight: 700;
	display: block;
	margin-top: 20px;
	margin-left: calc(50% - 250px);
}
#Yhteydenotto input::placeholder{
	color: #555;
	opacity: 1;
}
#Yhteydenotto textarea{
	width: 500px;
	height: 200px;
	font-size: 0.8em;
	padding: 10px;
	font-family: 'Amatic SC', cursive;
	font-weight: 700;
	letter-spacing: 0.2em;
	margin-bottom: 15px;
	display: block;
	margin-top: 20px;
	margin-left: calc(50% - 250px);
}
#Yhteydenotto textarea::placeholder{
	color: #555;
	opacity: 1;
}
#Yhteydenotto input[type="submit"]{
	width: 500px;
	height: auto;
	background: #ffe502;
	padding: 10px;
	font-size: 0.9em;
	font-family: 'Amatic SC', cursive;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: #444;
	border: 1px solid #555;
	display: block;
	margin-top: 20px;
	margin-left: calc(50% - 250px);
}
#Yhteydenotto input[type="submit"]:hover{
	border: 1px solid #000;
	cursor: pointer;
}
#Yhteystiedot{
	padding-left: 200px;
	padding-top: 50px;
	font-size: 1.2em;
	font-weight: 700;
	letter-spacing: 0.1em;
	min-height: 300px;
	padding-bottom: 50px;
}
.g-recaptcha{
	margin-left: calc(50% - 250px);
}
.YhteystiedotLaatikko{
	font-size: 0.8em;
	display: inline-block;
	vertical-align: top;
	letter-spacing: 0;
	font-family: 'Kanit', sans-serif;
	width: 49vw;
}
.YhteystiedotLaatikko h3{
	font-family: 'Amatic SC', cursive;
}
#Tuki{
	font-size: 0.8em;
}
#Henkilosto{
	font-size: 0.8em;
	padding-top: 20px;
	display: inline-block;
	width: 40%;
}
#Henkilosto:before{
	display: block;
	content: " "
}
.HenkiloKuva img{
	width:100%;
	border-radius: 100%;
}
.YhteystiedotLaatikko svg{
	min-width: 20px;
}
.HenkiloTiedot{
	height: 100px;
	margin-bottom: 0px;
}
.HenkiloKuva{
	width: 60px;
	height: 60px;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	line-height: 60px;
	font-size: 3em;
}
.HenkilonTiedot{
	width: calc(93% - 60px);
	display: inline-block;
	vertical-align: middle;
	margin-left: 5%;
}
.HenkilonTiedot b{
	font-size: 1.1em;
}
.HenkilonTiedot a{
	text-decoration: none;
	color: black;
}
#AsiakaspalveluJaMyynti{
	font-size: 0.8em;
}
#Yritys{
	font-size: 0.8em;
	padding-top: 20px;
}
#MuutTiedot{
	display: inline-block;
	margin-left: 10%;
	width: 40%;
}
#MuutTiedot a{
	text-decoration: none;
	color: black;
}
#Oikeudenpidatys{
	text-align: center;
	height: 55px;
	letter-spacing: 0.1em;
	background: #999;
	color: #333;
	line-height: 55px;
}