@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

:root {
	--primaryColor: #006eaf;
	--secondaryColor: #ffcc00;
	--tertiaryColor: #3a4044;
	--quaternaryColor: #d9dee8;
	--borderRadius: 7px;
	--boxShadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	--color: #333333;

	font-family: 'Montserrat';
}

body {
	margin: 0;
	padding: 0;
}

.list {
	width: 100%;
	background-color: #ffffff;
	border-radius: 0 0 5px 5px;
}

.list-items {
	padding: 10px 5px;
}

.list-items:hover {
	background-color: white;
}

#form {
	color: var(--color);
	user-select: none;
}

input {
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid var(--tertiaryColor);
	box-sizing: border-box;
	border-radius: var(--borderRadius);
	background: var(--quaternaryColor);
}

#url {
	cursor: pointer;
}

#submitButton {
	background: var(--secondaryColor) !important;
	font-weight: bold;
	color: black;
}

.unclickedSubmitButton {
	margin: 30px 0 0 0;
}

.clickedSubmitButton {
	margin: 30px 0 20px 0;
}

p {
	font-size: 16px;
	margin-top: 0;
	margin-bottom: 1rem;
	text-align: justify;
}

hr {
	margin: 1rem 0;
	color: var(--primaryColor);
	background-color: var(--color);
	border: 0;
	opacity: 0.25;
	border-width: 3px;
	border: 1px solid #006eaf;
}

a {
	text-decoration: none;
}

h3 {
	font-size: 21px;
}

h4 {
	font-weight: bold;
	margin-top: 17.3px;
	text-transform: uppercase;
}

h3,
h4 {
	margin-top: 10px;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

/* KACHELN */
label {
	-webkit-tap-highlight-color: transparent;
	margin-top: 0;
	cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

li {
	display: inline-block;
}

figure {
	position: relative;
	margin: 5px 0px 5px 5px;
	justify-items: center;
}

figure a {
	position: absolute;
	right: 3px;
	top: 3px;
	scale: 0.7;
}

figure a::before {
	content: "\1F50D";
}

figcaption {
	display: table;
	width: 100%;
	font-weight: normal;
	word-break: break-word;
	text-align: center;
	margin-bottom: 7px;
	color: var(--color);
}

label figure {
	transition-duration: 0.2s;
	transform-origin: 50% 50%;
	border-radius: 10px;
	/* border: 0.5px solid var(--quaternaryColor); */
	background: var(--quaternaryColor);
}

:checked+label figure {
	box-shadow: 0 0 5px #333;
	/* box-shadow: 0 0 0 2px #333; */
	transform: scale(0.9);
}

:checked+label figure figcaption {
	transform: scale(1.03);
}

.osm-attribution {
	font-size: 11px !important;
	margin-bottom: 0;
}

#divLayerGroups figure {
	position: relative;
}

#divLayerGroups figcaption {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	line-height: 1.2;
}

@media (max-width: 575px) {
	figure {
		padding: 3px 9px 9px 9px;
	}

	figure,
	#divLayerGroups figure {
		height: 70px;
		width: 85px;
	}

	label img {
		width: 85px;
		height: 40px;
	}

	figcaption,
	#divLayerGroups figcaption {
		font-size: 9px;
	}

	#submitButton {
		height: 45px;
		font-size: 15px;
	}
}

@media (min-width: 576px) and (max-width: 991px) {
	figure {
		padding: 0 9px 3px 9px;
	}

	figure,
	#divLayerGroups figure {
		height: 90px;
		width: 95px;
	}

	label img {
		width: 95px;
		height: 50px;
	}

	figcaption,
	#divLayerGroups figcaption {
		font-size: 10px;
	}

	#submitButton {
		height: 50px;
		font-size: 16px;
	}

}

@media (min-width: 992px) {
	figure {
		padding: 0 9px 3px 9px;
	}

	figure,
	#divLayerGroups figure {
		height: 100px;
		width: 105px;
	}

	label img {
		width: 105px;
		height: 60px
	}

	figcaption,
	#divLayerGroups figcaption {
		font-size: 11px;
	}

	#submitButton {
		height: 50px;
		font-size: 16px;
	}
}