body { 
    font-family: serif;
    margin: 0;
    padding: 0;
}



nav {
    margin: 0;
}


nav a {
    list-style-type: none; 
    margin-top: 30px;
    float: right;
    margin-right: 60px;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    padding: 5px 20px;
    border: 1px solid transparent;
    transition: 0.5 ease;
    text-transform: uppercase;
    display: inline;
    
}
@media screen and (max-width: 700px) {
    nav {
        width: 100%;
        margin-top: -5px;
    }



}

* {
    margin: 0;
    padding: 0; 
    font-family: Century;
    
    
}

header {
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(images/pink-clouds-8764532_1280.jpg);
    height: 100vh;
    background-size: cover;
    background-position: center;
    min-height: 100px;
}


p {
    padding: 20px;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-size: 40px;
    justify-content: space;
    text-align: center;
}




nav a:hover {
    background-color: #fff;
    color: #000;
}

div.name p {
    text-align: center;
    text-transform: uppercase;
}

nav ul li.active a {
    background-color: #fff;
    color: #000;
}

.navbar {
    max-width: 2000px;
    margin: auto;
}

.title {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.title h1 {
    color: #fff;
    font-size: 70px;
}

h2 {
    text-transform: uppercase;
    font-size: 50px;
    text-align: center;
    color: darkslateblue;
}

.backgroundcolor {
    background-color: #878DAA;
}

.hometext {
    text-align: center;
    font-size: 25px;
    margin-bottom: 200px;

}

.schulfoto {
    display: flex;
    justify-content: center;
    padding: 15px;
}

.home {
    padding-top: 30px;
    padding-bottom: 15px;
}

.text1 {
    padding: 1px;
    font-size: 30px;
}

.text2 {
    padding: 1px;
    font-size: 30px;
}

.text3 {
    padding: 1px;
    font-size: 30px;
}

.haustiere {
    padding-top: 30px;
    padding-bottom: 15px;
}

.hobbys {
    padding-top: 100px;
    padding-bottom: 15px;
}

.text4 {
    padding: 1px;
    font-size: 30px;
}

.text5 {
    padding: 1px;
    font-size: 30px;
}

.text6 {
    padding: 1px;
    font-size: 30px;
}