@font-face {
    font-family: 'PoiretOne';
    src: url('../fonts/PoiretOne.eot');
    src: url('../fonts/PoiretOne.woff') format('woff'), url('../fonts/PoiretOne.ttf') format('truetype'), url('../fonts/PoiretOne.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'Open Sans', sans-serif;
    background-image: url(../grafika/kapliczka_kamien_plotno_original.jpg);
    height: 100%;
}
.wrap {
  position: relative;
}
.font-loader {
    font-family: PoiretOne;
/*
    visibility: hidden;
    height: 0px;
*/
}
canvas {
    position: fixed;
    pointer-events: none;
    z-index: 3001;
    font-family: PoiretOne;
}

.wrap canvas {
    opacity: .5;
}
.wrap .overl {
    position: absolute;
    width: 100%;
    z-index: 3000;
}
.cont {
    max-width: 580px;
    margin-top: 150px;
    perspective: 450px;
    perspective-origin: 50% 50%;
}
.playr {
    height: 320px;
    border: 5px solid #fff;
    border-radius: 10px;
    transform: scale3d(1, 1, 1) rotateX(-9deg) rotateY(12deg) rotateZ(0deg) translate3d(-50px, 0px, 0px) skew(0deg, 0deg);
    opacity: .8;
    animation: animation1 120s linear 0s infinite normal none;
}

@keyframes animation1 {
    0%,100% {
        transform: scale3d(1, 1, 1) rotateX(-9deg) rotateY(12deg) rotateZ(0deg) translate3d(-50px, 0px, 0px) skew(0deg, 0deg);
    }
    50% {
        transform: scale3d(1, 1, 1) rotateX(-9deg) rotateY(-12deg) rotateZ(0deg) translate3d(50px, 0px, 0px) skew(0deg, 0deg);
    }
}


