/* --- SETUP --- */

:root {
	--petran: hsl(30, 90%, 50%);
	--petran-low: hsl(30, 90%, 30%)
}

/* --- UPDATE HTML TAGS --- */

ul {
	list-style: disc;

	&>li {
		margin-left: 1em;
	}
}

a {
	color: var(--petran);
	text-decoration: none;
	transition: 500ms ease;
}

h3 {
	padding: 2em 0 0;
}

.petran_orange {
	font-size: 1.5em;
	color: var(--petran);
}

.logo_anchor,
.logo_anchor:visited {
	color: #FFF;
}

.logo_anchor:hover,
.logo_anchor:active {
	color: var(--petran);
}

a:hover,
a:active {
	color: #FFFFFF;
	transition: 500ms ease;
}

.form_field {
	text-align: right;
}

.form-checkbox+label {
	position: relative;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	height: 24px;
}

.form-checkbox+label::after {
	content: " ";
	display: inline-block;
	vertical-align: middle;
	margin-left: 1em;
	width: 20px;
	height: 20px;
	background-color: rgb(0, 0, 0);
	border-width: 2px;
	border-style: solid;
	border-color: rgb(61, 61, 61);
	border-radius: 0px;
	box-shadow: rgba(42, 42, 42, 0.75) 0px 0px 0px 0px;
}

.form-checkbox:checked+label::after {
	content: " ";
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjZjI4MDBkIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+");
	background-repeat: no-repeat;
	background-size: 20px 20px;
	background-position: center center;
	/*position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: 1.5em;
	right: 0px;
	top: 0px;
	text-align: center;
	background-color: transparent;
	font-size: 10px;
	height: 20px;
	width: 20px;*/
}


.center-box {
	max-width: 960px;
	width: 100%;
	background-color: #111;
	padding: 2em;
	margin: 0 auto;

}

/* {
	outline: 1px dashed #933;
}

/* --- LOCAL FONTS --- */

@font-face {
	font-family: "Material Icons";
	font-style: normal;
	font-weight: 400;
	src: url("../font/MaterialIcons-Regular.eot");
	src: local("Material Icons"), local("MaterialIcons-Regular"),
		url("../font/MaterialIcons-Regular.woff2") format("woff2"),
		url("../font/MaterialIcons-Regular.woff") format("woff"),
		url("../font/MaterialIcons-Regular.ttf") format("truetype");
}

.material-icons {
	font-family: "Material Icons";
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "liga";
	vertical-align: middle;
}

@font-face {
	font-family: "FuturaBold";
	src: url("../font/futura_md_bt_bold.eot");
	src: url("../font/futura_md_bt_bold.eot?#iefix")format("embedded-opentype"),
		url("../font/futura_md_bt_bold.woff2")format("woff2"),
		url("../font/futura_md_bt_bold.woff")format("woff"),
		url("../font/futura_md_bt_bold.ttf")format("truetype"),
		url("../font/futura_md_bt_bold.svg#Futura Md BT Bold")format("svg");
}

@font-face {
	font-family: "FuturaMedium";
	src: url("../font/futura_md_bt_medium.eot");
	src: url("../font/futura_md_bt_medium.eot?#iefix")format("embedded-opentype"),
		url("../font/futura_md_bt_medium.woff2")format("woff2"),
		url("../font/futura_md_bt_medium.woff")format("woff"),
		url("../font/futura_md_bt_medium.ttf")format("truetype"),
		url("../font/futura_md_bt_medium.svg#Futura Md BT Bold")format("svg");
}

/* --- BASIC RESET --- */

* {
	margin: 0;
	padding: 0;
	text-transform: lowercase;
}

/* --- BASIC SETTINGS --- */

body {
	background-color: hsl(0, 0%, 0%);
	color: hsl(0, 0%, 100%);
	font-family: FuturaMedium, sans-serif;
	font-size: 16px;
}

/* --- PAGE WRAPPER --- */

.wrapper {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	backdrop-filter: blur(15px);
}

/* --- SECTION: HEADER  --- */

.header {
	font-size: 1.25em;
	padding: .5em 1em;
	text-align: right;
	font-family: FuturaBold, sans-serif;
}

