@font-face {
	font-family: headline;
	src: url(../fonts/Orbitron/Orbitron-Regular.ttf);
}

@font-face {
    	font-family: vice;
    	src:url(../fonts/vice_city_sans/ViceCitySans.otf);
	}

html {
	/*font-size: 10px;*/
}

a {
	text-decoration: none;
	color: #fff;
}

.container_team{
	width: 100%;
}

.heading-team {
	font-size: 3rem;
	margin-top: 5rem;
	margin-bottom: 5rem;
	text-align: center;
	color: #0088ff;
	position: relative;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	letter-spacing: 1.5px; 
}

.heading-team::after {
	content: "";
	width: 15rem;
	height: 1.3rem;
	background-color: #00001e;
	position: absolute;
	bottom: -2rem;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 2rem;
}

.card-wrapper {
	display: flex;
	align-items: center;
	align-content: center;
	flex-direction: column;
}

.card {
	width: 25rem;
	background-color: #FFFA55;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 2rem 0;
	box-shadow: .5rem .5rem 3rem rgba(0, 0, 0, .2);
}

@media (max-width: 680px){
	.card{
		width: 20rem;
	}
}

.card .card-img {
	width: 100%;
	height: 26rem;
	object-fit: cover;
	clip-path: polygon(0 0, 100% 0, 100% 73%, 0% 100%);
}

.profile-img {
	width: 15rem;
	height: 15rem;
	object-fit: cover;
	border-radius: 50%;
	margin-top: -11rem;
	z-index: 0;
	border: 1rem solid #FFFA55;
}

/*ToolTip*/

.tooltiptext{
	font-family: sans-serif;
	font-size: 16px;
}

.tooltip {
  font-family: vice;
  font-size: 23px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 90px;
  background-color: white;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.card h1 {
	font-family: vice, sans-serif;
	font-size: 2rem;
	color: #00001e;
	margin: 1.5rem 0;
}

.job-title {
	text-align: center;
	color: #00001e;
	font-size: 20px;
	font-weight: 500;
	font-family: vice, sans-serif;
}

.about {
	font-family: vice, sans-serif;
	font-size: 1.3rem;
	margin: 1.5rem 0;
	text-align: center;
}

.card .btn-team {
	padding: 1rem 2.5rem;
	background-color: #00001e;
	border-radius: 2rem;
	margin: 1rem 0;
	text-transform: uppercase;
}

.card .btn-team:hover {
	background: #0088ff;
	transform: translateY(-2px);
	box-shadow: .5rem .5rem 2rem rgba(0, 0, 0, .2);
}

.card .btn-team:active {
	transform: translateY(0);
	box-shadow: none;
}

.social-media-team {
	width: 100%;
	list-style: none;
	display: flex;
	justify-content: space-evenly;
	padding: 2rem 0;
	margin-top: 1.5rem;
	border-top: 2px solid #071738;
}

.social-media-team i {
	font-size: 3rem;
	transition: color .5s;
}

.one{
	color: #3b5999;
}

.two {
	color: #071738;
}

.four {
	color: #55acee;
}

.three {
	color: #e63cca;
}

.one:hover,
.two:hover,
.four:hover,
.three:hover {
	color: white;
}

@media screen and (min-width: 700px) {
	.card-wrapper {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}
	.card {
		margin: 2rem;
		transition: transform .5s;
	}
	/*Nicht sicher ob ich es haben möchte*/
	@keyframes fadeIn {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}
	.card:nth-child(1) {
		animation: fadeIn .5s .5s backwards;
	}
	.card:nth-child(2) {
		animation: fadeIn .5s 1s backwards;
	}
	.card:nth-child(3) {
		animation: fadeIn .5s 1.5s backwards;
	}
	.card:nth-child(4) {
		animation: fadeIn .5s 2s backwards;
	}
	.card:nth-child(5) {
		animation: fadeIn .5s 2.5s backwards;
	}
	.card:nth-child(6) {
		animation: fadeIn .5s 3s backwards;
	}
	.card:hover {
		transform: scale(1.05);
	}
}
