﻿body {
	line-height: 1.5em;
	font-family: 'Nobile', sans-serif;
	font-weight: 400;
	font-size: 1rem;
}

h1, h2, h3, h4, h5, b, strong {
	font-weight: 700;
}

h1, h2 {
	line-height: 1.2em;
}

#wrapper {
	max-width: 960px;
	margin: 1rem auto;
}

header  {
	color: white;
	background-color: #aa0000;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	padding: 2em 1.5em;
}

a {
	background-image: linear-gradient( to top, rgba(0,0,0,0) 2%, currentColor 2%, currentColor 5%, rgba(0,0,0,0) 5%);
	text-decoration: none;
	color: #aa0000;
}

a:hover {
	color: #0072ff;
}

a:hover:not(.invisible-link) {
	background-image: linear-gradient( to top, rgba(0,0,0,0) 2%, currentColor 2%, currentColor 5%, rgba(0,0,0,0) 5%);
}

header a,
footer a,
header a:visited,
footer a:visited {
	color: white;
}

a.invisible-link {
	background-image: none;
	text-decoration: initial;
}

img#logo {
	height: 75px;
	margin: 0 auto;
	display: block;
}

.page {
	color: #aa0000;
	position: relative;
	max-width: 600px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.index-md img {
	height: 250px;
	position:relative;
	float: right;
	margin: 5px;
	margin-left: 1.5em;
	border: 1px solid #aa0000;
}

.index-md .page {
	min-height: 320px;
}

footer {
	color: white;
	background-color: #aa0000;
	padding: 2em 1.5em;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

.text-center {
	text-align: center;
}

.clickable {
	cursor:pointer;
}

@media (max-width: 576px) {
	.kontakt {
		padding-top: 1rem;
	}
}

@media (max-width: 720px) {
	#wrapper {
		max-width: 100vw;
		margin: 0 auto;
	}
	header, footer {
		padding: 0.5em 1em;
	}
	body {
		font-size: 1.25rem;
	}
	.d-flex {
		flex-direction: column;
	}
	.d-flex > * {
		margin-bottom: 1.25rem;
	}
	.page {
		max-width: 100vw;
	}
	.index-md img {
		float: none;
		margin-left: 0;
	}
}
