/*Fonts*/
@font-face {
    font-family: 'Joti One';
    src: url('fonts/JotiOne-Regular.woff2') format('woff2'),
        url('fonts/JotiOne-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Bubblegum Sans';
    src: url('fonts/BubblegumSans-Regular.woff2') format('woff2'),
        url('fonts/BubblegumSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Franklin Gothic Book';
    src: url('fonts/FranklinGothic-Book.woff2') format('woff2'),
        url('fonts/FranklinGothic-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;}

html {
        min-height: 100%;
        font-size: 1em;
    }
    
/*Corporate Design*/
.highlight {
    color: rgb(255, 205, 51);
    background-color: black;
    font-family: 'Franklin Gothic Book', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: normal;}
.caption {
    color: rgb(102, 51, 51);
    font-family: 'Franklin Gothic Book', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; 
    font-variant: small-caps;
    font-style: normal;}
.quote {
    color: rgb(51, 51, 51);
    font-family: 'Franklin Gothic Book',  'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-indent: 1rem;
    font-style: italic;}
h1 {
    color: rgb(102, 51, 51);
    font-family: 'Joti One', Arial, sans-serif; 
    font-size: 2.5rem;}
h2 {    
    color: rgb(153, 102, 51);
    font-family: 'Bubblegum Sans', 'Comic Sans MS', Arial, sans-serif;
    font-size: 2rem;}
h3 {    
    color: rgb(102, 51, 51);
    font-family: 'Joti One', Arial, sans-serif; 
    font-size: 2rem; }
h4 {    
    color: rgb(153, 102, 51);
    font-family: 'Bubblegum Sans', 'Comic Sans MS', Arial, sans-serif;
    font-size: 1.5rem; }
p {    
    color: rgb(0, 0, 0);
    font-family: 'Franklin Gothic Book',  'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.25rem;}

ul {
    color: rgb(0, 0, 0);
    font-family: 'Franklin Gothic Book',  'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.25rem;}

ol {
    color: rgb(0, 0, 0);
    font-family: 'Franklin Gothic Book',  'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.25rem;}

.datenschutz {
    font-size: 0.75rem;
}



body {
    min-height: 100%;
    background-image: linear-gradient(150deg, #cc9900aa, #99330090);
    /*Hintergrundfarbe wie bei PowerPoint-Vorlage*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 100%;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

section {
    padding: 0px 5px;
}

/* Clearfix für Floats (Immer nutzen wenn umflossen wird.*/
.clearfix::after {
    content: "";
    clear: both;
    display: table;}

/*Box Sizing für alle Elemente auf Border-Box setzen.
Kein Content-Box mehr Standardmäßig.*/
* { box-sizing: border-box; } 

/* Header */
header {
    background-color: rgb(102, 51, 51);
    color: rgb(255, 255, 255);}

/* Navigation */
nav {
    background-color: rgb(153, 102, 51);
    color: rgb(255, 255, 255);
    font-family: 'Bubblegum Sans', 'Comic Sans MS', Arial, sans-serif;
    padding: 5px;
    text-align: center;
    font-size: 2.8vw;
}

.nav {
    margin-right: 2.5%;
    margin-left: 2.5%;
}

/* Main */
main {
    background-color: transparent;
    padding: 10px 0px 10px 0px;}

/* Footer */
footer {
    background-color: rgb(102, 51, 51);
    color: rgb(255, 255, 255);
    padding: 10px 0px 10px 0px;
    text-align: center;
    font-size: 1vw;}

/* Links */
a:link {
    color: rgb(255, 255, 255);
    text-decoration: none;}

a:visited {
    color: rgb(255, 255, 255);
    text-decoration: none;}

a:hover {
    color: rgb(255, 205, 51);
    text-decoration: none;}

a:active {
    color: rgb(255, 205, 51);
    text-decoration: none;}


/* Buttons */
button {
    background-color: rgb(102, 51, 51);
    color: rgb(255, 255, 255);
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 99999px;
    font-family: 'Joti One', Arial, sans-serif; 
    font-size: 3vw;}


.logo {
    width: 100%;
    margin: 0px 0px 0px 0px;}

.head {
    font-size: 7vw;
    color: rgb(255, 205, 51);
    text-align: center;
    }
.head2 {
    font-size: 4vw;
    color: rgb(255, 205, 51);
    text-align: center;}

.headmainpage {
    color:rgb(102, 51, 51);
    margin: 0;
}
.flexbox {
    display: flex;
}

.logo-container {
    width: 30%;
    min-width: 100px;}

.text-container {
    width: 70%;
    align-items: center;
    flex-direction: column;
    justify-content: center;}

.nav-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
}

/* Gallery Start*/
.gallery {
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

.grid img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.grid img:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
}

#caption {
    text-align: center;
    color: #fff;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
}
/* Gallerie Ende*/

/* Instagram Button */
.instagram-btn-size
    { width: 30%;}
.instagram-btn {
    display: inline-block;
    background-color: #E4405F; /* Instagram-Rot */
    color: white;
    text-decoration: none;
    font-family: 'Joti One', Arial, sans-serif; 
    font-size: 16px;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.werbeanzeige
    { width: 80%;}

.instagram-btn:hover {
    background-color: #D12E5E; /* Dunklerer Rotton */
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.nav-container span {
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
}

/* Betreuer */
.section {
    padding: 20px;
    margin: 10px;
    text-align: center;
}

.profile {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-card {
    border: 2px solid #663333;
    border-radius: 15px;
    padding: 15px;
    background-color: #FFCC33;
    width: 220px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-card:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.profile-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}


/* Kontaktformular */
#contact-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#contact-section h2 {
    margin-bottom: 20px;
    color: #663333;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form label {
    font-weight: bold;
    text-align: left;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#contact-form button {
    background-color: #FFCC33;
    color: #663333;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

#contact-form button:hover {
    background-color: #D19B33;
}

/* Pop-up */
#popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#popup.visible {
    display: flex; /*Sichtbar, wenn die Klasse "visible" hinzugefügt wird.*/
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.popup-content img {
    width: 100px;
    margin-bottom: 20px;
}

.popup-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

#close-popup {
    background-color: #FFCC33;
    color: #663333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

#close-popup:hover {
    background-color: #D19B33;
}