@charset "UTF-8";
/* CSS Document */

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

img {width: 100%; height: 100%;}

body {
    background-color: white;
    font-family: Tahoma, sans-serif;
}

header {
	display: flex;
	max-width: 1280px;
	height: 130px;
	justify-content: center;
	align-items: center;
	background-image: url(../images/header_background.jpg);
	background-repeat: no-repeat cover;
    margin: 0 auto;
}

header h1 {
    text-align: center;
    color: #ff950e;
    font-family: "Comic Sans MS";
    font-weight: normal;
    font-size: 64px;
    margin-top: -10px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1280px;
    min-height: 60px;
    background-color: #245504;
    margin: 0 auto;
}

nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 240px;
    height: 60px;
    color: white;
    text-decoration: none;
    font-weight: normal;
    font-size: 24px;    
}

nav a:hover {
    background-color: #ff950e;
}

main {
    display: flex;
    flex-direction: column;
    max-width: 1280px;
    background-color: white;
    margin: 0 auto;
}

main h3 {
    margin-top: 30px;
    font-size: 24px;
    color: #646363;
    text-align: center;
}

main h2 {
    margin-top: 30px;
    font-size: 24px;
    color: #646363;
    padding-left: 20px;
}

.text_start {
    font-size: 20px;
    color: #646363;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 30px;
}

.text {
    font-size: 20px;
    color: #646363;
    line-height: 1.5;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 30px;
}

.sort {
    background-color: #f2d4a6;
}

.sortiment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 20px;
    margin-right: 20px;
}

.sortiment figure {
    flex: 0 1 600px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.sortiment figure figcaption {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 40px;
    font-size: 20px;
    color: white;
    background-color: #646363;
    margin-top: -5px;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1280px;
    height: 110px;
    background-color: #646363;
    margin: 0 auto;
}

.footer_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 320px;
    height: 30px
}

.footer_nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 150px;
    height: 30px;
    border: 2px solid #ff950e;
    text-decoration: none;
    color: white;
}

.footer_nav a:hover {
    background-color: #ff950e;
}

/*
footer h4 {
    color: white;
    text-align: center;
    font-weight: normal;
}
/*

/* Kontaktformular 

.form_container {
    margin-left: 20px;
}

.kontakt {
    width: 280px;
    margin-bottom: 20px;
    margin-left: 0px;
    padding-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.kontakt_nachrichtenfeld {
    width: 280px;
    height: 200px;
    font-size: 16px;
    line-height: 1.5;
}

.absenden_button {
    margin-top: 10px;
    width: 280px;
    height: 40px;
    background-color: #245504;
    color: white;
    border-width: 0;
    font-size: 20px;
}

.absenden_button:hover {
    background-color: #ff950e;
}

*/

/* Media-Query */

@media (max-width: 799px) {
    main h3{
        margin-left: 20px;
        margin-right: 20px;
    }
    
    header h1 {
        font-size: 40px;
    }

    nav {
        flex-wrap: wrap;
    }

    nav a {
        flex: 1 0 400px;
        font-size: 24px;
    } 
}

@media (max-width: 480px) {
    nav a {
        flex: 1 0 320px;
        font-size: 24px;
    } 
}

@media (max-width: 1260px) {
    .sortiment {
        justify-content: center;
        align-items: center;
    }
}