.header-logo {
	max-width: 60%;
	width: auto;
	height: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

/* --- SECTION: CONTENT --- */

.content {
	font-family: FuturaMedium;
	padding: 5em 1em;
	line-height: 1.3em;

	&>div {
		padding: 1em 0 0 0;
		font-weight: 100;
	}
}

/* --- SECTION: FORM --- */

.contact>form {
	padding: 5em 1em;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 1em;
}

.form_field {
	width: 100%;
	padding-bottom: 1em;

	&>label {
		display: inline-flex;
	}

	&>input,
	&>textarea {
		background-color: #000;
		color: var(--petran);
	}

	&>input:not([type='checkbox']) {
		width: 100%;
		padding: 0em;
		margin: 1em 0em 1.5em 0em;
		border: 0px;
		border-bottom: 1px solid #333;
	}

	&>input[type='checkbox'] {
		display: none;
	}

	&>textarea {
		padding: .5em;
		border: 1px solid #333;
		width: 95%;
		height: 5em;
		margin: .5em 0;
	}
}

button {
	padding: .5em 1em;
	color: var(--petran);
	background-color: #000;
	border: 1px solid #444;
	font-family: FuturaBold;
	text-transform: uppercase;
	transition: 500ms ease;
}

button:hover {
	color: #FFF;
	background-color: var(--petran);
}


/* --- SECTION: NAVSELECT --- */

.architecture {
	border-radius: 7px;
	padding: 1.5em;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 2.5em;
	grid-row-gap: 2.5em;
	background-color: #111;

	&>div {
		padding: 1em 0 0 0;
		font-weight: 100;
	}

	&>.architecture_section {
		border-radius: 5px;
		text-align: right;
		font-weight: bolder;
		text-shadow: 0 0 20px #000, 0px 5px 10px #000, 0px -5px 10px #000;
		height: 20em;
		line-height: 2em;
		padding-right: .5em;
		background-size: cover;
		background-color: #111;
		background-blend-mode: luminosity;
		background-position: center center;
		transition: 500ms ease;
		text-transform: lowercase;
		font-size: 1.2em;
	}

	&>.architecture_section:hover {
		background-color: #FF9900;
		background-blend-mode: luminosity;
		transition: 500ms ease;

	}

	.architecture_section_hochbau {
		background-image: url("../img/hoch_autohaus-stockach/has_4.jpg");
	}

	.architecture_section_innen {
		background-image: url("../img/innen_auto/auto_3.jpg");
	}

	.architecture_section_garten {
		background-image: url("../img/garten_kressbronn/gk_2.jpg");
	}

}

/* --- SECTION: FOOTER  --- */

.footer {
	border-radius: 5px;
	background-color: #111;
	padding: 1em;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 1em;
	grid-row-gap: 1em;

	a,
	a:visited {
		color: #FFF !important;
	}

	a:hover,
	a:active {
		color: var(--petran) !important;
	}
}

.footer-legal {
	text-align: right;
}

.footer-contact {
	position: relative;
	min-height: 5em;

	&>div {
		position: absolute;
		bottom: 0px;
	}


}

/* --- GALLERY --- */
.gallery-section {
	text-align: right;
	margin-bottom: 2em;
}

.big-picture {
	width: 500px;
	max-width: 100%;
	aspect-ratio: 1200/1600;
	background-color: #111;
	object-fit: contain;
	border: 2px solid #222;
	margin-bottom: 1rem;
}

.thumbnail-container {
	display: flex;
	gap: 2.5%;
	width: 500px;
	max-width: 100%;
	margin-left: auto;
}

.thumbnail {
	background-color: #111;
	width: 22.5%;
	aspect-ratio: 12/16;
	object-fit: contain;
	cursor: pointer;
	border: 2px solid #222;
	transition: border-color 0.3s;
}

.thumbnail:hover {
	border-color: var(--petran);
}

.thumbnail.active {
	border-color: var(--petran-low);
}

.thumbnail.active:hover {
	border-color: var(--petran-low);
}

.title {
	font-family: FuturaBold;
	font-size: 1.2em;
	text-align: right;
}

.description {
	font-family: FuturaMedium;
	text-align: right;
	padding: .1em 0 2em 0;
}

/* --- MEDIA QUERIES --- */

@media screen and (max-width: 760px) {

	.architecture,
	.contact>form,
	.footer {
		grid-template-columns: 1fr;
		border-radius: 0px;
	}

	.architecture>.architecture_section {
		height: 10em;
		line-height: 2em;
	}

	.footer-legal,
	.footer-contact {
		text-align: right;
	}


}