/* 
	CSS- Datei: logo3d.css
*/

/* Allgemeines und Grundsätzliches */
body {
	background-color: rgb(246, 246, 246);
}

.posing {
	position: absolute;
}

/* Gestaltung und Schriftgröße URL thilomausser.de */
.line {
	display: inline-block;
	font-size: 4vmin;
	font-weight: 700;
	color: rgb(235, 233, 233);
	margin-top: 93%;
	margin-left: 10.3%;
}

.clickable {
	cursor: pointer;
}

/* definiert die Animation und den Text, der eingeblendet wird */
@keyframes turnLeft {
	20% { transform: rotateX(-15deg) rotateY(25deg); }
	25% { transform: rotateX(-15deg) rotateY(25deg); }
	92% { transform: rotateX(-15deg) rotateY(325deg); }
	to  { transform: rotateX(-15deg) rotateY(325deg); }
}

.aboutPerspectives {
	opacity: 0;
	width: 98vmin;
	height: 98vmin;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 7vmin;
	
	animation: 20s blendIn ease-in 18s;
}

@keyframes blendIn {
	   0% { opacity: 0; }
	   5% { opacity: 0.9; }
	  75% { opacity: 0.9 }
	   to { opacity: 1; }
}
.aboutPerspectives article {
	box-sizing: content-box;
	font-size: 3.2vmin;
	background-color: rgb(246,246,246);
	padding: 3vmin 3vmin 1vmin 3vmin;
	border: solid 0.35vmin rgb(183, 190, 207);
	border-radius: 1vmin 1vmin 12vmin 1vmin;
	
}
.aboutPerspectives article h1 {
	color: rgb(0, 79, 159);
	margin-top: 0;
	font-weight: 700;
	font-size: 4.5vmin;
	font-variant: small-caps;
	letter-spacing: 0.4vmin;
	
}
.aboutPerspectives article p {
	line-height: 4.0vmin;
	hyphens: auto;
	-webkit-hyphens: auto;	
	text-align: justify;
	color: rgb(32, 13, 0);
}
.smartline {
	line-height: 3.9vmin;
}


/* definiert die Größe des Quadrats, das dem Logo als Hintergrund dient */
.space {
	width: 98vmin;
	height: 98vmin;
	background-color: gray;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: left;
	border-radius: 1vmin 1vmin 25vmin 1vmin;
}

/* definiert die Größe des Logos absolute in px */
.wrapperbox {
	width: 300px;
	height: 300px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	perspective: 1500px;
}

.logo {
	width: 100%;
	height: 100%;
	position: absolute;
	transform-style: preserve-3d;
	transform-origin: 50% 50% 150px;

	animation: 8s turnLeft 2 ease-in-out alternate 1s;
}

.brownbox {
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(32, 13, 0);
	transform: translateZ(7.5px));
}
.whitebottom {
	transform: rotateX(90deg) translateY(60px) translateZ(-120px);
	background-color: rgb(246, 246, 246);
}
.firstfloor {
	height: 85%;
	transform: rotateX(90deg) translateY(25px) translateZ(15px);
	background-color: rgb(246, 246, 246);
}
.brownback {
	transform: translateZ(-75px);
}
.yellowbetween {
	transform: translateZ(-37.5px);
	background-color: rgb(255, 221, 0);
}

.greybox {
	left: 18%;
	top: 18%;
	width: 32%;
	height: 32%;
	background-color: rgb(183, 190, 207);
	transform: translateZ(110px);
}
.greyback {
	background-color: rgb(0, 79, 159);
	transform: translateZ(30px);
}
.greytop {
	height: 40%;
	transform: rotateX(90deg) translateY(70px) translateZ(47.5px);
	background-color: rgb(246, 246, 246);
}

.redbox {
	left: 50%;
	top: 0;
	width: 50%;
	height: 50%;
	background-color: rgb(227, 6, 19);
	transform: translateZ(132.5px);
}

.yellowbox {
	left: 0;
	top: 50%;
	width:	50%;
	height: 50%;
	background-color: rgb(255, 221, 0);
	transform: translateZ(132.5px);
}

.lightgreybox {
	left: 50%;
	top: 50%;
	width: 50%;
	height: 50%;
	background-color: rgb(235, 233, 233);
	transform: translateZ(162.5px);
}

