@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@400;700&display=swap');

@keyframes blink{
	0%{opacity: 1;}
	20%{opacity: 0;}
	40%{opacity: 1;}
}

@keyframes waves{
	0% { 
		background-position-x: 0em;
	}
	50% { 
		background-position-x: 1.692em;
	}
	100% { 
		background-position-x: .846em;
	}
}


@keyframes siren{
	0% { 
		background-position-y: 0vw;
	}
	50% { 
		background-position-y: 2.5vw;
	}
	100% { 
		background-position-y: 0vw;
	}
}


.storytel-template {
	background: rgb(35, 44, 135) no-repeat;
	background-size: 100%;
	background-position: top;
	color: #fff;
	font-family: 'roboto','sans-serif';
	font-weight: 400;
	letter-spacing: .06em;
	font-size: 15px;
	line-height: 1.3;
	padding: 1px 0;
	animation: siren 9s ease-in-out infinite;
}

.storytel-template a {
	border: none;
}

.storytel-template a[href="#eksponaty"] {
	text-transform: uppercase;
	color: rgb(8,251,255);
}

.storytel-container {
	padding-top: calc(8em + 10vw);
}

.storytel-footer .storytel-container {
	padding-top: 0;
}

.storytel-container > * {
	position: relative;
	z-index: 3;
}

.storytel-template h2 {
	color: rgb(239, 112, 97);
	text-transform: uppercase;
	font-family: Anton,'FF Good Pro Bold',sans-serif;
	font-size: 4em;
	font-size: calc(3em + 3vw);
	line-height: 1.2;
	margin: 0 0 1em;
}

.storytel-stars {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	height: 70vw;
}

.storytel-stars span {
	animation: blink 5s linear infinite;
	position: absolute;
	
}
.storytel-stars span:after {
	transform: rotate(45deg);
	height: .5em;
	width: .5em;
	height: calc(.5vw + .4em);
	width: calc(.5vw + .4em);
	background: rgb(239, 112, 97);
	content: '';
	display: block;
}


.storytel-stars span:nth-child(1) {
	top: 3vw;
	left: 50vw;
}
.storytel-stars span:nth-child(2) {
	top: 10vw;
	left: 90vw;
	animation-delay: 1s;
}

.storytel-stars span:nth-child(3) {
	top: 11vw;
	left: 60vw;
	animation-delay: 2s;
}

.storytel-stars span:nth-child(4) {
	top: 18vw;
	left: 20vw;
	animation-delay: 4s;
}
.storytel-stars span:nth-child(5) {
	top: 39vw;
	left: 82vw;
	animation-delay: 2.5s;
}
.storytel-stars span:nth-child(6) {
	top: 46vw;
	left: 69vw;
	animation-delay: 3.5s;
}
.storytel-stars span:nth-child(3):after,
.storytel-stars span:nth-child(4):after,
.storytel-stars span:nth-child(6):after {
	background: rgb(3, 234, 242);
}
.storytel-stars span:nth-child(5):after {
	background: #fff;
}

.storytel-container {
	margin: 0 auto;
	width: 64em;
	max-width: 94%;
}

.storytel-container:after {
	clear: both;
	content: '';
	display: block;
	height: 1px;
}

@media (min-width: 768px) {
	.storytel-col {
		width: 49%;
		float: left;
		margin-bottom: 4em;
	}
	.storytel-col + .storytel-col {
		margin-left: 2%;
	}
}


.storytel-box {
	background: #4354b3 no-repeat center;
	background-size: cover;
	color: rgb(8, 22, 97);
	margin: 2em 0;
	clear: both;
	padding-bottom: 1px;
	border: .5em solid rgb(219, 105, 95);
}


.storytel-box h2 {
	margin: 0;
	font-size: 3em;
}

.storytel-box:before {
	content: '';
	display: inline-block;
	vertical-align: bottom;
	padding-top: 45.8%;
}


.storytel-paragraph {
	display: inline-block;
	vertical-align: bottom;
	width: 53%;
	margin: 1em 4% 1em 5%;
	font-weight: bold;
}

.storytel-button,
.storytel-button2 a {
	border-radius: 1.35em;
	background: rgb(239, 112, 97);
	color: #fff;
	line-height: 1.3;
	text-align: center;
	min-width: 16em;
	padding: .55em .5em;
	margin: 1em 0 1.71em;
	display: inline-block;
	vertical-align: bottom;
	font-weight: 700;
	font-size: 1.2em;
	border: 0px solid #fff;
	transition: .7s;
}

