/**
 * Base styles
 **/

/* Background color */
:root{
	--pharao-animation-duration: 4s;
}
.clix-pharao-slider {
	background-color: #98009b;
	background-image: radial-gradient(ellipse at center, #98009b 0%,#600065 100%);
}

/* Button colors */
.clix-pharao-slider .cta-button-container a {
	color: #404040;
	background-color: #ecd400;
}
.clix-pharao-slider .cta-button-container a:hover {
	color: #fff;
	background-color: #3b3a38;
}

/** Teaser **/
.clix-pharao-slider .clix-teaser {
	position: absolute;
	margin: 0 auto;
	width: 276px;
	height: 284px;
	left: 0; top: 10%; right: 0; bottom: 0;
}

/* Change of CSS / Denis / Für animierten Teaser pharao z-index: -20; */
.clix-pharao-slider .clix-teaser .image-back {
	position: absolute;
	margin: auto;
	width: 120%;
	height: 120%;
	left: -30px; top: 6px; right: 0; bottom: 0;
	z-index: -20;
}

/* Change of CSS / Denis / Für animierten Teaser pharao display: none; */
.clix-pharao-slider .clix-teaser .image-front {
	position: absolute;
	margin: auto;
	width: 396px;
	height: 380px;
	left: -59px; top: -5px; right: 0; bottom: 0;
	display: none;
}




.clix-pharao-slider .clix-teaser .image-headline {
	position: absolute;
	margin: auto;
	width: 71px;
	height: 71px;
	right: -15px;
	top: -15px;
}

/* Dices */
.clix-pharao-slider .dices {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
.clix-pharao-slider .dice-small,
.clix-pharao-slider .dice-medium,
.clix-pharao-slider .dice-big {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 100%;
}
.clix-pharao-slider .dice-small img {
	position: relative;
	left: -30%;
	top: -55%;
	width: 144px;
	height: 145px;
}
.clix-pharao-slider .dice-medium img {
	position: relative;
	left: 30%;
	top: -30%;
	width: 148px;
	height: 146px;
}
.clix-pharao-slider .dice-big img {
	position: relative;
	left: -50%;
	top: -35%;
	width: 252px;
	height: 250px;
}


#circle-pharao{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
    height: 115%;
    aspect-ratio: 1;
    overflow: visible;
}


.pharao-background1, .pharao-background2, .pharao-background3, .pharao-background4{
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pharao-background1{z-index: 5;}
.pharao-background2{z-index: 4;}
.pharao-background3{z-index: 3;}
.pharao-background4{z-index: 2;}

.clix-pharao-slider.slick-active .pharao-background1, .clix-pharao-slider.slick-active .pharao-sun-phase1{
	animation: fadeOutAnimation calc(var(--pharao-animation-duration)*1/3) linear forwards;
}

.clix-pharao-slider.slick-active .pharao-background2, .clix-pharao-slider.slick-active .pharao-sun-phase2{
	animation: fadeOutAnimation calc(var(--pharao-animation-duration)*1/3) linear forwards; 
	animation-delay: calc(var(--pharao-animation-duration)*1/3); 
}

.clix-pharao-slider.slick-active .pharao-background3, .clix-pharao-slider.slick-active .pharao-sun-phase3{
	animation: fadeOutAnimation calc(var(--pharao-animation-duration)*1/3) linear forwards;
	animation-delay: calc(var(--pharao-animation-duration)*2/3); 
}

@keyframes fadeOutAnimation {
    0% { opacity: 1; }
	100% { opacity: 0; }
}

.pharao-label{
    position: absolute;
    top: 50%;
    left: 50%;
	width: 90%;
    transform: translate(-50%, -50%);
	z-index: 6;
}

.pharao-sun-wrapper{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: rotate(315deg);
    transform-origin: 50% 50%;
	z-index: 7;
}

.clix-pharao-slider.slick-active .pharao-sun-wrapper{
	animation: rotate-sun var(--pharao-animation-duration) forwards linear;
}

@keyframes rotate-sun {
	0%{transform: rotate(315deg)}
	100%{transform: rotate(495deg)}
}

.pharao-sun-phase1, .pharao-sun-phase2, .pharao-sun-phase3, .pharao-sun-phase4{
	position: absolute;
    top: 0;
    left: 0;
    height: 28%;
    width: 28%;
}

.pharao-sun-phase1{z-index: 14;}
.pharao-sun-phase2{z-index: 13;}
.pharao-sun-phase3{z-index: 12;}
.pharao-sun-phase4{z-index: 11;}


/**
 * Desktop styles
 **/
@media screen and (min-width: 1021px) {
	/* Button position and size */
	.clix-pharao-slider .cta-button-container {
		bottom: 60px;
	}
	.clix-pharao-slider .cta-button-container a {
		padding: 20px 60px;
	}

	.clix-pharao-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-pharao-slider .cta-button-container {
		bottom: 70px;
	}
	.clix-pharao-slider .cta-button-container a {
		padding: 20px 60px;
	}

	.clix-pharao-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-pharao-slider .cta-button-container {
		bottom: 15%;
	}
	.clix-pharao-slider .cta-button-container a {
		padding: 12px 25px;
	}

	.clix-pharao-slider .clix-logo {
		position: absolute;
		bottom: 70px;
		right: 10px;
		width: 85px;
	}


	#circle-pharao {
		height: 85%;
		top: 20%;
	}
	
	.clix-pharao-slider {
		margin: auto;
		width: 193px;
		height: 199px;
		top: -30%
	}

	.clix-pharao-slider .dice-small img {
		top: -50%;
		width: 58px;
		height: 58px;
	}
	.clix-pharao-slider .dice-medium img {
		top: 0;
		width: 59px;
		height: 58px;
	}
	.clix-pharao-slider .dice-big img {
		width: 101px;
		height: 100px;
	}
	
	.clix-pharao-slider .image-front {
	width: 242px;
	height: 242px;
	top: 30px;
	left: -28px;
	}
	
	.clix-pharao-slider .image-back {
		position: absolute;
		margin: auto;
		width: 112%;
		height: 112%;
		left: -10px;
		top: 40px;
		right: 0;
		bottom: 0;
	}
		
		
	.clix-pharao-slider .dices {
		display: none;
	}

}


.clix-pharao-slider.slick-active .dice-small img {
	animation: float-small-dice 1s ease-in-out 1.5s infinite forwards;
	animation-direction: alternate;
}

.clix-pharao-slider.slick-active .dice-medium img {
	animation: float-small-dice 1s ease-in-out 1.9s infinite forwards;
	animation-direction: alternate;
}

.clix-pharao-slider.slick-active .dice-big img {
	animation: float-small-dice 1s ease-in-out 2.2s 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) }
}

 