.bluebox {
	left: 68%;
	top: 68%;
	width: 32%;
	height: 32%;
	background-color: rgb(0, 79, 159);
	transform: translateZ(250px);
}
.blueback {
	background-color: rgb(183, 190, 207);
	transform: translateZ(205px);
}
.bluetop {
	height: 22%;
	transform: rotateX(90deg) translateY(225px) translateZ(30px);
	background-color: rgb(246, 246, 246);
}

/* Media-Queries */
@media only screen and (max-width: 600px) {
	.logo {
		transform-origin: 50% 50% 100px;
	}
	.wrapperbox {
		width: 200px;
		height: 200px;
		perspective: 1000px;
	}
	.brownbox {
		transform: translateZ(5px));
	}
	.whitebottom {
		transform: rotateX(90deg) translateY(40px) translateZ(-80px);
	}
	.firstfloor {
		transform: rotateX(90deg) translateY(16.6666666666667px) translateZ(10px);
	}
	.brownback {
		transform: translateZ(-50px);
	}
	.yellowbetween {
		transform: translateZ(-25px);
	}
	.greybox {
		transform: translateZ(73.3333333333334px);
	}
	.greyback {
		transform: translateZ(20px);
	}
	.greytop {
		transform: rotateX(90deg) translateY(46.6666666666666px) translateZ(31.6666666666666px);
	}
	.redbox {
		transform: translateZ(88.3333333333334px);
	}
	
	.yellowbox {
		transform: translateZ(88.3333333333334px);
	}
	
	.lightgreybox {
		transform: translateZ(108.333333333333px);
	}
	.bluebox {
		transform: translateZ(166.666666666667px);
	}
	.blueback {
		transform: translateZ(136.666666666667px);
	}
	.bluetop {
		transform: rotateX(90deg) translateY(150px) translateZ(20px);
	}
}

@media only screen and (max-width: 450px) {
	.logo {
		transform-origin: 50% 50% 75px;
	}
	.wrapperbox {
		width: 150px;
		height: 150px;
		perspective: 750px;
	}
	.brownbox {
		transform: translateZ(3.75px));
	}
	.whitebottom {
		transform: rotateX(90deg) translateY(30px) translateZ(-60px);
	}
	.firstfloor {
		transform: rotateX(90deg) translateY(12.5px) translateZ(7.5px);
	}
	.brownback {
		transform: translateZ(-37.5px);
	}
	.yellowbetween {
		transform: translateZ(-18.75px);
	}
	.greybox {
		transform: translateZ(55px);
	}
	.greyback {
		transform: translateZ(15px);
	}
	.greytop {
		transform: rotateX(90deg) translateY(35px) translateZ(23.75px);
	}
	.redbox {
		transform: translateZ(66.25px);
	}
	
	.yellowbox {
		transform: translateZ(66.25px);
	}
	
	.lightgreybox {
		transform: translateZ(81.2499999999998px);
	}
	.bluebox {
		transform: translateZ(125px);
	}
	.blueback {
		transform: translateZ(102.5px);
	}
	.bluetop {
		transform: rotateX(90deg) translateY(112.5px) translateZ(15px);
	}

}

@media only screen and (max-width: 350px) {
	.logo {
		transform-origin: 50% 50% 50px;
	}
	.wrapperbox {
		width: 100px;
		height: 100px;
		perspective: 500px;
	}
	.brownbox {
		transform: translateZ(2.5px));
	}
	.whitebottom {
		transform: rotateX(90deg) translateY(20px) translateZ(-40px);
	}
	.firstfloor {
		transform: rotateX(90deg) translateY(8.33333333333335px) translateZ(5px);
	}
	.brownback {
		transform: translateZ(-25px);
	}
	.yellowbetween {
		transform: translateZ(-12.5px);
	}
	.greybox {
		transform: translateZ(36.6666666666667px);
	}
	.greyback {
		transform: translateZ(10px);
	}
	.greytop {
		transform: rotateX(90deg) translateY(23.3333333333333px) translateZ(15.8333333333333px);
	}
	.redbox {
		transform: translateZ(44.1666666666667px);
	}
	
	.yellowbox {
		transform: translateZ(44.1666666666667px);
	}
	
	.lightgreybox {
		transform: translateZ(54.1666666666665px);
	}
	.bluebox {
		transform: translateZ(83.3333333333335px);
	}
	.blueback {
		transform: translateZ(68.3333333333335px);
	}
	.bluetop {
		transform: rotateX(90deg) translateY(75px) translateZ(10px);
	}
}



footer {
		border: none;
	}

@media only screen and (min-width: 760px) {
	footer {
		border: none;
	}
}
@media only screen and (min-width: 980px) {
	footer {
		border: none;
	}
}
