* {
    margin: 0;
    padding: 0;
}

html,body{
    overflow-x: hidden;
}  

body {
    --grün: rgb(175,202,11);
    --anthrazit: rgb(40, 39, 39);
    --violett: rgb(80, 30, 112);
    background-color: var(--anthrazit);
    color: white;
}

button {
    background-color: var(--grün);
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    color: var(--anthrazit);
    transition: .5s;
    margin: 5px 0px;
}

a{
    color:inherit;
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: space-between;
    padding-right: 30px;
    align-items: center;
}

#lead-button {
    margin:0px;
    font-size: 16px;
    flex: 0 1 240px;
}

header {
    display: flex;
    justify-content: left;
    align-items: end;
    background-image:
    linear-gradient(to bottom, rgba(245, 246, 252, 0), rgba(40, 39, 39, 1)),
    url('./img/Hero.jpg');
    width: 100vw;
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
   
}

.title {
    display: flex;
    flex-direction: column;
    padding-left:10%;
    align-items: flex-start;
    width: 300px;
}

.btn-box{
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

h1{
    font-size: 44px;
}

h2 {
    font-size: 29px;
}

h3{
    font-size: 32px;
    text-align: center;
}

p {
    text-align: center;
    font-size: 20px;
    line-height: 1.7;
}

button:hover {
    transform: scale(1.1);
}

main {
    margin: 0px 20% 0px;
}

span {
    color: var(--grün);
}

/*Über uns*/

.container {
    /*border: 1px solid wheat;*/
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}


.item {
    /*border: 1px solid green;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
    padding-top:50px;
}
/*
.grid {
    border: 1px solid red;
    display: grid;
    width: 80vw;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: repeat(3, 1fr);
    gap: 50px;
    padding:20px;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0px 20px 0px;
    border:1px solid var(--grün);
    border-radius: 30px;
    row-gap: 15px;
}

.grid-item p {
    font-size: 16px;
}
*/

.flex-container {
    /*border: 1px solid red;*/
    width:80vw;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    flex:1;
}

.flex-item {
    display: flex;
    justify-content: left;
    align-items: center;
    border: 1px solid var(--grün);
    border-radius: 10px;
    width: 300px;
    padding:15px;
    gap:20px;
    margin:20px;
}

.flex-item p {
    text-align: left;
    font-size: 16px;
}

.flex-item span {
    font-size: 32px;
}

.parallax {
    /*background-image:
    linear-gradient(0deg, rgba(40, 39, 39, 0.3), rgba(40, 39, 39, 0.3)),
    url('./img/Komme.jpg');*/
    background:linear-gradient(0deg, rgba(40, 39, 39, 0.7), rgba(40, 39, 39, 0.7)), url(./img/Komme.jpg);
    width: 100vw;
    height: 60vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.part3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80vw;
    min-height: 90vh;
    text-align: center;
    padding: 50px 0px 0px 0px;
}

#logo {
    width: 200px;
    margin: -50;
}

.part4 {
    display: flex;
    justify-content: center;
    width: 100vw;
    flex-wrap: wrap;
    padding: 50px 5px 50px 5px;
}

.part4-item {
    /*border: 1px solid red;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width:600px;
    padding: 50px 10px 0px 10px;
}

.part5{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    gap:50px;
}

.part5 h3 {
    text-align: center;
}

.box{
    display: flex;
    gap:40px;
    justify-content: center;
    flex-wrap: wrap;
}

.card{
    border: 1px solid var(--grün);
    border-radius: 20px;
    flex: 0 1 150px;
    padding: 5px 30px 5px 30px;
}

.card p{
    font-size: 16px;
}

.card h3 {
    text-align: center;
}


footer {
    margin-top:20px;
    padding: 20px;
    border-top: 1px solid var(--grün);
    border-radius: 20px;;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;

}

footer p{
    font-size: 16px;
}

footer div{
    text-align: center;
}

@media only screen and (max-width: 700px) {
    /* For mobile phones: */
    .parallax{
        background:linear-gradient(0deg, rgba(40, 39, 39, 0.7), rgba(40, 39, 39, 0.7)), url(./img/Komme.jpg);
        width: 100vw;
        height: 60vh;
        background-size: cover;
        background-position: center left;
        background-repeat: no-repeat;
    }
   
   
    footer {
        height: 90vh;
        align-items: center;
        justify-content: center;
    }
  }