/* SCHRIFTARTEN */
<!-- 
font-family: 'Merienda', cursive; -->

/* ALLGEMEIN */

*{
margin: 0;
padding: 0;
    
font-family: Helvetica, sans-serif
}

.wrapper {
    width: 960px;
    max-width: 90%;
    
    margin: 0 auto
    
}.wrapper_fuss {
    width: 960px;
    max-width: 90%;
    
    margin: 0 auto
    
}

/* NAVIGATION */

#navigation {
position: fixed; /* die Elemente, die weiter unten liegen, schieben sich unter den Navigationsblock*/
top: 0;
    
width: 100%;
height: auto;
font-family: Helvetica, sans-serif;

background-color: rgba(250, 250, 250, 0.8);
z-index: 10; /* definiert was oben und was unten liegt, hier ist die Navigation auf der Position 10 ganz oben, banner hat den Wert z-index: 0 und liegt ganz unten, unter der Navigation */
}


#logo {
    box-sizing: border-box;
    max-width: 90px;
    height: auto;
    margin-right: 30px;
    margin-left: 0px;
    margin-top: 0px;
    float: left;
}


#menue {
  
    margin-top: 15px;
    margin-right: 30px;
   }


#menue a {
    padding-right: 20px;
    line-height: 1.8em;
    text-decoration: none;
    color: #18a918;
    font-weight: 700;
}
    
#menue a:hover {
        color: darkblue;  
    }

#menue a: {
    color:coral;
}

/* BANNER */   


.banner {
 
    width: 100%;
    height: 300px;
    background-size: cover;
    z-index: 0;
}


.banner h1 {
    padding-top: 165px;
    text-align: center;
    color: azure; 
    font-family:  'Merienda', cursive;
    font-size: 2.5em;
    font-weight: 800;
 }


.banner h2 {
    text-align: center;
    color: azure; 
    font-family: 'Merienda', cursive;
    font-size: 1.5em;
}



 


 /* CONTENT */   
#content {
    margin-top: 30px;
 }

#content a {
  text-decoration: underline;
    color: #18a918;
    font-weight: 100px;  
}
#content a:hover {
        color: darkblue; 
    
}

#content h2 {
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: left;
    color: #18a918;
    font-family: 'Merienda', cursive;
    font-size: 2em;
}

#content h3 {
   
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: left;
    color: #18a918;
    font-family: 'Merienda', cursive;
    font-size: 1.5em;
    
}
#content h4 { padding-top: 0px;
    padding-bottom: 0px;
    text-align: left;
    color: #18a918;
    font-family: 'Merienda', cursive;
    font-size: 1em;
    
}

#content p, ul, ul li {
    font-family: Helvetica; sans-serif;
    color: black;
    box-sizing: border-box;
    width: 100%;
    border-style: none;  
    border-color: #18a918;
    border-width: 5px;
    padding: 0px;
    margin-right: 25px;
  
}

.container{
    background-color: none;
    width: 100%;
    display: flex;
    padding-bottom: 20px;
}

#liste{
    font-family: Helvetica, sans-serif;
}

#liste a{
    text-decoration: underline;
    color: #18a918;
    font-weight: 600;  
} 
#liste a:hover{
    color: darkblue;
}



/*   PORTRAET */
#portraet {
    box-sizing: border-box;
    width: 225px;
    height: 300px;
    float: right;
    border-radius: 85px;
    padding-bottom: 10px;
    padding-left: 10px;
}
#kontakt {
    box-sizing: border-box;
    width: 150px;
    height: 200px;
    float: right;
    border-radius: 25px;
    padding-bottom: 10px;
    padding-left: 10px;
}

/* Automatisches Karussell mit zwei Bildern Thomas - Kora*/
.text-bild .auto-carousel {
    flex: 1;
    width: 50%;
    max-width: 500px;
    margin: 0;
}



.auto-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 3;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


.auto-carousel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.auto-carousel img.active {
    opacity: 1;
}


/* Automatisches Karussell an die Pfeil-Karussells angleichen */