.storytel-button:hover,
.storytel-button:focus,
.storytel-button2 a:hover,
.storytel-button2 a:focus {
	-webkit-filter: brightness(1.2);
	filter: brightness(1.2);
}

.storytel-button2 .storytel-button-star {	
	margin: 0 1em;
	vertical-align: middle;
	animation: blink 4s linear infinite;
}
.storytel-button2 .storytel-button-star:after {
	display: inline-block;
	background: rgb(80,104,192);
	transform: rotate(45deg);
	height: .9em;
	width: .9em;
	content: '';
}
.storytel-button2 {
	text-align: center;
	font-weight: 700;
	margin: 5em 0;
}
.storytel-button2 a {
	background: #fff;
	color: rgb(239, 112, 97);
	margin: 1em 0;
	display: inline-block;
	vertical-align: middle;
}
.storytel-button2 p {
	display: inline-block;
	vertical-align: middle;
}

.storytel-box:nth-of-type(3n+0) {
	border-color: #fff;
}
.storytel-box:nth-of-type(3n+0) h2 {
	color: rgb(80, 104, 192);
}
.storytel-box:nth-of-type(3n+0) .storytel-button,
.storytel-box:nth-of-type(3n+0) .mejs__container {
	background: rgb(80, 104, 192);
	color: #fff;
}
.storytel-box:nth-of-type(3n+1) {
	border-color: rgb(3, 234, 242);
	color: #fff;
}
.storytel-box:nth-of-type(3n+1) h2 {
	color: rgb(3, 234, 242);
}
.storytel-box:nth-of-type(3n+1) .storytel-button,
.storytel-box:nth-of-type(3n+1) .mejs__container {
	background-color: rgb(3, 234, 242);
	color: rgb(9, 23, 98);
}

.storytel-box:nth-of-type(3n+2) .storytel-button {
	color: rgb(9, 23, 98);
}

.storytel-divider {
	background: rgb(44, 61, 138) url(divider.png) repeat-x;
	background-size: auto 101%;
	height: 1em;
	font-size: 5em;
	animation: waves 5s ease infinite;
}

.storytel-footer {
	background: #fff;
	color: #000;
	padding: 2em 0;
	margin-top: -2px;
}

.storytel-container div.mejs__controls {
	padding: 0;
	background: transparent;
	height: 1em;
}
.storytel-container .mejs__button,
.storytel-container .mejs__button > button {
	font-size: inherit;
	height: auto;
}
.storytel-container .mejs__container {
	border-radius: .5em;
	width: 92% !important;
	background: rgb(239, 112, 97);
	font-size: 43px;
	height: 1em !important;
}

.storytel-container .mejs__playpause-button button {
	border-radius: 50%;
	border: 1px solid #fff;
	margin: 0;
	width: 1em;
	height: 1em;
	background: transparent;
}

.storytel-container .mejs__playpause-button {
	width: 1em;
}

.storytel-container .mejs__play button:after {
	content: '';
	border: .5em solid transparent;
	border-left: .6em solid rgb(9, 23, 98);
	border-right: 0em solid transparent;
	display: inline-block;
	font-size: .5em;
	color: rgb(9, 23, 98);
	vertical-align: top;
	margin-left: .2em;
}

.storytel-container .mejs__pause button:before,
.storytel-container .mejs__pause button:after {
	content: '';
	display: inline-block;
	height: .6em;
	width: .14em;
	background: rgb(9, 23, 98);
	font-size: .7em;
	color: rgb(9, 23, 98);
	padding-bottom: .1em;
	vertical-align: top;
	margin: 0 .07em;
}

.storytel-container .mejs__time-rail {
	height: auto;
	padding-top: .39em;
	font-size: inherit;
	margin-right: .5em;
}

.storytel-container .mejs__time-total {
	background: hsla(0,0%,100%,.5);
}


.storytel-container .mejs__time-float-current {
	width: 100%;
	margin: 0;
	height: auto;
}

.storytel-container .mejs__time-float {
	width: 3.4em;
	height: 1.6em;
	line-height: 1.54em;
	text-align: center;
	font-size: .3em;
}

.storytel-container .mejs__time-total {
	margin: 0;
}

@media (max-width: 768px) {
	.storytel-button {
		display: block;
		margin: 0em auto 1.7em;
		width: 15em;
		min-width: 15em;
	}
	.storytel-paragraph {
		display: block;
		width: 90%;
		margin: 1em auto 2em;
	}
	.storytel-container .mejs__container {
		margin: 0 auto;
	}
	.storytel-button2 .storytel-button-star {
		display: none;
	}
}
@media (max-width: 900px) {
	.storytel-button {
		width: 13em;
		min-width: 13em;
	}