* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url(/images/background.jpg) no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    /* Damit der Hintergrund mindestens die Bildschirmhöhe ausfüllt */
    margin: 0;
    display: flex;
    flex-direction: column;

}

header {
    background: linear-gradient(to right, #b3b3b3, #7f849e);
    opacity: 0.7;
}

nav {
    height: 60px;
    width: 100%;
}

nav::after {
    content: '';
    display: table;
    clear: both;
}


.logo {
    font-size: 35px;
    font-weight: bold;
    letter-spacing: 1.5px;
    line-height: 60px;
    color: #fff;
    cursor: pointer;
    margin-left: 10px;
    text-decoration: none;
    float: left;
}

.logo a {
    text-decoration: none;
    color: #fff
}

.logo a:hover {
    color: #3f1fe1;
    transition: 1000ms;
}


nav ul {
    float: right;
    margin-right: 20px;

}

nav ul li {
    display: inline-block;
    line-height: 60px;
    margin: 0 5px;
    list-style: none;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    padding: 7px 13px;
    text-decoration: none;
    text-transform: uppercase;
}

a.active,
a:hover {
    color: #bc3ef6;
    transition: .5s;
}

.CheckBtn {
    font-size: 1.5rem;
    color: #fff;
    float: right;
    line-height: 60px;
    margin-right: 40px;
    cursor: pointer;
    display: none;

}

#check {
    display: none;
}





/*Responsive Design*/
@media(max-width:952px) {

    .CheckBtn {
        display: block;
    }

    ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #3f3f3f;
        top: 60px;
        left: -100%;
        text-align: center;
        transition: all .5s;


    }

    #check:checked~ul {
        left: 0;

    }

    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;

    }

    nav ul li a {
        font-size: 20px;
    }
}