body{
    margin: auto;
    padding: 0;
}

header{
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);

}

.container{
    margin: auto;
    padding: 0px;
}

.nav_checkbox{
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 0px 0px;

}

.logo{
    text-decoration: none;
    color: white;
    padding-left: 20px;
    display: grid;
    grid-template-columns: 64px auto;
    grid-template-areas: "logoimage headertext"
}


.navtitleWrapper {
    grid-area: headertext;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "title"
    "titledetail";
}

.titleNav{
    font-size: 34px;
    font-weight: normal;
    font-family: Century Gothic, Serif;
    color: #213878;
    grid-area: title;
    margin-top: 8px;
    margin-bottom: -6px;
    padding: 0px;

}

.titleDetail {
    color: #273a72;
    font-size: 13px;
    grid-area: titledetail;
    font-family: Century Gothic, Serif;
    padding-left: 4px;
    margin-top: 0px;
}

.logo img {
    grid-area: logoimage;
    padding-right: 10px;
    margin-top: 0px;
}

.tab-nav{

    outline: none;
    display: none;

}

.label{
    display: none;
    color: #273a72;
}

.burger{

    width: 35px;
    height: 5px;
    background-color: #213878;
    margin-top: 5px;

}

.content_nav{

    grid-column: 3;
    list-style: none;
    margin: 0;
    padding: 0;

}

.content_nav li{

    display: inline-block;
    padding-right: 10px;

}


.content_nav li a{
    text-decoration: none;
    color: #213878;
    position: relative;
    font-family: Century Gothic, Serif;
    font-weight: normal;

}

.content_nav li.altpage a::after{

    content: '';
    display: block;
    height: 2px;
    background-color: #213878;
    position: absolute;
    left: 0;
    right: 0;
    transform-origin: right;
    transform: scale(0, 1);
    transition: transform ease-in-out 0.5s;

}

.content_nav li.altpage a:hover::after{

    transform: scale(1, 1);

}

.content_nav li.active a {
}

.content_nav li.active {
    text-decoration: underline;
}

.gapBox {
    height: 125px;
    background: #f5f6f7;
}

.ServicesHeader {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: ". identifiertext ."
}

.ServicesHeader h4 {
    grid-area: identifiertext;
    padding-top: 88px;
    font-size: 22px;
    color: black;
    font-weight: bold;
    margin: auto;
    font-family: 'Nova Script', cursive;
    font-family: 'Courgette', cursive;
}


.content_section{
    height: 100%;
    min-height: 75vh;
    background-image: url(back.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-items: center;
    align-items: center;
}

.contentBody{
    margin: auto;
    display: grid;

}

.servicesboxContainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
    padding-top: 3px;
    grid-template-areas: "boxone boxtwo boxthree boxfour boxfive";
    max-width: 960px;
    margin: auto;
}

.servicesboxContainer a {
    text-decoration: none;
}

.box1 {
    grid-area: boxone;
    display: grid;
    justify-content: center;
    text-align: center;
    font-weight: lighter;
    color: black;
    background: #f4faff;
    height: 100%;
    width: 100%;
    transition-property: background, border-radius;
    transition-duration: 3s;
    padding: 0px;
    background-image: url(payment.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 160px;
    font-family:Century Gothic, Serif;
}

.box2 {
    grid-area: boxtwo;
    display: grid;
    justify-content: center;
    text-align: center;
    font-weight: lighter;
    color: black;
    background: #f4faff;
    height: 100%;
    width: 100%;
    transition-property: background, border-radius;
    transition-duration: 3s;
    padding: 0px;
    background-image: url(realestatelaw.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 160px;
    font-family:Century Gothic, Serif;
}

.box3 {
    grid-area: boxthree;
    display: grid;
    justify-content: center;
    text-align: center;
    font-weight: lighter;
    color: white;
    background: #f4faff;
    height: 100%;
    width: 100%;
    transition-property: background, border-radius;
    transition-duration: 3s;
    padding: 0px;
    background-image: url(upload.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 160px;
    font-family:Century Gothic, Serif;
}

.box4 {
    grid-area: boxfour;
    display: grid;
    justify-content: center;
    text-align: center;
    font-weight: lighter;
    color: white;
    background: #f4faff;
    height: 100%;
    width: 100%;
    transition-property: background, border-radius;
    transition-duration: 3s;
    padding: 0px;
    background-image: url(application.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 160px;
    font-family:Century Gothic, Serif;
}

.box5 {
    grid-area: boxfive;
    display: grid;
    justify-content: center;
    text-align: center;
    font-weight: lighter;
    color: white;
    background: #f4faff;
    height: 100%;
    width: 100%;
    transition-property: background, border-radius;
    transition-duration: 3s;
    padding: 0px;
    background-image: url(contactus.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 160px;
    font-family:Century Gothic, Serif;
}

.box1:hover,.box2:hover, .box3:hover, .box4:hover, .box5:hover {
    -webkit-box-shadow: 3px 3px 4px 1px rgba(255,255,255,.5);
    box-shadow: 3px 3px 4px 1px rgba(255,255,255,.5);
}



.box1:active, .box2:active, .box3:active, .box4:active, .box5:active {
            transform: scale(0.98);
            /* Scaling button to 0.98 to its original size */
            box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
            /* Lowering the shadow */
}

.gapBoxTwo {
    height: 125px;
    background: #f5f6f7;
}

.midAreaText {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: ". midareatextheader ."
}

.midAreaText h4 {
    grid-area: midareatextheader;
    padding-top: 10px;
    font-size: 22px;
    color: black;
    font-weight: bold;
    margin: auto;
    font-family: 'Nova Script', cursive;
    font-family: 'Courgette', cursive;
}

@media screen and (max-width: 1280px){

    .container{

        width: 100%;

    }

}

@media screen and (max-width: 912px){

    .label{

        display: grid;
        cursor: pointer;
        grid-column: 3;
        padding-right: 10px;

    }

    .content_nav{

        display: grid;
        grid-template-columns: 1fr;
        grid-column: 1/4;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        background: #60606c;
        transition: all ease-in-out 0.6s;

    }

    .nav_checkbox input:checked ~ .content_nav{

        max-height: 500px;

    }

    .content_nav li{

        padding: 15px 0px;

    }

    .content_nav li a {
        color: white;
    }

    .content_nav li:hover {
    background: #93939f;
    }

    .servicesboxContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    grid-template-areas: "boxone boxtwo"
    "boxthree boxfour"
    "boxfive .";
    max-width: 960px;
    margin: auto;
}

.ServicesHeader {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "identifiertext"
}

}


@media only screen and (max-width: 450px) {

.nav_checkbox{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0px 0px;

}

}