@charset "utf-8";

/*variables*/
:root {
	--color: #E0E0E0;
}

/*irgendwas*/
*,
*:before,
*:after {
	box-sizing: border-box;
}

/*object styling*/

/***** trick for steady footer -> 1) Flexbox @ https://stackoverflow.com/questions/643879/css-to-make-html-page-footer-stay-at-bottom-of-the-page-with-a-minimum-height-b *****/
body { 	
	height:100vh;
	margin:0;
}

body{ 
  display:flex; 
  flex-direction:column; 
}

footer{
  margin-top:auto; 
}
/****************/

nav {
	font-family: "MinecraftBoldExpanded";
	letter-spacing: .03em;
	position: fixed;
	width: 100%;
	padding: 10px 0px 10px 0px;
	background: rgba(28,30,42,1.00);
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	z-index: 1;
}

footer {
	font-family: "MinecraftRegularExpanded";
	letter-spacing: .1em;
	padding: 5px 0px 5px 0px;
	background: rgba(28,30,42,1.00);
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

body {
	font-family: "MinecraftRegularExpanded";
	font-size: 2em;
	background: linear-gradient(rgba(20, 26, 35,0.25),rgba(20, 26, 35, 0.25)), url("../../_backgrounds/temple_int.png") no-repeat center center fixed;
	background-size: cover;
}

h1 {
	font-family: "MinecraftBoldExpanded";
	text-align: center;
	font-size: 2em;
	color: white;
	border-radius: .33em;
	border-style: solid;
	border-color: gold ;
	margin: auto;
	margin-top: .6em;
	line-height: .6;
}

h2 {
	font-family: "MinecraftBoldExpanded";
	font-size: 1.7em;
	color: white;
	margin: 0;
	line-height: .6;
}

h3 {
	text-align: left;
	color: white;
	font-weight: normal;
	margin: .8em 0 0 0;
	line-height: .75;
}

h4 {
	text-align: left;
	color: white;
	font-weight: normal;
	font-family: "MinecraftBoldExpanded";
	margin: auto;
	margin-bottom: .15em;
	line-height: .75;
	font-size: 1.21em;
}

p {
	text-align: justify;
	color: white;
	margin: auto;
	line-height: .75
}

input[type="text"], 
input[type="email"], 
input[type="number"] {
	border: solid .05em var(--color);
	border-radius: .2em;
	width: 7.4em;
	height: 1em;
	font-family: "MinecraftRegularExpanded";
	font-size: 1em;
	margin-top: .3em;
	padding-left: .3em;
	background: rgba(255,255,255,0.75);
}

input[type="text"]:focus, 
input[type="email"]:focus,
input[type="number"]:focus {
	border: solid .05em #00BFFF;
}

textarea {
	border: solid .05em var(--color);
	border-radius: .2em;
	height: 4em;
	min-height: 2.4em;
	max-width: 36.6em;
	max-height: 12.5em;
	font-family: "MinecraftRegularExpanded";
	font-size: 1em;
	line-height: .75;
	padding-left: .3em;
	background: rgba(255,255,255,0.75)
}

textarea:focus {
	border: solid .03em #00BFFF;	
}

input[type="submit"] {
	font-family: "MinecraftBoldExpanded";
	font-size: 1.3em;
	color: rgba(0,163,176,1.00);
	background: rgba(255,255,255,0.7);
	border-radius: .3em;
	border: none;
	padding: .1em .4em;
	transition: 150ms all ease-in-out;
}

input[type="submit"]:hover {
	transform: scale(1.05);
	background: rgba(28,30,42,0.70);
	color: aqua;
}

input[type="submit"]:click {
	
}

/*class styling*/

/*header
----------begin----------*/
.items {
	margin: auto;
	max-width: 1200px; /*main width*/
}

.items th {
	width: 7.5em;
	font-weight: normal;
}

.item p {
	-webkit-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.title:hover {
	-webkit-transform:scale(1.1);
	    -ms-transform:scale(1.1);
	        transform:scale(1.1);
}

.title {
	color: white;
	margin: auto;
	text-align: center;
}

footer .title {
	font-size: .75em
}
/*header
----------end----------*/

.h1 {
	width: 700px;
	padding-bottom: .1em;
}

.logo {
	width: 600px;
}

.link {
	text-decoration: none; 
	color: aqua;
}

.container {
	margin: auto;
	margin-top: 80px;
	margin-bottom: 25px;
	background-color: rgba(28,30,42, 0.50);
	border-radius: 5px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 35px;
	padding-top: 35px;
	max-width: 1200px;
}

.description {
	color: var(--color);
	line-height: 0.75;
	font-size: .9em;
}

.required::after {
	content: " *";
	color: red;
	font-family: "MinecraftRegularExpanded"
}

.error_strings {
	color: red;
	margin-bottom: .6em;
}

/*radio button styling
----------begin----------*/
.radio {
	font-size: 2rem;
	color: var(--color);
	display: grid;
	grid-template-columns: min-content auto;
	grid-gap: 0.3em;
}

.radio_input {
	display: flex;
}

.radio_input input {
	opacity: 0;
	width: 0;
	height: 0;
}

.radio_input input:hover + .radio_control {
	box-shadow: 0 0 0.05em .05em #007CFF, 0 0 0.15em 0.05em #fff;
}

.radio_control {
	display: grid;
	place-items: center;
	width: .8em;
	height: .8em;
	border-radius: 50%;
	border: 0.1em solid currentColor;
	transform: translateY(0.15em);
}

.radio_label {
	line-height: 1;
}

input + .radio_control::before {
	content: "";
	width: 0.35em;
	height: 0.35em;
	box-shadow: inset 0.5em 0.5em currentColor;
	border-radius: 50%;
	transition: 180ms transform ease-in-out;
	transform: scale(0);
}

input:checked + .radio_control::before {
	transform: scale(1) translateX(0.01em);
}
/*radio button styling
-----------end-----------*/

/*width changes*/
@media(min-width: 1250px) {
	textarea {
		min-width: 33em;
		max-width: 36em;
	}
	
	.title {	
		font-size: 1.7em;
	}
}

@media(max-width: 1249px) {	
	h1 {
		font-size: 2em;
	}
	
	h2 {
		font-size: 1.7em;
		line-height: .6;
		margin-bottom: .01em
	}
	
	p {
		font-size: 1em;
	}
	
	textarea {
		width: 90vw;
		max-width: 90vw;
		min-width: 63.5vw;
	}
	
	.container {
		margin-top: 8vw;
	}
	
	.logo {
		width: 9.6em;
	}
	
	.h1 {
		width: 75vw;
		padding-bottom: .1em
	}
	
	.items th {
		width: 19vw;
	}
	
	.title {
		font-size: 4.3vw;
	}
	
	footer .title {
		font-size: .5em
	}

}

@media(max-width: 465px) {
	.container {
		max-width: 100%
	}
	
	.projektgestaltung {
		overflow-wrap: break-word;
	}
	
	#submit {
		font-size: 8.4vw
	}
	
}