html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    width: 100%;
}

body{
    background-image: url("background.png");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: rgb(30,30,30);
    
    display: flex;
    flex-direction: column;
    text-align: center;
    
}

section {
    margin: auto;
    padding: 20px 15px;
}

h1 {
    font-size: 2.5em;
    margin: 0;
}

p {
    font-size: 1.2em;
    margin: 0;
}

.secondHeadline {
    margin: 0px 0px 30px;
}

.mail{
    margin: 0px 0px 50px;
    cursor: pointer;
}

.headlineProjects {
    margin: 0px 0px 20px;
}

.project {
    text-decoration: none;
    color: rgb(30,30,30);
    border: 1px solid rgb(30,30,30);
    padding: 15px 22px;
    width: 180px;
    display: block;
    margin: 10px 15px;
    background-color: white;
}

.projects {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.indexFooter {
    padding: 1em;
    display: flex;
    text-align: right;
    font-size: 1.2em;
    justify-content: space-between;
}


.imprint {
    color: rgb(30,30,30);
    text-decoration: none;
}

.language {
    margin-right: 10px;
    cursor: pointer;
    color: rgb(30,30,30);
    text-decoration: none;;
}

.backLink {
    text-decoration: none;
    color: rgb(30,30,30);
}

.imprintHeaderFooter {
    padding: 15px 0px;
    font-size: 1.2em;
}

.mail:hover, .imprint:hover, .project:hover, .language:hover, .backLink:hover{
    text-decoration: underline;
}



@media screen and (min-width: 500px) {
    .indexFooter {
        justify-content: flex-end;
    }
}

img{
    max-width: 60%;
    width: 200px;
    margin: 30px 0px 40px;
}
