body{
    padding:0;
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #000000;
    font-size: 16px;
    letter-spacing: 0.35px;
    line-height: 19px;
    box-sizing: border-box;
}

.container{
    margin: 2rem auto;
    max-width: 1440px;
}

/*Header*/
.page-header{
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-image: url("../img/RS-Cartec-Logo-black.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.header-logo{
    width:265px;
    height: 100px;
    display: none;
}

.page-header div.header-social{
    -webkit-filter:none;
    filter: none;
}

.header-social a{
    font-size: 36px;
    padding-right: 1rem;
    color: black;
}

.header-social a:hover{
    color: #acacac;
}

.header-social i:last-child{
    padding-right: 0;
}


/*Navigation*/
main > article {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    height: calc(100vh - 180px - 5rem);
    max-height: 630px;
    width:480px;
    background-size:cover;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 1rem 40px 1rem;
}

main > article .logo{
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    visibility: hidden;
}

main > article .nav-text{
    height: 59px;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

main > article.tuning .nav-text{
    height: 48px;
    width: 214px;
}

main > article:hover {
    -webkit-filter: none; /* Safari 6.0 - 9.0 */
    filter: none;
    cursor: pointer;
    background-blend-mode: screen;
}

main > article:hover .logo{
    visibility: visible;
}

main > article:hover .nav-text{
    -webkit-filter: invert(100%);
    filter: invert(100%);
}



.nav-container {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
}

.werktstatt{
     background-image: url("../img/dini_werkstatt.jpg");
 }

.werktstatt:hover {
    background-color:#2E86C1;
}

.tuning{
    background-image: url("../img/dis_tuning.jpg");
}

.tuning:hover{
    background-color:rgb(113,182,43);
}

.folierung{
    background-image: url("../img/dini_folierige.jpg");
}

.folierung:hover{
    background-color: #EC2C00;
}

/*Footer*/

.footer-list{
    display: flex;
    list-style: none;
    justify-content: center;
}

.footer-list li span, .footer-list li a{
    padding: 0 0.5rem;
}

.footer-list li:first-child{
    font-weight: bold;
}

.footer-list li:first-child::before{
    content: '';
}

.footer-list li::before{
    content: '|';
}

.footer-list li a{
    color:black;
    text-decoration: none;
}

.footer-list li a:hover{
    text-decoration: underline;
}

/*Mobile Styles*/
@media (max-width:1250px){
    .nav-container > article{
        padding: 0 0 40px 0;
        width: 33%;
    }

    .logo{
        align-self: center;
        width:100%;
    }
}


@media (max-width:1024px){
    .nav-container{
        flex-direction: column;
        justify-content: center;
    }

    .nav-container > article {
        height:480px;
        width:100%;
    }

    .page-header{
        flex-direction: column;
        background-size: 256px;
        height: 170px;
    }

    .header-logo{
        display: flex;
    }

    .logo{
        width:265px;
    }

    .logo,.nav-text{
        align-self: center;
    }

    .page-footer{
        text-align: center;
    }

    .footer-list{
        flex-direction: column;
    }

    .footer-list li::before{
        content: '';
    }

}
