/* Small Notebooks */
@media screen and (max-width: 1400px) {
	#portfoliodiv > div > a {	
		width: 23em;
		height: 11em;
	}
}

/* Bigger Screens */
@media screen and (min-width: 1400px) and (max-width: 2000px) {
	#portfoliodiv > div > a {
		width: 45%;
		height: 20em;
	}
}

/* Bigger Screens */
@media screen and (min-width: 2000px) and (max-width: 3500px) {
	#portfoliodiv > div > a {
		width: 45%;
		height: 30em;
	}
}

/* Bigger Screens */
@media screen and (min-width: 3500px) and (max-width: 5000px) {
	#portfoliodiv > div > a {
		width: 45%;
		height: 40em;
	}
	#portfoliodiv > div h2 {
		font-size: xxx-large;
	}
	#portfoliodiv > div p {
		font-size: xx-large;
	}
	#portfoliodiv #middleline {
		font-size: 2rem;
	}
}

* {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #edeced;
    background-color: #000000;
    background-image: url(../images/background_startportal_gh_c_clouds.jpg);
    background-position: 75% center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;  
}

.schrift {
	font-family: Arial, Helvetica, sans-serif;
	text-align: justify;
	line-height: 22px;
}

#sitehead a, #footer a {
    color: white;
    text-decoration: none;
}

#container {
    /*margin-top: 2em;*/
    width: 100%;
    margin-bottom: 5em; /* Abstand Footer */
}
#container .centeredContainer {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    /*padding: 2em;*/
    /*background: rgba(255,255,255,0.95);*/
    /*border: solid 1px black;*/
    color: #111111;
    /*box-shadow: 0em 0em 2em 1em rgba(255,255,255,0.95);*/
}

#sitehead {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-top: 1em;
	padding-bottom: 1em;
 	color: white;
	background-color: rgba(0,0,0,0.85);
	border-bottom : 1px solid white;
}
#sitehead div {
	display: flex;
	flex-grow: 1;
	flex-basis: 0;
}
#sitehead #contactdiv {
	justify-content: flex-start;
	align-items: center;
	padding-left: 1em;
}
#sitehead #contactdiv #tel {
	font-size: 2em;
}
#sitehead #titlediv {
	justify-content: center;
}
#titlediv h1 {
  text-align: center;
  font-size: 2em;
}
#logo {
  width: 50%;
  min-width: 6em;
}

#sitehead #navdiv {
	justify-content: flex-end;
	margin-left: 1em;
}
#navdiv span {
	margin-left: 0.5em;
	margin-right: 0.5em;
}
#navdiv a {
color: white;
text-decoration: none;
}

#portfoliodiv {
	margin-top: 2em;
}

#portfoliodiv > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#portfoliodiv > div:first-child {
	/*margin-bottom: 4em;*/
}

#portfoliodiv > div > a {
	display: block;
	text-decoration: none;
	/*border: 1px solid black;*/
	border-radius: 2em;
	padding: 1em;
	text-align: center;
	color: rgba(255,255,255,0.95);
}
#portfoliodiv > div > a:hover {
    box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1);
}
#portfoliodiv > div > a > div {
	height: 20%;
}

#portfoliodiv > div > a > p {
	font-size: 0.8em;
	font-weight: bold;
}

#portfoliodiv > div > #gh_c {
	background-color: rgba(237,27,36,0.4);
	/*background-color: #992612;*/
}

#portfoliodiv > div > #w_i_m {
	background-color: rgba(0,84,164,0.4);
}
#portfoliodiv > div > #stoerfelder_aufloesen {
	/*background-color: rgba(247,111,33,0.9);*/
	background-color: rgba(255,255,0,0.4);
	/*background-color: #FFFF00;*/
	color: black;
}

#portfoliodiv > div > #kalamind {
	/*background-color: rgba(92,166,3,0.9);*/
	background-color: rgba(0,176,80,0.4);
}
#portfoliodiv > div > # {
	background-color: rgba(107,67,153,0.9);
}
#portfoliodiv > div > # {
	background-color: rgba(0,168,142,0.9);
}
#portfoliodiv > div > # {
	background-color: rgba(217,166,12,0.9);
}
#portfoliodiv > div > # {
	background-color: rgba(166,58,153,0.9);
}

#portfoliodiv #middleline {
	text-align: center;
	font-weight: bold;
	margin-top: 1em;
	margin-bottom: 1em;
	color: #DDD;
}
#portfoliodiv #middleline p {
	text-shadow: 2px 2px 5px black;
}

#footer {
    width: 100%;
    padding-top: 0.6em;
    padding-bottom: 0.8em;
    position: fixed;
    left: 0px;
    right: 0px;
    top: auto;
    bottom: 0px;
    background-color: rgba(0,0,0,0.85);
    text-align: center;
    color: white;
    z-index: 300;
    border-top : 1px solid white;
}
#footer a:hover {
    text-decoration: underline;
}
