﻿/* fonts local: https://gwfh.mranftl.com/fonts
************************************************/
/* livvic-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Livvic';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/livvic-v13-latin-regular.woff2') format('woff2'),
       url('../fonts/livvic-v13-latin-regular.woff') format('woff');
}
/* livvic-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Livvic';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/livvic-v13-latin-700.woff2') format('woff2'),
       url('../fonts/livvic-v13-latin-700.woff') format('woff');
}

/*
@font-face {
	font-display: auto;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/roboto-v27-latin-regular.woff2') format('woff2'),
		 url('../fonts/roboto-v27-latin-regular.woff') format('woff');
}

@font-face {
	font-display: auto;
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'),
		 url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff');
}

@font-face {
	font-display: auto;
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'),
		 url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff');
}
*/

/* main areas 
************************************************/
html, body {
	margin: 0;
	padding: 0;
}
html {
	/* mit font-size 62.5% entspricht 0.1rem = 1px */
	font-size: 62.5%;
}
body {
	overflow-x: hidden;
	background-color: #FFFAF3;
	color: #000;
	font: 1.8rem/150% Livvic,Arial,Sans-Serif
}
.main {
	position: relative;
	/* prevent design error */
	overflow: hidden;
	z-index: 2;
	width: 100vw;
	padding-bottom: 20px;
	background-color: #FFFAF3;
	border-bottom: solid 1px #F0D1A0;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,0.4);
}
.wrapper {
	position: relative;
	box-sizing: border-box;	
	max-width: 1200px;
	margin: 0 auto 0 auto;
	padding: 10px 3% 40px 3%;
	background-color: #FFFAF3;
}

/* common areas
************************************************/
/* full screen width */
.full-width {
	box-sizing: border-box;
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	right: 50%;
	margin-right: -50vw;
}

/* single or multiple images at full screen width */
.image-row {
	display: grid;
	grid-template-columns: repeat(1fr);
	grid-gap: 2px 2px;
}
.image-row figure {
	position: relative;
	display: block;
	margin: 0;
	/* prevents image display errors */
	overflow: hidden;	
	transform: scale(1);
	transition: transform 0.3s;
}
@media (hover: hover) {
	.image-row > a:hover > figure {
		position: relative;
		z-index: 2;
		transform: scale(1.1);
		transition: transform 0.3s, box-shadow 0.3s;
		box-shadow: 0px 35px 75px -35px rgba(0,0,0,.5), 0px 60px 120px -25px rgb(22 31 39 / 25%);	
	}
}
.image-row img {
	/* prevent 3 pixel bug */
	display: block;		
	width: 100%;
	height: auto;
}

.image-row figcaption {
	position: absolute;
	box-sizing: border-box;
	width: 100%;
	XXXheight: 12vw;
	top: 90%;
	margin: -5% 0 0 0;
	padding: 0 3%;
	text-align: center;
	/*color: white;*/
	color: black;
	font-size: 4.2vw;
	line-height: 110%;
	text-shadow: 0 0 4px #000, -1px -1px 0 #000, 1px 1px 0 #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.image-row .top-img-caption{
	color: white;
}
.image-row-zoom img {
	width: 180%;
	max-width: 180%;
	margin-left: -40%;
}

/* sharebutton */
a.sharebutton, 
a.sharebutton:link, 
a.sharebutton:visited {
	display: inline-block;
	width: 150px;
	padding: 0;
	line-height: 44px;
	font-style: normal;
	color: #FFF;
	text-align: center; 
	text-decoration: none;
	background-repeat: no-repeat;
	border-radius: 5px;
}
a.sharebutton.facebook {
	margin: 5px 15px 5px 0;
	background-color: #406090;
	background-image: url(../images/social-facebook.gif);
	background-position: left center;
}
a.sharebutton.facebook:hover {
	background-color: #4C70C6;
}

a.sharebutton.twitter {
	margin: 5px 0px 5px 0;
	background-color: #60A8F0;
	background-image: url(../images/social-tweet.gif);
	background-position: left center;
}
a.sharebutton.twitter:hover {
	background-color: #3DB7F5;
}

/* common
************************************************/
form{
    height: 500px;
    width: 800px;
}

/* nur erstes Kind = ">"     , Ausnahme class Anrede */
.box > label:not(.Anrede){
    display: inline-block;
    width: 150px;
    text-align: right;
    vertical-align: top;
}

#frm input{
    border: 2px solid darkgrey;
    border-radius: 5px;
}



iframe, 
img {
	border: none;
}

iframe{
	box-sizing: border-box;
	width: 100vw;
	height:100vh;
	min-width: 100%;
	min-height: 100%;
}

h1 {
	margin: 0;
	padding: 20px 10px 10px 0;
	color: black; /*#0E4A74;*/
	font-weight: bold;
	font-size: 2.2rem;
	line-height: 130%;
}
h2 {
	margin: 0;
	padding: 10px 10px 10px 0;
	color: black; /* #0E4A74;*/
	font-size: 1.8rem;
	line-height: 130%;
}
h3{
	margin: 0;
	padding: 5px 5px 5px 0;
	color: black; /* #0E4A74;*/
	font-size: 1.6rem;
	line-height: 130%;	
}

a.links ,
a.links:link,
a.links:active,
a.links:visited,
a.links:focus {
	display: inline-block;
	padding: 0 5px;
	color: darkgrey; /* #3190D3;*/
}
a.links:hover {
	color: #FFFFFF;
	background-color: darkgrey; /* #3190D3;*/
	transform: scale(1.2);
}

/* @media
************************************************/
@media screen and (min-width: 640px) {
	.image-row figcaption {
		font-size: 2.4rem;
	}
}

@media screen and (min-width: 769px) {
	.image-row {
		/* ab hier zweispaltig (50%-Angabe wegen gap ungeeignet) */
		grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
	}
	.image-row figcaption {
		height: 6rem;
		margin: -4rem 0 0 0;
		font-size: 2.0rem;
	}
	.image-row-zoom img {
		width: 140%;
		max-width: 140%;
		margin-left: -20%;
	}
}

@media screen and (min-width: 1024px) {
	.image-row-zoom img {
		width: 100%;
		max-width: none;
		margin-left: 0;
	}
}

@media screen and (min-width: 1280px) {
	/* ab hier alle images in einer Zeile */
	.image-row {
		grid-template-columns: repeat(auto-fit, minmax(10%, 1fr));
	}
}

@media screen and (min-width: 1025px) {
	.image-row figcaption {
		font-size: 2.2rem;
	}
}












