/**
 * Base styles
 **/

/* Background color */
:root{
	--lle-animation-duration: 5s;
}
.clix-lle-slider {
	background-color: #98009b;
	background-image: radial-gradient(ellipse at center, #98009b 0%,#600065 100%);
}

/* Button colors */
.clix-lle-slider .cta-button-container a {
	color: #404040;
	background-color: #ecd400;
}
.clix-lle-slider .cta-button-container a:hover {
	color: #fff;
	background-color: #3b3a38;
}

/** Teaser **/
.clix-lle-slider .clix-teaser {
	position: absolute;
	margin: 0 auto;
	width: 276px;
	height: 284px;
	left: 0; top: 10%; right: 0; bottom: 0;
}

.clix-lle-slider .clix-teaser .image-back {
	position: absolute;
	margin: auto;
	width: 120%;
	height: 120%;
	left: -30px; top: 6px; right: 0; bottom: 0;
	z-index: -20;
}

.clix-lle-slider .clix-teaser .image-front {
	position: absolute;
	margin: auto;
	width: 396px;
	height: 380px;
	left: -59px; top: -5px; right: 0; bottom: 0;
	display: none;
}

.clix-lle-slider .clix-teaser .image-headline {
	position: absolute;
	margin: auto;
	width: 71px;
	height: 71px;
	right: -15px;
	top: -15px;
}

/* Dices */
.clix-lle-slider .dices {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
.clix-lle-slider .dice-small,
.clix-lle-slider .dice-medium,
.clix-lle-slider .dice-big {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 100%;
}
.clix-lle-slider .dice-small img {
	position: relative;
	left: -30%;
	top: -55%;
	width: 144px;
	height: 145px;
}
.clix-lle-slider .dice-medium img {
	position: relative;
	left: 30%;
	top: -30%;
	width: 148px;
	height: 146px;
}
.clix-lle-slider .dice-big img {
	position: relative;
	left: -50%;
	top: -35%;
	width: 252px;
	height: 250px;
}

#circle-lle{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
    height: 115%;
    aspect-ratio: 1;
    overflow: visible;
}



.lle-background{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lle-label{
	position: absolute;
	top: 22%;
	width: 115%;
}

.lle-prize{
	position: absolute;
	top: 75%;
	width: 80%;
	z-index: 2;
}

.lle-label, .lle-prize{
	left: 50%;
	transform: translateX(-50%)
}

.lle-goblin {
  height: 100%;
  aspect-ratio: 290 / 330;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background-image: url("../images/goblin.png");
  background-repeat: no-repeat;
  background-size: 700% 400%;
  background-position: 0% 0%;
}

.clix-lle-slider.slick-active .lle-goblin{
	animation: goblin-animation 1s steps(1, end) 1 forwards;
	animation-delay: 1.5s;
}


@keyframes goblin-animation {
  /* Zeile 1: Frames 00 bis 06 */
  0% {
    background-position: 0% 0%;
  }

  4% {
    background-position: 16.6667% 0%;
  }

  8% {
    background-position: 33.3333% 0%;
  }

  12% {
    background-position: 50% 0%;
  }

  16% {
    background-position: 66.6667% 0%;
  }

  20% {
    background-position: 83.3333% 0%;
  }

  24% {
    background-position: 100% 0%;
  }

  /* Zeile 2: Frames 07 bis 13 */
  28% {
    background-position: 0% 33.3333%;
  }

  32% {
    background-position: 16.6667% 33.3333%;
  }

  36% {
    background-position: 33.3333% 33.3333%;
  }

  40% {
    background-position: 50% 33.3333%;
  }

  44% {
    background-position: 66.6667% 33.3333%;
  }

  48% {
    background-position: 83.3333% 33.3333%;
  }

  52% {
    background-position: 100% 33.3333%;
  }

  /* Zeile 3: Frames 14 bis 20 */
  56% {
    background-position: 0% 66.6667%;
  }

  60% {
    background-position: 16.6667% 66.6667%;
  }

  64% {
    background-position: 33.3333% 66.6667%;
  }

  68% {
    background-position: 50% 66.6667%;
  }

  72% {
    background-position: 66.6667% 66.6667%;
  }

  76% {
    background-position: 83.3333% 66.6667%;
  }

  80% {
    background-position: 100% 66.6667%;
  }

  /* Zeile 4: Frames 21 bis 24 */
  84% {
    background-position: 0% 100%;
  }

  88% {
    background-position: 16.6667% 100%;
  }

  92% {
    background-position: 33.3333% 100%;
  }

  96% {
	background-position: 50% 100%;
  }
  100% {
    opacity: 0;
  }
}

/**
 * Desktop styles
 **/
@media screen and (min-width: 1021px) {
	/* Button position and size */
	.clix-lle-slider .cta-button-container {
		bottom: 60px;
	}
	.clix-lle-slider .cta-button-container a {
		padding: 20px 60px;
	}

	.clix-lle-slider .clix-logo {
		position: absolute;
		bottom: 40px;
		right: 0;
		width: 276px;
	}
}


/**
 * Tablet styles
 **/
@media screen and (min-width: 768px) and (max-width: 1020.9px) {
	/* Button position and size */
	.clix-lle-slider .cta-button-container {
		bottom: 70px;
	}
	.clix-lle-slider .cta-button-container a {
		padding: 20px 60px;
	}

	.clix-lle-slider .clix-logo {
		position: absolute;
		bottom: 40px;
		right: 0;
		width: 200px;
	}
	
}

/**
 * Mobile styles
 **/
@media screen and (max-width: 767.9px) {
	/* Button position and size */
	.clix-lle-slider .cta-button-container {
		bottom: 15%;
	}
	.clix-lle-slider .cta-button-container a {
		padding: 12px 25px;
	}

	.clix-lle-slider .clix-logo {
		position: absolute;
		bottom: 70px;
		right: 10px;
		width: 85px;
	}


	#circle-lle {
		height: 85%;
		top: 20%;
	}
	
	.clix-lle-slider {
		margin: auto;
		width: 193px;
		height: 199px;
		top: -30%
	}

	.clix-lle-slider .dice-small img {
		top: -50%;
		width: 58px;
		height: 58px;
	}
	.clix-lle-slider .dice-medium img {
		top: 0;
		width: 59px;
		height: 58px;
	}
	.clix-lle-slider .dice-big img {
		width: 101px;
		height: 100px;
	}
	
	.clix-lle-slider .image-front {
	width: 242px;
	height: 242px;
	top: 30px;
	left: -28px;
	}
	
	.clix-lle-slider .image-back {
		position: absolute;
		margin: auto;
		width: 112%;
		height: 112%;
		left: -10px;
		top: 40px;
		right: 0;
		bottom: 0;
	}
		
		
	.clix-lle-slider .dices {
		display: none;
	}

}


.clix-lle-slider.slick-active .dice-small img {
	animation: float-small-dice 1s ease-in-out 0s infinite forwards;
	animation-direction: alternate;
}

.clix-lle-slider.slick-active .dice-medium img {
	animation: float-small-dice 1s ease-in-out 0.4s infinite forwards;
	animation-direction: alternate;
}

.clix-lle-slider.slick-active .dice-big img {
	animation: float-small-dice 1s ease-in-out 0.7s infinite forwards;
	animation-direction: alternate;
}

@keyframes teaser-pulse {
	0% { transform:scale(1); }
	25% { transform:scale(0.9); }
	50% { transform:scale(1.1); }
	100% { transform:scale(1); }
}

@keyframes show-dices {
	0% { transform:scale(0) }
	100% { transform:scale(1) }
}

@keyframes float-small-dice {
	0% { transform:translate3d(0, -3px, 0) }
	100% { transform:translate3d(0, 3px, 0) }
}

@keyframes float-medium-dice {
	0% { transform:translate3d(0, -4px, 0) }
	100% { transform:translate3d(0, 4px, 0) }
}

@keyframes float-big-dice {
	0% { transform:translate3d(0, -8px, 0) }
	100% { transform:translate3d(0, 8px, 0) }
}