* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
}

header {
    height: 50vh;
    width: 100%;
    color: white;
    background: url(../img/photo1.jpg) no-repeat center;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
    font-family: 'Oswald', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

nav {
    position: relative;
    z-index: 2;
    width: 100%;
    background-color: #ec1c2c;
}

.handle {
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    padding: 1rem;
    cursor: pointer;
    display: none;
    background-color: #ec1c2c;
}

#menu {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 20%;
    max-width: 1240px;
}

textarea {
    padding: 10px;
}

input {
    padding: 10px;
}

nav ul {
    color: white;
    text-align: center;
    width: 100%;
    transition: overflow-x 1s, max-height 1s;
}

nav ul li {
    display: inline-block;
    padding: 2rem;
    margin: 0;
    width: 19%;
    transition: width 1s;
}

#imglogo {
    position: absolute;
    width: 20rem;
    height: auto;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    transition: display 1s;
}

.section_main {
    max-width: 1200px;
    padding-left: 5%;
    padding-right: 5%;
    margin-left: auto;
    margin-right: auto;
    height: 50vh;
    background-color: white;
}

.section_fotter {
    margin-left: auto;
    margin-right: auto;
    height: 50vh;
}

#map {
    width: 100%;
    height: 50vh;
}

.section_bottom {
    width: 100%;
    height: 100vh;
}

.section_adres {
    width: 100%;
}

.divtext3 {
    float: left;
    margin: 0;
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
    background-color: white;
}

.adres {
    padding-top: 25%;
    width: 100%;
    min-height: 200px;
    display: block;
    text-align: center;
    font-size: 2.6rem;
}

form {
    height: 50vh;
    min-height: 340px;
}

.divimage {
    float: left;
    margin: 0;
    padding 0;
    width: 100%;
    height: 50vh;
    background: url(../img/photo2.JPG) no-repeat center;
    background-size: cover;
}

.divtext {
    float: left;
    margin: 0;
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
    height: 50vh;
    background: url(../img/pattern.png);
    background-color: #7f7f7f;
    color: white;
}

.divimage2 {
    float: right;
    margin: 0;
    padding 0;
    width: 100%;
    height: 50vh;
    background: url(../img/cow.jpg) no-repeat center;
    background-size: cover;
}

.divtext2 {
    float: right;
    margin: 0;
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
    height: 50vh;
    background: url(../img/pattern.png);
    background-color: #7f7f7f;
    color: white;
}

.divimage3 {
    float: left;
    margin: 0;
    padding 0;
    width: 100%;
    height: 50vh;
    background: url(../img/photo4.jpg) no-repeat center;
    background-size: cover;
}

header nav {
    position: absolute;
    width: 100%;
    font-size: 2rem;
}

header hgroup {
    position: absolute;
    text-align: center;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    z-index: 1;
}

header h1 {
    font-size: 3.6rem;
}

header h3 {
    font-size: 2.6rem;
    font-weight: 400;
}

p {
    height: 45vh;
    max-width: 1200px;
    font-size: 1.6rem;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    margin-left: auto;
    margin-right: auto;
}

.titledivtext {
    margin-top: 40px;
    margin-bottom: -40px;
    max-width: 1200px;
    border-top: 3px solid red;
    border-bottom: 3px solid red;
    font-size: 3.6rem;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    font-weight: 500;
}
footer {
    width: 100%;
    text-align: center;
    color: white;
    background-color: black;
    font-size: 1.2rem;
    vertical-align: middle;
}

footer a {
    text-decoration: none;
    color: orangered;
}


@media (orientation: landscape) and (max-height: 720px) {
    header {
        height: 100vh;
    }
    .titledivtext {
        margin-top: 20px;
        font-size: 2.6rem;
    }
    .adres {
        padding-top: 3rem;
    }
    .section_fotter {
        height: 100vh;
    }

    #map {
        height: 100vh;
    }
    p {
        font-size: 1.5rem;
    }
}

@media (min-width: 530px) and (min-height: 720px) {
    p {
        font-size: 2.2rem;
    }
}

@media (min-width: 768px) {
    header h1 {
        font-size: 8rem;
    }
    header h3 {
        font-size: 4rem;
    }
    p {
        font-size: 2.3rem;
    }
    .adres {
        padding-top: 5rem;
    }
}

@media (min-width: 1024px) {
    p {
        font-size: 2.6rem;
    }
    .section_bottom {
        height: 50vh;
    }
    .divimage {
        width: 50%;
    }
    .divtext {
        width: 50%;
    }
    .divimage2 {
        width: 50%;
    }
    .divtext2 {
        width: 50%;
    }
    .divimage3 {
        width: 50%;
    }
    .titledivtext {
        margin-top: 70px;
        margin-bottom: -70px;
        font-size: 4.6rem;
    }
    .adres {
        font-size: 4.3rem;
    }
}
@media (min-width: 1280px) {
    nav ul li {
        width: 16%;
    }
}

@media (min-width: 1800px){
    .adres {
        padding-top: 12rem;
    }
}

@media (max-width: 820px) {
    #imglogo {
        display: none;
    }
    #blank_menu {
        display: none;
    }
    nav ul li {
        width: 24%;
    }
}

@media (max-width: 670px) {
    #menu {
        max-height: 100vh;
    }
    nav {
        background-color: black;
    }
    nav ul {
        overflow-x: hidden;
        max-height: 0;
    }
    .showing {
        max-height: 100vh;
    }
    nav ul li {
        box-sizing: border-box;
        width: 100%;
        height: 1rem;
        background-color: black;
    }
    .handle {
        display: block;
    }
}
