

/* Basic definitions  Vers: 2.0*/
:root {
--basic_color:black;
--navlink:white;
--artikel_back: #faedcd98;
--nav_Leiste: #d4a37398;
--artikel_Farbabsatz_back:#e9edc998; 
--artike_schriftGroesse: medium;
}

html {
    scroll-behavior: smooth;
}

@keyframes fadeIn { 
    from { opacity:0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideAnimation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-75%); }
}

@media screen and (max-width: 530px){
    main {
        display:block;
    }
    article {
        width:auto;
    }
    
}



body {
    
    background-color:beige;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    background-image: url(img/kindergarten_back.png);
    background-size:cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;

}

header {
    
    display: flex;
    flex-direction: column;
    width: 100%;
    
}

h1 {
   font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: var(--basic_color);
    text-align: center;
}

img {
    text-align: center;
    display: flex;
    justify-content: center;
    max-inline-size: 100%;
    align-self: center;
    /*margin:auto; */
    border-radius: 15px;      
}

nav {
    background-color: var(--nav_Leiste);
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    flex-direction: row;
    
    
}

nav ul {
    margin: 0;
    display: flex;
    list-style: none;
    justify-content: center;
}

nav a {
    color: var(--navlink);
    display: flex;
    text-decoration: none;
    padding: 0.8rem;
    font-size: medium;

}

nav a:hover {
    font-style: italic;
}

nav a.aktuell {
    font-weight: bold;
}

main {
    max-width: 100%;
    padding: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    /*text-align: center;*/
}

section {
    width: 100%;
    display:flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    /*text-align: center;*/
}

article {
    
    display: flex; 
    flex-direction: column;
    color: var(--basic_color);
    background-color: var(--artikel_back);
    width: 45%;
    margin: 1rem;
    font-size: var(--artike_schriftGroesse);
    padding: 0.5rem;
    border-radius: 15px;
    animation: fadeIn 1s forwards


}

article.farbabsatz {
    display: flex;
    flex-direction: column;
    color: var(--basic_color);
    background-color: var(--artikel_Farbabsatz_back);
    width: 45%;
    margin: 1rem;
    font-size: var(--artike_schriftGroesse);
    padding: 0.5rem;
    border-radius: 15px;
    animation: fadeIn 1s forwards
    

}

.vorstand_art {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    border-radius: 50px;
    margin: 1.5rem;
    padding: 1,5rem;
    width: fit-content;
}

.vorstand_art:hover {
    
    scale: 1.1;
    box-shadow: 10px 5px 5px rgba(0,0,0,0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    
}

/* Bereich KiTa */

.kita {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    
}

.kitaDiv {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*float: left;*/
    justify-content: center;
    align-items: center;
} 

.kitaArtikel {
    width: 80%;
    display: inline-block;
    flex-direction: row;
    flex-wrap: wrap;
    
    padding: 0.3;
}

.kitaStart {
    position: sticky;
    top: 0px;
    left: 5px;
    max-inline-size: 50%;
    float: left;
    padding-right: 1.5rem;
    padding-bottom: 1.0rem;
    align-self: center;
    
}

.karussell {
 display: flex;
 max-inline-size: 40%;   
 overflow: hidden;
 width: 100%;
 max-width: 50vh;
 margin: auto;    
}

.karussell_slide {
    display: flex;
    width: 400%;
    animation: slideAnimation 10s infinite linear;
    
}

.karussell_slide img {
    width: 25%;
    height: auto;
    margin: 1rem;
    
}







.btn--download {
    text-decoration: none;
    background-color: rgba(128, 128, 128, 0.7);
    border-radius: 7px;
    padding-inline: 1rem;
    justify-content: center;

}

.btn--download:hover {
    opacity: 80%;
    
}

hr {
    margin: 1rem;
}

article.index {
    background-color: var(--artikel_back);
    width: 67%;
    margin: auto;
    font-size: smaller;
    padding: 1.5rem;
    border-radius: 15px;
    font-size: medium;
    animation: fadein 1s forwards;


}

.vorstand {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    
}

div.index {
    display: flex;
    margin:inherit;
}

.textLink {

    color: var(--basic_color);
    font-style: italic;
    
}

.textLink:hover {
    font-weight: bolder;
}

.opener {
    color: var(--basic_color);
    
}

.containerImpressum {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
            
}


.footer {
    display: flex;
    flex-direction: row;
    font-size: small;
    background-color: var(--nav_Leiste);
    color: #ffffff;
    text-align: center;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
    
}

div.termine {
    display: flex;
    justify-content: center;
}


/* playground styles*/

a {
    text-decoration: none;
    font-size: small;
    color: #ffffff;
}


label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #444;
    
}



.button {
    margin-top: 2rem;
    margin-bottom: 2rem;
    background: var(--nav_Leiste);
    color: var(--basic_color);
    border: none;
    padding: 1rem;
    border-radius: 15px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #ffbf69;
}

.container {
    width: auto;
    max-width: 700px;
    margin: auto;
    background: var(--artikel_back);
    /*padding: 5px;*/
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
}