.auto-carousel {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4 / 3;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.auto-carousel img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

/* Text und Karussell nebeneinander */
.text-bild {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin: 30px 0;
}

/* Textbereich links */
.text-bild .text {
    flex: 1;
    min-width: 0;
}

/* Karussell rechts */
.text-bild .carousel {
    flex: 1;
    width: 50%;
    max-width: 500px;
    margin: 0;
}

/* Bilder anpassen */
.text-bild .slide img {
    width: 100%;
    height: auto;
}

/* Smartphones: Text und Bild untereinander */
@media (max-width: 700px) {
    .text-bild {
        flex-direction: column;
    }

    .text-bild .text,
    .text-bild .carousel {
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 700px) {
    .text-bild .auto-carousel {
        width: 100%;
        max-width: 100%;
    }
}


/* FOTOS index */

.foto_box {
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
    border-radius: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

.foto {
    box-sizing: border-box;
    max-width: 150px;
    height: auto;
    margin-right: 20px;
    border-radius: 20px;
    margin-top: 20px;
    float: left;
}

.foto_rechts {
    box-sizing: border-box;
    max-width: 150px;
    height: auto;
    margin-left: 20px;
    border-radius: 20px;
    margin-top: 0px;
    margin-bottom: 10px;
    float: right;
}

.foto_untereinander {
    box-sizing: border-box;
    max-width: 150px;
    height: auto;
    margin-left: 0px;
    border-radius: 20px;
    margin-top: 0px;
    margin-bottom: 10px;
}

.foto_untereinander_unten {
    box-sizing: border-box;
    max-width: 150px;
    height: auto;
    margin-left: 0px;
    border-radius: 20px;
    margin-top:80px;
    margin-bottom: 10px;
}

.foto_termine {
    box-sizing: border-box;
    max-width: 150px;
    height: auto;
    margin-left: 0px;
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}


/* FOTOS team */
.foto_1 {
    box-sizing: border-box;
    width: 300px;
    height: 300px;
    float: right;
    border-radius: 85px;
    padding-bottom: 10px;
    padding-left: 10px;
    
}.foto_team {
    box-sizing: border-box;
    width: 200px;
    height: 300px;
    float: left;
    border-radius: 15px;
    padding-bottom: 10px;
    margin-right: 15px;
 
}
.table {
    font-family: Helvetica, sans-serif;
        
}

.td_1 {
    width: 150px;
    height: 90px;
    vertical-align: top;
    text-align: left;
}
.td_2 {
    vertical-align: top;
}
/*  FUSSZEILE */

#fusszeile {
    position: static;
    top: 0;    
    width: 100%;
    height: 100px;
    background-color: rgba(250, 250, 250, 0.8);
    z-index: 10;
    margin-bottom: 30px;
    float: right;
    padding-right: 30px;
    text-decoration: none;
    color: #18a918;
    font-weight: 700;
}
#fusszeile p{
    border: none;
}

#fuss-menue a {
    padding-right: 30px;
    text-decoration: none;
    color: #18a918;
    font-weight: 700;  
}

#fuss-menue a:hover {
        color: darkblue; 
}

/* BOX */ 
.box {
    box-sizing: border-box;  
    width: 100%;
    height: auto;
    background-color: gainsboro;
    border-style:dashed;
    border-color: gray
    border-width: 0px;
    border-radius: 10px;
    float: right;
    
 
}

.box_1 {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    float: left;
    font-family: Helvetica, sans-serif;
}

.box_2 {
    width: 100%;
    height: auto;
    border-style: none;
    border-color: none;
    border-width: 0px;
    border-radius: 10px;
    margin-right: 10px;
    background-image: url(ringel_2.jpg);
    background-size: cover;
    float: left;
}

.box_3 {
    box-sizing: border-box;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    padding-left: 0px;
    background-color: none; <!-- azure; -->
    width: 100%;
    height: auto;
    min-height: 
    display: block;

}

.box_4 {
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 40px;
    padding: 0px;
    padding-left: 0px;
    background-color: none; /*azure;*/
    width: 100%;
    height: auto;
    min-height: 0px;
   
}


.box_5 {
    box-sizing: border-box;
    background-color: bisque;
    width: 100%;
    height: 250px;
   
}
  
.box p {
    padding: 20px;    
}

.fotobox {
   box-sizing: border-box;  
    width: 100%;
    height: auto;
    background-color: none;
    border-style:none;
    border-color: gray;
    border-radius: 10px;
}

.box_term{
    box-sizing: border-box;
    width: 250px;
    height: 250px;
   
    border: solid;
}
.box_besch{
    box-sizing: border-box;
    width: auto;
    height: auto;
   
    border: solid;
}


/* BILDERANIMATION FÜR DOZENTEN */


main {
	background: transparent;
	border-color: transparent;
}

#gallery {
	position: relative; right: 96px;
    
    
	margin: 0;
    
	background: none;
	border: none;
}




#gallery figure {
	position: absolute;
  
	display: inline-block;
	top: -20px;
    
	left: 2em;
	z-index: 1;
	animation: wechseln 25s infinite;
}

#gallery figure:last-of-type {
	position: relative;
}

#gallery > figure figcaption {
	position: absolute;
    left: 2.5em;
    font-family: 'Merienda', cursive;
	font-size: 0.9em;
	font-weight: bold;
	bottom: 0.5em;
	z-index: 2;
	color: azure;
}

@keyframes wechseln {
	0% {
		opacity: 0;
	}
	20% {
		opacity: 0;
	}
	40% {
		opacity: 1;
	}
	60% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

#gallery figure:nth-of-type(2) {
	animation-delay: 5s;
	opacity: 0;
}

#gallery figure:nth-of-type(3) {
	animation-delay: 10s;
	opacity: 0;
}
#gallery figure:nth-of-type(4) {
	animation-delay: 15s;
	opacity: 0;
}

#gallery figure:nth-of-type(5) {
	animation-delay: 20s;
	opacity: 0;
}

