
body {
	font-family: 'Roboto', sans-serif;
	text-align: left;
	background: #4A4A4A;
	color: white;
	overflow: hidden;
}

*{
	padding: 0px;
	margin: 0px;
}



/* Vorstellungstext
	=====================*/

.team-title {
	background: url('Bilder/Team.jpg');
	background-size: 100% auto;
	font-size: .7rem;
	height: 150px;
	position: relative;
}

.team-title h1 {
	position: absolute;
	top: 35%;
	text-align: center;
	text-transform: uppercase;
	color: white;
	width: 100%;
	font-family: 'PT Sans Narrow', sans-serif;
	font-weight: 500;
	letter-spacing: 4px;
	font-size: 3.5em;
}

/*Untertitel mit Linie vorne und hinten*/
.team-title div {
	position: relative;
	top: 70%;
	text-align: center;
	font-family: 'Raleway', sans-serif;
	font-size: 1.7em;
}
.team-title div hr {
	display: none;
}



.team-intro-welcome {
	text-align: center;
	margin-bottom: 30px;
	line-height: 1.5em;
	width: 85%;
	margin: 0 auto;
	letter-spacing: .5px;
}

.team-leader-skills {
	margin-bottom: 40px;
}

.team-slogan {
	display: block;
	width: 80%;
	margin: 3em auto 0 auto;
	text-align: center;
	padding: 1em;
	border: solid white 2px;
	border-radius: 10px;
	font-family: 'Courgette', Pristina, serif;
}


/* Einzelbilder
=====================*/

.picture {
	margin: 0 auto;
	border-radius: 5%;
	width: 12em;
	height: 15.5em;
}

.picture-BK {
	background: url('Bilder/Profil_Bernhard Kohlmaier.jpg');
	background-size: 100% auto;
	background-position: 0 -.9em;
}

.picture-CK {
	background: url('Bilder/Profil_Claudia.jpg');
	background-size: 100% auto;
	background-position: 0 -1.2em;
}

.picture-Janina {
	background: url('Bilder/Profil_Janina.jpg');
	background-size: 100% auto;
	background-position: 0 0;
}

.picture-Lehrling {
	background: url('Bilder/Profil_Angelika.jpg');
	background-size: 100% auto;
	background-position: 0 -.5em;
}

.team-member, .team-leader, .team-pharm {
	text-align: center;
	display: inline-block;
	margin: 3em auto 0 auto;
	width: 100%;
	font-family: 'Raleway', sans-serif;
}

.team-member-skills, .team-leader-skills, .team-pharm-skills {
	list-style-type: none;
	margin-top: 1em;
	color: #e5e5e5;
	font-size: 16px;
	line-height: 1.3em;
}

.team-member h2, .team-leader h2, .team-pharm h2 {
	padding-top: 1em;
	font-size: 19px;
}

.team-member p, .team-leader p, .team-pharm p {
	padding-top: .7em;
	font-size: 18px;
}

.team-member a, .team-leader a, .team-pharm a {
	color: inherit;
	text-decoration: none;
}

.team-member a:hover, .team-leader a:hover, .team-pharm a:hover {
	color: white;
	text-decoration: underline;
}




@media screen and (min-width: 391px) and (max-width: 640px) {
  .team-title {
		height: 200px;
	}
	.team-title h1 {
		top: 40%;
	}
	.team-title div {
		top: 70%;
	}
}

@media screen and (min-width: 641px) and (max-width: 950px) {
  .team-title {
		font-size: .8rem;
		height: 300px;
	}
	.team-title h1 {
		top: 50%;
	}
	.team-title div {
		top: 75%;
	}
}

@media screen and (min-width: 641px) {
	.team-title div p {
		display: inline-block;
		margin: 0 15px;
	}
	.team-title div hr {
		display: inline-block;
		width: 20%;
		border: solid white 1px;
		border-radius: 30px;
		margin-bottom: .25em;
	}
}

@media screen and (min-width: 951px) and (max-width: 1200px) {
  .team-title {
		font-size: .8rem;
		height: 400px;
	}
	.team-title h1 {
		top: 60%;
	}
	.team-title div {
		top: 80%;
	}
}

@media screen and (min-width: 1201px) and (max-width: 1651px) {
  .team-title {
		font-size: 1.2rem;
		height: 500px;
	}
	.team-title h1 {
		top: 60%;
	}
	.team-title div {
		top: 80%;
	}
}

@media screen and (min-width: 1651px) {
  .team-title {
		font-size: 1.2rem;
		height: 650px;
	}
	.team-title h1 {
		top: 65%;
	}
	.team-title div {
		top: 85%;
	}
}

@media screen and (min-width: 1001px) {
	.team-intro-welcome {
		letter-spacing: 1px;
	}
	.team-title {
		background-attachment: fixed;
		background-position: 0 80px;
	}
	.team-member-skills, .team-leader-skills, .team-pharm-skills {
		font-size: 17px;
	}
}




@media screen and (min-width: 971px) {
	.team-slogan {
		white-space: nowrap;
		width: 700px;
		border-radius: 0;
		border-color: #b3acac;
		border-bottom: solid #808080 3px;
		border-top-right-radius: 10px;
		border-top-left-radius: 10px;
		border-width: 5px;
		font-size: 1.4em;
		position: relative;
		top: 5px;
		background: #90b9e5;
		background: #808080;
		margin-top: 0;
	}
	.team {
		display: block;
		width: 90%;
		margin: 0 auto;
		border: solid #b3acac 5px;
		border-radius: 3%;
		background: #90b9e5;
		background: #808080;
		height: 960px;
	}
	.team-intro-main {
		position: relative;
		width: 100%;
		height: 550px;
	}
	.team-leader {
		width: 50%;
		height: 100%;
	}
	.team-intro-welcome {
		position: absolute;
		left: 45%;
		top: 100px;
		width: 500px;
		font-size: 1.2em;
	}
	.team-member {
		height: 450px;
		width: 42.5%;
		margin-left: 5%;
		float: left;
	}
	.lehrling {
		margin-bottom: 3em;
	}
}

@media screen and (min-width: 1501px) {
	.team-slogan {
		width: 800px;
		font-size: 1.5em;
		padding: 1.5em;
	}
}

.team {
	margin-bottom: 10px;
}
@media screen and (min-width: 641px) {
	.team {
		margin-bottom: 100px;
	}
}
