/* Notizen
* = Universalselektor
header, html = mehrere html-tags
h1 li = html-tag innerhalb eines tags
.menue = class
#logo = id
::before, ::after = Pseudoelemente
:focus, :hover, :active = (dynamische) Pseudoklassen
> ~ * 0 Kombinatoren

Box-Modell von aussen nach innen
margin: Aussenabstände
border: Begrenzung
padding: Innenabstände
width/heigt: Inhalt

    Eine Angabe: für alle 4 Abstände gilt derselbe Wert
    Zwei Angaben: 1. Wert für margin-top und margin-bottom, 2. Wert für margin-left und margin-right
    Drei Angaben: 1. Wert für margin-top, 2. Wert für margin-left und margin-right, 3. Wert für margin-bottom
    Vier Angaben: 1. Wert für margin-top, 2. Wert für margin-right, 3. Wert für margin-bottom, 4. Wert für margin-left 

https://alvarotrigo.com/blog/how-to-create-a-parallax-effect-with-css-only

	
 */

html {
	overflow: hidden;
}

body {
	align-items: center;
	height: 100vh;
	margin:auto;
	perspective: 5px;							/*"...perceivable distance between the user and the main element..."*/
	overflow-y: scroll;
	overflow-x: hidden;
	position: relative;							/*Das steht hier, damit sich ein späteres position:absolute an diesem Element ausrichtet*/
	background-image: url("grafik/Sack_1.jpg");
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	font-family: Arial, Helvetica, sans-serif;
}

.slide {
	width: calc(100% - 3em);
	max-width: 1100px;	
	padding: 5%;								/*vgl. oben:     Innenabstände: 1. Wert für top und bottom, 2. Wert für left und right*/
	transform-style: preserve-3d;				/*"This will make sure its children elements are positioned on the 3d space instead of on the 2d flattened plane:"*/
	box-sizing: border-box;	
	z-index: 1;
}

.textbox {
	padding: 5%;
	border-radius: 5px;
	background: rgba(240,230,220, .7);			/*Drei Farb-Angaben und Transparenz*/
	box-shadow: 0 0 10px rgba(0, 0, 0, .7);		/*	horizontale und vertikale Verschiebung, blur (Weichzeicheneffekt), Farbe*/
}
.right {
	margin-left: auto;
	margin-right: 0;
}
.left {
	margin-left: 0;
	margin-right: auto;
}

.grafik1 {
	position: absolute;
	top: 10vh;
	left: 0vw;
	width: 90vw;
	max-width: 500px;
	transform: translateZ(-2px) scale(1);
	z-index: -1;
}
.grafik2 {
	position: absolute;
	top: 50vh;
	left: 20vw;
	width: 85vw;
	max-width: 500px;
	transform: translateZ(-4px) scale(3.5) rotate(-30deg);
	z-index: -1;
}
.grafik3 {
	position: absolute;
	top: 100vh;
	left: 0vw;
	width: 90vw;
	max-width: 500px;
	transform: translateZ(-2px) scale(1);
	z-index: -1;
}

.title h1 {
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	margin-top: 1em;
	margin-bottom: 1em;
}
.title p {
	font-size: 1.0em;
	font-weight: normal;
	text-align: left;
	margin-top: 0em;
	margin-bottom: 0em;
}
.title span {
	font-size: 0.7em;
	font-weight: normal;
	text-align: left;
	margin-top: 0em;
	margin-bottom: 0em;
}

.kontakt h1 {
	font-size: 1.0em;
	font-weight: bold;
	text-align: center;
	margin-top: 1em;
	margin-bottom: 1em;
}
.kontakt p {
	font-size: 1.0em;
	font-weight: normal;
	text-align: left;
	margin-top: 0em;
	margin-bottom: 0em;
}

#termine {				/*Id und nicht class, weil es nicht das div ist, sondern das iframe*/
    height: 50vh;
    width: 100%;
	border-width: 0;
}

.impressum{
	max-height: 50vh;
	overflow-y: scroll;
}
.impressum h1 {
	font-size: 1.1em;
	font-weight: bold;
	text-align: center;
	margin-top: 1em;
	margin-bottom: 1em;
}
.impressum h2 {
	font-size: 0.7em;
	font-weight: bold;
	text-align: center;
	margin-top: 1em;
	margin-bottom: 0;
}
.impressum p {
	font-size: 0.7em;
	font-weight: normal;
	text-align: left;
}
