/*all elements*/
*{
    box-sizing: border-box; /*allows padding and borders without having to add width*/
    margin: 0; /*sets padding and margin to zero on everything by default*/
    padding: 0;
}

body{
    font-family: 'Montserrat',sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    background: #fff;
    color: #031c32;
}

button{
    background-color: #57233C;
    padding: 10px;
    border: solid 2px #57233C;
    font-size: 18px;
    margin: 10px;
    border-radius: 5px;
}

h1{
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin: 20px 0;
}

h2{
    margin-top: 5px;
    margin-bottom: 10px;
}

html{
    scroll-behavior: smooth;
}

ul{
    list-style: none;
}

a {
    text-decoration: none;
}

.navbar img{
    height:200px;
}

.navbar{
    background-color: #031c32;
    padding-left: 20px;
    padding-right: 0px;
    max-width: 100%;
    height: 230px;
    display: flex;
    justify-content: space-evenly;
}

.navbar ul{
    width: 60%;
    display: flex;
    align-items: center;
    background-color: #031c32;
    justify-content: center;
}

.navbar a{    
    padding: 10px 10px;
    margin: 0 5px;
    color: #ffffff;
    font-size: 19px;
    border: solid 5px #031c32;
}

.navbar a:hover{
    border-color: #fff;
    background-color: #ffffff;
    color: #000000;
    border-radius: 5px;
}

.section-1{
    max-width: 100%;
    display: flex;
    height: 500px;
    padding: 0px 70px;
    margin: 30px;
}

