@import url('https://fonts.googleapis.com/css?family=Oswald');

.okvir {
	background: #090d00;
	color: rgba(255, 255, 255, 0.25);
}

.napis {
	position: relative;
	width: 80vw;
	top: 25vh;
	left: 10vw;
	right: 10vw;
	text-transform: uppercase;
	line-height: 3;
	letter-spacing: 0.5vw;
	border: 0.4vw double rgba(255, 255, 255, 0.25);
	border-width: 0.4vw 0;
	text-align: center;

}
p{
	font-size: 4vh;
}

p .animacija {
	position: relative;
	flex-direction: row;
	white-space: nowrap;
	font: 8vh "Oswald", sans-serif;
	letter-spacing: 0.5vw;
	text-shadow: 0 0 8vw rgba(255, 255, 255, 0.5);
	background: url(image.png) repeat-y;
	-webkit-background-clip: text;
	background-clip: text;
	animation: aitf 80s linear infinite;
	-webkit-animation: aitf 80s linear infinite;
	transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

/* Animate Background Image */

@-webkit-keyframes aitf {
	0% {
		background-position: 0% 50%;
	}
	100% {
		background-position: 100% 50%;
	}
}
