@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a{
	
	text-decoration: none;
	padding: 0;
	margin: 0;

}

h1, h2, h3, h4, h5{
	
	font-family: Open Sans, sans-serif;
	text-align: center;
	text-transform: uppercase;
	color: #BF0000;
	
}

h2, h3{
	
	display: block;
	margin: 20px auto 20px auto;
	
}

#company_name_and_slogan{
	
	width: 79%;
	float: left;
	margin-top: 12px;
	
}

#logo{
	
	width: 21%;
	display: block;
	float: left;
	
}

p{
	
	color: white;
	text-align: center;
	font-family: Open Sans, sans-serif;
	line-height: 1.3;
	font-size: 1.3em;
	
}

.headline_container{
	
	height: 100px;
	width: 100%;
	max-width: 380px;
	margin: 0 auto;
	padding-top: 10px;
	box-sizing: border-box;
	
}

.burgernav{
	
	float: right;
	height: 60px;
	width: 60px;
	margin-top: 6px;
	display: none;
	box-sizing: border-box;
	
}

.burgernav > img{
	
	margin: 0 auto;
	margin-top: 10px;
	display: block;
	
}

#dropDownContent{

	display: none;
	width: 180px;
	position: absolute;
	top: 60px;
	right: 0;
	z-index: 10;
	
}

#dropDownContent > ul > a > li{
	
	height: 30px;
	background-color: #bf0000;
	color: white;
	text-align: center;
	box-sizing: border-box;
	padding-top: 8px;
	font-family: Open Sans, sans-serif;
	font-size: 0.8em;
	
}

#dropDownContent > ul > a > li:hover{
	
	cursor: pointer;
	background-color: #940000;
	
}

.container{
	
	margin: 0 auto;
	max-width: 720px;
	
}

nav{
	
	background-color: #BF0000;
	width: 100%;
	
}

nav > .container > ul{
	
	display: block;
	
}

nav > .container > ul > a > li{
	
	
	padding: 0 15px 0 15px;
	line-height: 40px;
	height: 40px;
	display: inline-block;
	color: white;
	font-family: Open Sans, sans-serif;
	font-size: 0.8em;
	
}

nav > .container > ul > a > li:hover{
	
	cursor: pointer;
	background-color: #940000;
	
}

#main{
	
	width: 100%;
	
}

#big_picture{
	
	margin: 0 auto;
	margin-top: 16px;
	max-width: 720px;
	height: 400px;
	position: relative;
	background-size: cover;
	background-repeat: no-repeat;
	
}

#big_picture img{
	
	position: absolute;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center center;
	
}

/*#big_picture:after{
	
	content: '';
	background-color: black;
	height: 400px;
	width: 100%;
	opacity: 0;
	position: absolute;
	top: 0px;
	left: 0px;
	
}*/

#textbox{
	
	margin: 0 auto 0 auto;
    width: 75%;
    max-width: 600px;
    z-index: 5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
	
}

button{
	
	text-transform: uppercase;
	height: 40px;
	width: 200px;
	display: block;
	background-color: #BF0000;
	color: white;
	outline: none;
	border: none;
	border-radius: 4px;
	display: block;
	margin: 40px auto 40px auto;
	padding: 0;
	
}

button > a{
	
	color: white;
	font-family: Open Sans, sans-serif;
	display: block;
	height: 40px;
	line-height: 40px;
	
}

button:hover{
	
	cursor: pointer;
	
}

.infotext{
	
	margin-top: 20px;
	padding: 0 10px 0 10px;
	color: #000000;
	
}

.rubrik{
	
	width: 50%;
	float: left;
	box-sizing: border-box;
	padding: 20px 10px 20px 10px;
	
}

.imgcontainer{
	
	height: 200px;
	background-size: cover;
	background-position: 50% 50%;
	position: relative;
	
}

.imgcontainer > div{
	
	height: 50px;
	line-height: 50px;
	text-align: center;
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: rgb(191,0,0,0.7);
	
}

.imgcontainer > div > a{
	
	color: white;
	font-family: Open Sans, sans-serif;
	text-decoration: underline;
	
}

.rubrik:nth-child(1) > .imgcontainer{
	
	background-image: url('../bilder/textildruck/textil08.jpg');
	
}

.rubrik:nth-child(2) > .imgcontainer{
	
	background-image: url('../bilder/blaetterkatalog/tshirt.jpg');
	
}

.rubrik:nth-child(3) > .imgcontainer{
	
	background-image: url('../bilder/fahrzeugdruck/fb20.jpg');
	
}

.rubrik:nth-child(4) > .imgcontainer{
	
	background-image: url('../bilder/banner/banner04.jpg');
	
}

.rubrik:nth-child(5) > .imgcontainer{
	
	background-image: url('../bilder/schilder/schilder15.jpg');
	
}

.rubrik:nth-child(6) > .imgcontainer{
	
	background-image: url('../bilder/fahnen/fahnen01.jpg');
	
}

.rubrik:nth-child(7) > .imgcontainer{
	
	background-image: url('../bilder/schaufenster/schaufenster03.jpg');
	
}

.rubrik:nth-child(8) > .imgcontainer{
	
	background-image: url('../bilder/druckartikel/druckartikel02.jpg');
	
}

.social_media_container{
	
	width: 200px;
	margin: 0 auto;
	
}

.social_media_block{
	
	height: 120px;
	width: 50%;
	float: left;
	
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.social_media_icon{
	
	height: 50px;
	width: 50px;
	margin: 20px 25px;
	display: block;
	
}

.social_media_icon > img{
	
	width: 100%;
	
}

footer{
	
	background-color: #bf0000;
	
}

.footercontainer{
	
	height: 50px;
	padding-top: 10px;
	width: 50%;
	float: left;
	box-sizing: border-box;
	
}

footer p a{
	
	color: white;
	display: inline-block;
	
}

.picture{
		
	margin: 2% 1% 0% 1%;
	width: 31.3%;
	padding-top: 31.3%;
	float: left;
	position: relative;
		
}

.picture > a > img{
	
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	
}

@media (max-width: 740px){
	
	#big_picture{
		
		margin-top: 0;
		
	}
	
	p{

		font-size: 1.2em;
		
	}
	
	.burgernav{
		
		display: block;
		margin-top: 0;
		
	}
	
	.burgernav:hover{
		
		background-color: #ebebeb;
		cursor: pointer;
		
	}
	
	#company_name_and_slogan{
	
		width: 160px;
		margin-top: 16px;
	
	}

	#logo{
		
		width: 40px;
		padding-left: 10px;
		margin-top: 8px;
		
	}
	
	nav{
		
		display: none;
		
	}
	
	.headline_container{
		
		height: 60px;
		padding-top: 0;
		max-width: initial;
		
	}
	
}

@media (max-width: 480px){
	
	.rubrik{
		
		width: 100%;
		
	}
	
	.imgcontainer{
		
		height: 200px;
		
	}
	
}