.me img{
    width: 400px;
    margin-right: 30px;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

.me{
    display: flex;
    align-items: center;
    margin: 5px 10px;
    padding-right: 30px;
    color: rgb(29, 29, 29);
    height: 500px;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

.text-1{
    height: 500px;
    margin: 5px 10px;
    padding: 30px;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

.text-1 img{
    width: 50px;
    margin: 10px 20px;
    transition: transform .3s;
}

.text-1 img:hover{
    transform: scale(1.3);
}

.text-1 p{
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-1 ul{
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-1 li{
    list-style: none;    
    padding: 5px;
    margin: 5px;
}

.section-2{
    width: 90%;
    height: 700px;
    margin: 20px 60px;
    padding:30px 50px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
}

.prozess img{
    width: 450px;
}

.aufgaben {
    font-weight: 700;
    border: 3px solid rgb(215, 215, 215);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.aufgaben img{
    width: 55px;
}

.text-2{
    margin: 20px 40px;
    padding: 30px 20px;
    text-align: center;
}

.text-2 li{
    line-height: 40px;
}

.text-3{
    padding-left: 250px;
    padding-right: 250px;
    padding-top: 80px;
    padding-bottom: 80px;
    margin: 50px;
}

.text-3 a{
    font-weight: 600;
}

.tabelle{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    padding: 30px;
    margin: 30px 0px;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid rgb(202, 202, 202);
    box-shadow: 0px 3px 5px rgba(70, 70, 70, 0.2);
}

.tabelle img{
    width: 50px;
    margin-top: 10px;
}

.tabelle p{
    border-bottom: 2px solid rgb(202, 202, 202);
}

.p-1{
    font-weight: 600;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 3px 5px rgba(69, 69, 69, 0.2);
}

.container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 100px;
    padding-right: 100px;
    background-color: #031c32;
    color: #ffffff;
}

.container img{
    width: 180px;
}

.container a{
    color: #fff;
}

.leiste{
    margin-top:40px;
    width: 100%;
    height: 20vh;
    text-align: center;
}

.cards{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    margin-left: 150px;
    margin-right: 150px;
    margin-bottom: 40px;
    height: 500px;
}

.card1{
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(172, 172, 172, 0.2);
    border: 2px solid #031c32;
    text-align: center;
}
.card2{
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(172, 172, 172, 0.2);
    border: 2px solid #031c32;
    text-align: center;
}
.card3{
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(172, 172, 172, 0.2);
    border: 2px solid #031c32;
    text-align: center;
}

.p-2{
    font-weight: 600;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 3px 5px rgba(69, 69, 69, 0.2);
}

.footer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 40vh;
    margin-left: 100px;
    margin-right: 100px;
}

.footer img{
    width: 500px;
}

.contact{
    margin-top: 50px;
    border-bottom: solid 2px gray;
}

.logo2 {
    border-bottom: solid 2px gray;
}

.adresse{
    margin-top: 100px;
    border-bottom: solid 2px gray;
}

.source a{
    font-size: 12px;
}

.privacy{
    margin-left: 300px;
    margin-right: 300px;
    padding:50px;
    font-size: 15px;
    color: #292929;
}


@media(max-width: 1570px){
    .navbar img{
        height:180px;
        width: 60%;
    }
    
    .navbar{
        padding: 10px;
    }

    .navbar ul{
        width: 40%;
        flex-direction: column;
        align-items: flex-start;
        margin: 5px;
    }

    .navbar li{
        height: 40px;
        padding: 5px;
    }
    .navbar a{
        padding: 5px;
        margin: 0px;
        border: solid 2px #031c32;
    }
    
    .section-1{
        height: auto;
        padding: 10px;
        margin: 10px;
        font-size: 18px;
    }
    
    .me img{
        margin: 5px;
        width: 310px;
        height: 400px;
        box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
    }

    .me{
        flex-direction: column;
        margin: 10px;
        padding: 20px;
        color: rgb(29, 29, 29);
        height:auto;
    }
    
    .text-1{
        height: auto;
        margin: 10px;
        padding: 20px;
    }
    
    .text-1 img{
        margin: 5px 10px;
        padding: 5px;
    }
    
    .text-1 li{    
        padding: 0px;
        margin: 0px;
    }
    
    .section-2{
        width: auto;
        height: auto;
        margin: 20px;
        padding: 20px;
        grid-template-columns: 1fr 2fr;
    }
  
    .prozess img{
        width: 350px;
    }

    .text-2{
        margin: 20px;
        padding: 20px;
    }
    
    .text-3{
        padding: 30px;
        margin: 10px;
    }
        
    .container{
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .container h1{
        font-size: 26px;
    }
    
    .leiste{
        padding: 20px;
        margin: 30px;
        height: auto;
    }
    
    .cards{
        margin-left: 50px;
        margin-right: 50px;
        margin-bottom: 40px;
        height:auto;
    }
    
    .footer{
        grid-template-columns: 1fr 2fr;
        height: auto;
        margin: 5px;
        padding: 20px;
    }

    .contact{
        margin: 0px;
        padding: 0px;
    }
    
    .adresse{
        font-size: 15px;
        margin: 10px;
        padding: 10px;
    }
    
    .privacy{
        margin:50px;
        padding:50px;
        font-size: 12px;
    }
}


@media(max-width: 768px){
    .navbar img{
        height: 180px;
        width: 600px;
    }
    
    .navbar{
        padding-left: 20px;
        padding-right: 20px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .navbar ul{
        width: auto;
    }
    
    .navbar a{    
        padding: 10px;
        margin:5px;
        font-size: 18px;
        border: none;
    }
    
    .section-1{
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 20px;
        margin: 10px;
        font-size: 18px;
    }
    
    .me img{
        width: 350px;
        margin: 10px;
        height: 450px;
    }
    
    .me{
        display: flex;
        align-items: center;
        margin: 5px;
        padding: 10px;
        height: auto;;
        width: auto;
    }
    
    .text-1{
        margin: 5px;
        padding: 10px;
        height: auto;;
        width: auto;
    }
    
    .text-1 img{
        width: 50px;
        margin: 10px 20px;
    }

    .section-2{
        margin: 5px;
        padding: 10px;
        height:auto;
        width:auto;
        font-size: 18px;
        display: grid;
        grid-template-columns: 1fr;
    }
  
    .aufgaben {
        padding:20px;
        margin:10px;
        width:auto;
        height: auto;
    }

    .aufgaben img{
        width: 50px;
    }
    
    .text-2{
        font-size: 18px;
        margin: 20px;
        padding: 20px;
    }
    
    .text-2 li{
        line-height: 30px;
    }

    .text-3{
        font-size: 18px;
        padding:20px;
        margin: 20px;
    }
    
    .tabelle{
        padding: 20px;
    }

    .container{
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        grid-template-columns: 1fr 2fr 1fr;
        padding-top: 40px;
        padding-bottom: 40px;
        font-size: 16px;
    }

    .container h1{
        font-size: 27px;
    }
    
    .container img{
        width: 140px;
    }
    
    .leiste{
        margin-top:10px;
        width: auto;
        height: auto;
        text-align: center;
    }
    
    .cards{
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 20px;
        margin: 10px;
        height: auto;
        padding: 20px;
    }
    
    .card1{
        padding: 20px;
    }
    .card2{
        padding: 20px;
    }
    .card3{
        padding: 20px;
    }
    
    .footer{
        display: grid;
        grid-template-columns: 1fr 2fr;
        height:auto;
        margin: 20px;
        padding: 10px;
    }
    
    .footer img{
        width: 320px;
    }
    
    .contact{
        margin-top: 0px;
    }
    
    .adresse{
        margin-top:0px;
        font-size: 16px;
    }
    
    .source a{
        font-size: 12px;
    }
    
    .privacy{
        margin: 10px;
        padding:50px;
        color: #292929;
        font-size: 12px;
    }

}

@media(max-width:500px){
    .navbar img{
        width:100%;
        height: 120px;
    }
    
    .navbar{
        padding-left: 5px;
        padding-right: 5px;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .navbar ul{
        display: flex;
        flex-direction: column;
        padding: 5px;
    }
    
    .navbar a{    
        margin: 10px;
        font-size: 16px;
    }

    .me img{
        width: 310px;
        margin: 10px;
        height: 400px;
    }

    .section-1{
        height:auto;
        display: flex;
        flex-direction: column;
        margin:5px;
        padding:0px;
    }
    
    .me{
        padding:20px;
        width:auto;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 16px;
    }

    .text-1{
        width:auto;
        height:auto;
        padding: 20px;
        font-size: 16px;
    }
    
    .text-1 img{
        width: 40px;
        margin: 5px 5px;
    }
    
    .section-2{
        margin: 5px;
        padding: 10px;
        height:auto;
        width:auto;
        font-size: 16px;
        display: grid;
        grid-template-columns: 1fr;
    }
  
    .aufgaben {
        padding:20px;
        margin:10px;
        width:auto;
        height: auto;
        font-weight: 700;
    }
    
    .aufgaben img{
        width: 50px;
    }
    .text-2{
        margin: 5px;
        padding: 10px;
        width: auto;
        text-align: center;
        font-size: 16px;
    }

    .prozess img{
        max-width: 250px;
    }

    .text-3{
        height:auto;
        padding: 10px;
        margin: 5px;
        font-size: 16px;
    }
    
    .text-3 a{
        font-weight: 600;
    }
    
    .tabelle{
        display: flex;
        flex-direction: column;
        padding: 10px;
        font-size: 16px;
        margin: 20px 0px;
    }

    .tabelle img{
        width: 30px;
        margin-top: 10px;
    }
    
    .container{
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px 10px;
        font-size: 16px;
    }

    .container h1{
        font-size: 27px;
    }
    
    .container img{
        width: 100px;
    }
    
    .leiste{
        padding:20px;
        font-size: 16px;
        margin-top: 10px;
        margin-bottom: 10px;
        height: auto;
        text-align: center;
    }

    .leiste h1{
        font-size: 30px;
    }
    
    .cards{
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 20px;
        margin: 10px;
        height: auto;
        padding: 20px;
    }

    .footer{
        display: grid;
        grid-template-columns: 1fr;
        height: auto;
        margin: 10px;
        padding: 20px;
        font-size: 16px;
    }
    
    .footer img{
        width: 300px;
        margin-left: 50px;
    }

    .logo2{
        border: none;
    }

    .contact{
        margin: 5px;
        padding-bottom: 20px;
    }

    .contact h1{
        font-size: 25px;
    }
    
    .adresse{
        margin: 5px;
    }
    
    .source a{
        font-size: 10px;
    }
    
    .privacy{
        margin: 50px;
        padding:5px;
        font-size: 10px;
    }
}

