@font-face {
	font-family: AmbersHand;
	src: url(/fonts/AmbersHand.ttf);
}

#wrapper {
	h3 {
		margin: 10px;
	}
}

#firstRow {
	margin: 10px;
	margin-bottom: 0px;
	display: flex;

	#info {
		background-color: #dbd6c3;
		border: 2px solid rgba(201,197,179,0.54);
		border-radius: 2px;
		margin-left: 10px;
		padding: 15px;
		width: 470px;

		h3 {
			padding: 0px;
			margin: 0px;
		}

		#Adresse, #Kontaktdaten {
			margin-top: 15px;
		}
	}
}

#FahrzeugKlassen {
	margin-left: 10px;

	#row1, #row2 {
		display: flex;
		margin-bottom: 10px;

		img {
			width: 96px;
			height: 52.5px;
			margin-right: 4px;
			margin-bottom: 4px;
		}

		div p {
			text-align: center;
		}
	}
}

#welcomeText {
	margin: 15px;
	font-family: AmbersHand;
	font-size: 24px;
	color: #070966;
}

#Fahrlehrer {
	padding: 5px;

	h3 {
		padding-left: 5px;
	}

	#cardContainer {
		display: flex;
		flex-wrap: wrap;

		#card {
			width: 282px;
			height: 555px;
			background-color: #dbd6c3;
			border: 2px solid rgba(201,197,179,0.54);
			border-radius: 2px;
			margin-left: 5px;
			margin-right: 5px;
			margin-bottom: 10px;
			
			img {
				width: 263px;
				height: 400px;
				padding: 10px;
			}

			h3, p {
				text-align: center;
			}
		}
	}
}

#warning {
	background-color: #e0c0af;
	border: 3px solid #FF0000;
	border-radius: 3px;
	height: 28px;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 10px;
	overflow: hidden;
	position: relative;

	p {
		position: absolute;
		white-space: nowrap;
		animation: scroll-left 15s linear infinite;
		font-weight: bold;
		font-family: Arial, sans-serif;
		color: #000;
		margin: 0;
		top: 4px; 
	}
}

#map {
	width: 100%;
	height: 400px;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-top: 5px;
}

@keyframes scroll-left
{
	from {
		left: 100%;
	}

	to {
		left: -100%;
	}
}

.maps-icon {
	width: 20px;
	height: 29px;
	vertical-align: middle;
	cursor: pointer;
	margin-left: 8px;
	transition: transform 0.2s;
}
.maps-icon:hover {
	transform: scale(1.2);
}

.tooltip
{
	position: relative;
	display: inline-block;
	cursor: pointer;
}

.tooltiptext
{
	visibility: hidden;
	width: 180px;
	background-color: black;
	color: #ffffff;
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;
	position: absolute;
	z-index: 1;
}

.tooltip:hover .tooltiptext
{
	visibility: visible;
}
