/*------------------------------------------------------------------------------
	FLEXBOX KONFIGURATION
------------------------------------------------------------------------------*/

.flexcontainer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.flexitem {
	align-items: flex-start;
	/*border: 2px dashed black;*/
}

.flexitem {
	margin: 2%;
	width: 100%;
	padding: 0;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (orientation: landscape) {
.flexitem {
	margin: 0;
	margin-top: 1%;
	width: 47%;
}}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
.flexitem {
	margin: 0;
	margin-top: 1%;
	width: 47%;
}}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
.flexitem {
	margin: 0;
	margin-top: 1%;
	width: 31%;
}}



/*------------------------------------------------------------------------------
	GENERAL CSS DESIGN
------------------------------------------------------------------------------*/

body {
	font-family: sans-serif;
	background-color: RGB(254, 247, 188);
}

header {
	text-align: center;
	position: relative;
}

header img {
	width: 96%;
}

#headertext {
	position: absolute;
	top:  5%;
	left: 5%;
	font-size: 5.5vw;
	font-weight: bold;
	color: RGB(190, 22, 32);
	text-align: left;
	/*border: 1px dashed black;*/
}

#headerlogo {
	position: absolute;
	top:    6%;
	left:  66%;
	width: 30%;
	/*border: 1px dashed black;*/
}

footer {
	text-align: center;
}

h1, h2, h3 {
	margin: 0;
}

.itemtitle {
	margin: 0;
	height: 2em;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	background-color: RGB(190, 22, 32);
	padding: 0.5em;
}

.itemimage {
	margin: 0;
}

.itemimage img {
	display: block;
	width: 100%;
	height: auto;
}

.infobox {
	background-color: white;
	font-size: 5vw;
	font-weight: bold;
	line-height: 1.6;
	width: 100%;
	padding-bottom: 66.66%;
	position: relative;
}

.infobox > div {
	position: absolute;
	top:  0; bottom: 0;
	left: 0; right:  0;
	padding: 0.5em;
	padding-left: 1em;
}



/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (orientation: landscape) {
.infobox {
	font-size: 2.5vw;
}}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
.infobox {
	font-size: 2.5vw;
}}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
.infobox {
	font-size: 1.5vw;
}}

.infobox-highlight {
	background-color: #c3cbea;
}
