﻿html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

a, a:active, a:visited {
    color: black;
}

    a:hover {
        color: #af9878;
    }

.navbar {
    padding: 0;
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
}

    .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .show > .nav-link {
        color: #9d835d;
        border-bottom: 4px solid #9d835d;
    }

    .navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
        color: #9d835d;
    }

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    font-size: 1.2rem;
}

header {
    background-color: black;
    padding: 2rem;
}

footer {
 

 

    
}

.footer-line1 {
    display: flex;
    justify-content: space-between;
    color: white;
    background-color: black;
    padding: 1.25rem;
}

.footer-line2 {
    background-color: #9d835d;
    padding: 1.25rem;
    color: white;
}

    footer ul {
        list-style: none;
        padding: 0;
    }



    footer a, footer a:active, footer a:visited {
        color: white;
    }

        footer a:hover {
            color: #9d835d;
        }


header picture img {
    width: auto;
    height: 40px;
    transform: translateY(-0.2em);
}

@media only screen and (max-width: 1000px) {
    header picture img {
        width: auto;
        height: 25px;
        transform: translateY(-0.2em);
    }

}



.navbar-toggler-icon svg {
    background-color: white;
}



.carousel-item {
    height: 30vh; /* Hier die gewünschte Höhe eintragen */
}



.slogan {
    background-color: rgba(0,0,0,0.7);
    width: 100%;
    left: 0;
    top: 1rem;
    bottom: unset;
}

    .slogan h2 {
        text-transform: uppercase;
    }

.about-us {
    text-align: center;
    padding: 2rem;
    width: 100%;
    border-bottom: 1px solid black;

}





.profile-header {
    display: flex;
    align-items: center;
    background-color: black;
    color: white;
    font-size: 1rem;
}



    .profile-header img {
        max-width: 100%;
        width: auto;
        max-height: 50vh;
    }


.profile-text {
    margin: 2rem;
    width: 75%;
}



.profile-name {
    text-align: center;
    border-bottom: 2px solid white;
    padding-bottom: 1.25rem;
}

.profile-text button {
    margin: 2rem 0;
}



    .profile-additional-info div {
        margin: 1rem 0;
    }

.profile-additional-info div:first-of-type {
    margin: 0 0 1rem 0;
}

.private-teachement {
    

}





.ms-button {
    background-color: black;
    border-radius: 0.5rem;
    color: white !important;
    padding: 0.5rem;
    border: none;
    text-decoration: none;
    display: inline-block;
    margin: 1rem 0;
    align-items: center;
    justify-content: center;
}


.ms-button-inverse {
    background-color: white;
    color: black;
}




.ms-button:hover {
    background-color: #9d835d;
    color: white;
}

.teacher-about {
    font-weight: 700;
    padding: 1.25rem;
    margin-bottom: 1rem;
    margin: 2rem auto;
    border-bottom: 2px solid black;
    padding-bottom: 1.25rem;
    margin: 0 auto;
    
}

.about-us {
    font-weight: bold;
    color: white;
    background-color: black
}
@media only screen and (max-width: 1800px) {
    .profile-header {
        flex-direction: column;
    }


        .profile-header img {
            width: auto;
            max-width: 100%;
            max-height: 50vh;
        }


    .profile-text {
        padding: 1rem;
        width: 100%;
        margin: 0 0;
    }

    .profile-page-container {
        padding: 0;
    }


    .profile-header {
        padding: 0;
    }

 
}

.price-tile {
    margin: 1rem 0;
  
    gap: 2rem;
    display: flex;
    font-size: 1rem;
    border-bottom: 1px solid black    
}

    .price-tile > div:first-of-type {
      
        width: 20vw;
        padding: 0.5rem;
       
    }

    .price-tile > div {
        height: 100%;
        display: flex;
        flex-direction: column;
        
    }

.price-container {
    display: flex;
    flex-direction: column;
}

.profile-body {
    margin: 2rem auto;
    max-width: 1920px;
}
@media only screen and (max-width: 1920px) {
    .profile-body {
        padding: 1rem;
    }
}


.school-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.contact-form-container {
    padding: 1rem;
}



.school-row {
    display: flex;
    gap: 2rem;
}

@media only screen and (max-width: 1000px) {

    .school-row {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

}


    .school-row img {
        width: 200px;
        object-fit: scale-down;
    }

    .school-row a {
        display: flex;
        flex-direction: column;
        color: black;
        text-decoration: none;
    }


.school-price {
    display: flex;
    flex-direction: column;
    gap: 1rem;
 
}

    .school-price > div {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid black;
    }



.additional-locations {
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

@media only screen and (max-width: 1000px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.teachment-display {
    margin-top: 2rem;
    border-top: 2px solid black;
    padding-top: 2rem;
}

.teacher-contact {
    height: 100%;
    flex-direction: column;
    display: flex;
    justify-content: space-between;

}

.frame {
    padding: 1rem;
    max-width: 1980px;
    margin: 0 auto;
}

.form-container {
    width: 60%;
    margin: 0 auto;
}
.toolbar {
    padding: 0 1rem;
}

