body {
    display: block;
    margin: 0;
    width: 100%;
}
h1 {
    margin: 0;
}
.flash-warning {
    position: absolute;
    top: 50px;
    right: 10px;
    background-color: #f2311b3b;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
    padding: 0 30px;
    border: 1px solid #f2311b;
    font-family: 'Rubik', sans-serif;
}
.flash-success {
    position: absolute;
    top: 50px;
    right: 10px;
    background-color: #0a9c0078;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
    padding: 0 30px;
    border: 1px solid #087900;
    font-family: 'Rubik', sans-serif;
}
/*header*/
@keyframes jackInTheBox {
    from {
        opacity: 0;
        -webkit-transform: scale(0.1) rotate(30deg);
        transform: scale(0.1) rotate(30deg);
        -webkit-transform-origin: center bottom;
        transform-origin: center bottom;
    }

    50% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }

    70% {
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg);
    }

    to {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
#header {
    display: block;
    position: absolute;
    top: 0;
    height: 250px;
    max-height: 250px;
    width: 100%;
    background-image: url('../images/header-bg.jpg');
    background-color: #e3e2e2;
    background-size: cover;
    background-repeat: repeat;
}
#site-logo {
    display: block;
    height: 80%;
    max-height: 80%;
    width: 200px;
    margin: auto;
    background-image: url("../images/logo.png");
    background-size: contain;
    background-position: center;
    animation: jackInTheBox;
    animation-duration: 1s;
}
#header-nav {
    display: flex;
    height: calc(20% - 6px);
    max-height: calc(20% - 6px);
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 1);
    background-color: white;
}
.blue-red-border {
    border-top: 3px solid #f21c1d;
    border-bottom: 3px solid #008edc;
}

.header-nav-item {
    display: inline-block;
    padding: 0 5px;
    color: black;
    font-size: 1.1rem;
    font-family: 'Russo One', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    transition: color ease .2s;
}
.header-menu-item:hover {
    color: #f21c1d;
}
/*end header*/
#page-container {
    display: block;
    min-height: calc(100vh - 310px);
    width: 100%;
    margin: 250px 0 0 0;
}
/*footer*/
#footer {
    display: block;
    height: calc(60px - 3px);
    max-height: 60px;
    width: 100%;
    background-image: url('../images/header-bg.jpg');
    background-size: cover;
    border-top: 3px solid #f21c1d;
    background-color: #e3e2e2;
    font-family: 'Russo One', sans-serif;
}
.footer-menu {
    display: flex;
    height: 50%;
    max-height: 50%;
    margin: 0;
    justify-content: center;
    align-items: center;
}

.footer-menu-item {
    display: inline-block;
    margin: 0 5px;
    color: black;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: color ease 0.2s;
}
.footer-menu-item:hover {
    color: #f21c1d;
}
#footer-title {
    display: flex;
    margin: auto;
    height: 50%;
    align-items: center;
    justify-content: center;
    color: #008edc;
}
/*end footer*/
/*home*/

.block-cover {
    display: flex;
    margin: 0 0 1.5em;
    min-height: 500px;
    height: 500px;
    width: 100%;
    border-bottom: 3px solid #008edc;
    background-image: url("../images/autoschadeland-img1.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom;
}
.homepage-text {
    font-family: 'Russo One', sans-serif;
    padding: 10px 0 10px 0;
    text-align: center;
    margin: 0 auto;
    font-size: 1.6rem;
    width: 60%;
}
.homepage-description {
    font-family: 'Rubik', sans-serif;
    padding: 10px 0 50px 0;
    text-align: center;
    margin: 0 auto;
    font-size: 1.4rem;
    width: 60%;
}
/*end home*/
/*werkzaamheden*/
.page-title {
    padding-top: 15px;
    padding-bottom: 15px;
    font-family: 'Russo One', sans-serif;
    width: 100%;
    text-align: center;
    margin: auto;
    font-size: 2.2rem;
    border-bottom: 2px solid #f21c1d;
}
.page-row {
    display: flex;
    width: 100%;
}
.row-1 {
    flex-direction: row;
}
.row-2 {
    flex-direction: row-reverse;
}
.page-img {
     display: inline-block;
     width: 50%;
     height: auto;
 }
.text-box {
    font-family: 'Rubik', sans-serif;
    display: inline-block;
    width: 45%;
    margin: 0 auto 15px auto;
    text-align: center;
}
.row-title {
    margin-top: 15px;
    font-size: 2rem;
    font-weight: bold;
}
.row-text {
    font-size: 1.4rem;
    font-weight: normal;
}
.text-head {
    font-weight: bold;
    font-size: 1.5rem;
}
/*end werkzaamheden*/
/*contact*/
label {
    display: block;
    margin: 0;
    padding: 0 0 10px 0;
}
#contact_name, #contact_email {
    width: 40%
}
.form-1 {
    padding: 80px 0 80px 0;
    display: block;
    margin: auto;
    text-align: center;
    font-size: 1.3rem;
    font-family: 'Russo One', sans-serif;
}
.contact-form-input {
    font-family: 'Rubik', sans-serif;
    font-size: 1.15rem;
    text-align: center;
    border: 1px solid #008edc;
    width: 65%;
    padding: 5px;
    margin-bottom: 20px;
}
.contact-form-input:focus {
    border: 1px solid #f21c1d;
    outline: none !important;
}
.input-message {
    min-height: 80px;
}
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.contact-form-btn {
    background-color: #008edc;
    color: white;
    border: none;
    font-family: 'Russo One', sans-serif;
    font-size: 1.15rem;
    padding: 5px;
    transition: background-color ease 0.3s;
}
.contact-form-btn:hover {
    background-color: #f21c1d;
    cursor: pointer;
}
.contact-form-btn:focus {
    outline: none !important;
}
#contact-info-adres {
    font-family: 'Rubik', sans-serif;
    display: block;
    margin: auto;
    text-align: center;
    padding-bottom: 40px;
}
#contact-email-adres {
    color: #008edc;
    transition: color ease .2s;
}
#contact-email-adres:hover {
    color: #f21c1d;
}
.stat-head {
     font-family: 'Russo One', sans-serif;
     font-size: 1.3rem;
 }
.stat-text {
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
}

/*end contact*/

/*phone view*/
@media only screen and (max-width: 991px) {
    .block-cover {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
        background-attachment: unset;
    }
    .homepage-text {
        font-size: 1.3rem;
        width: 98%;
    }
    .homepage-description {
        width: 97%;
        font-size: 1.2rem;
    }
    .row-1 {
        flex-direction: column;
        border-bottom: 2px solid #008edc;
    }
    .row-2 {
        flex-direction: column;
    }
    .text-box {
        width: 97%;
        margin: 0 auto 15px auto;
    }
    .page-img {
        display: inline-block;
        width: 100%;
    }
    .row-title {
        font-size: 1.2rem;
    }
    .text-head {
        font-size: 1rem;
    }
    .row-text {
        font-size: 1rem;
    }
    .contact-form-input {
        width: 95%;
    }
    #contact_email, #contact_name {
        width: 95%;
    }
}