@font-face {
  font-family: 'eligible';
  font-weight: normal;
  font-style: normal;
  src: url('font/Eligible-Regular.eot'); /* IE9 Compat Modes */
  src: url('font/Eligible-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('font/Eligible-Regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('font/Eligible-Regular.woff') format('woff'), /* Pretty Modern Browsers */
       url('font/Eligible-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('font/Eligible-Regular.svg#svgFontName') format('svg'); /* Legacy iOS */
}

#loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    left: 50%;
    margin-left: -60px;
    top:50%;
    margin-top: -60px;
}
img{
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto;
}
body{
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 0;
	font-family: 'eligible';
}
#wrapper{
	padding-top: 1vw;
	position: relative;
	overflow: hidden;
	height: 100%;
	width: 100%;
	background: url(pics/puupuuBg.jpg);
}
.hidden{
	display: none;
}

#logo{
	width: 70%;
	margin: 0 auto;
}
#text{
	
	font-size: 1.7vh;
	padding: 0 4%;
}
#grodorna{
	padding: 0 5vw;
	display: flex;
	justify-content: space-between;
}

#figur1, #figur2, #figur3, #figur4{
	width: 20%;
}

#figur1{
	
}
#figur2{
	
	
}
#figur3{
	
}
#figur4{
	
}

.on1{
	animation: on1 2s ease-in-out infinite;
	transform-origin: center bottom;
	animation-duration: 4s;
}
.off1{
	animation: off1 4s ease-in-out infinite;
	transform-origin: center center;
	animation-duration: 7s;
}
.on2{
	animation: on1 2s ease-in-out infinite;
	transform-origin: center bottom;
	animation-duration: 3.8s;
}
.off2{	
	animation: off1 4s ease-in-out infinite;
	transform-origin: center center;
	animation-duration: 5.5s;
}
.on3{
	animation: on1 2s ease-in-out infinite;
	transform-origin: center bottom;
	animation-duration: 2.7s;
}
.off3{
	animation: off1 4s ease-in-out infinite;
	transform-origin: center center;
	animation-duration: 3.5s;
	
}
.on4{
	animation: on1 2s ease-in-out infinite;
	transform-origin: center bottom;
	animation-duration: 3.2s;
}
.off4{
	animation: off1 4s ease-in-out infinite;
	transform-origin: center center;
	animation-duration: 6.2s;
}






@keyframes on1 {
    0%, 100% {
        transform: rotate3d(0, 0, 1, -4deg)
    }

    50% {
        transform: rotate3d(0, 0, 1, 4deg)
    }
}
@keyframes off1 {
    0%, 100% {
        transform: scale(1,1)
    }

    50% {
        transform: scale(1.1,1.1)
    }
}
@keyframes on2 {
    0%, 100% {
        transform: rotate3d(0, 0, 1, -5deg)
    }

    50% {
        transform: rotate3d(0, 0, 1, 5deg)
    }
}
@keyframes off2 {
    0%, 100% {
        transform: scale(1.1,1.1)
    }

    50% {
        transform: scale(1,1)
    }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

