/* ----------------------------------------------------------------

#Default Stylesheet

Filename:     format.css
Site:         iup-training.com
Version:      1.0
Last change:  31/08/23
Author:       Martin Hess
Description:  Default styles to be applied to all pages in the site

--------------------------------------------------------------------*/

/* nunito-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/nunito-sans-v12-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/nunito-sans-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/nunito-sans-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/nunito-sans-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/nunito-sans-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/nunito-sans-v12-latin-regular.svg#NunitoSans') format('svg'); /* Legacy iOS */
}

/* stix-two-text-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'STIX Two Text';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/stix-two-text-v11-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/stix-two-text-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/stix-two-text-v11-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/stix-two-text-v11-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/stix-two-text-v11-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/stix-two-text-v11-latin-regular.svg#STIXTwoText') format('svg'); /* Legacy iOS */
}

/* stix-two-text-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'STIX Two Text';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/stix-two-text-v11-latin-italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/stix-two-text-v11-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/stix-two-text-v11-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/stix-two-text-v11-latin-italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/stix-two-text-v11-latin-italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/stix-two-text-v11-latin-italic.svg#STIXTwoText') format('svg'); /* Legacy iOS */
}


/* #region ALLGEMEINE FORMATIERUNG */
:root {
 	--fontcolor: #000;
	--headlineblue: #346dad;
    --headerblue: #5d87c5;
	--bgblue: #7f97ca;	
	--bgwhite: #f6f7fb;
}

body {
	height:100vh;
	font-family:Nunito Sans, Verdana, Arial;
	font-size:medium; 
	color: #3e3d40;
}

h2 {
	font-family: 'STIX Two Text';
  	font-style: italic;
  	font-weight: 400;
	font-size:2em;
	line-height: 1;
	color: var(--headlineblue);
	margin:1em 0 0.3em 0;
}

@media screen and (min-width: 640px) {
h2 {
	font-size:3em;
}
}

@media screen and (min-width: 960px) {
h2 {
	font-size:4em;
}
}

h2,
.uppercase {
	text-transform: uppercase;	
}

h3 {
	margin-bottom:1em;
	font-weight:normal;
}

.inhaltBreite {
	width:94%;	
	max-width:1120px;
	margin:0 auto;
}

main p img {
	width:94%;	
	max-width:400px;
	height:auto;
}

.ganzeBreite {
	width:100%;
}

.textEinzug {
	margin-left:1.4em;
}

.rechtsText {
	text-align:right;
}
/* #endregion */



/* #region HEADERFORMAT */
header {
	width:100%;	
}

header #logo {
	height:160px;
	background-image: url('../../img/IUP_Logo_Kopf_Folgeseiten.png');
	background-color: var(--headerblue);
	background-position: center; 
  	background-repeat: no-repeat;
	background-size: 94%;
}

@media screen and (min-width: 520px) {
header #logo {
	background-size: auto;
}
}


body#home header #logo {
	height:200px; 
	background-image: url('../../img/IUP_Logo_Kopf_Home.png'), url('../../img/IUP_Kopf_HOME.jpg');
 	background-position: center, center;	
	background-size: 94%, cover;
  	background-repeat: no-repeat, no-repeat; 
	background-color: white;
}

@media screen and (min-width: 680px) {
body#home header #logo {	
	background-size: auto, cover;
}
}

header#admin #logo {
	background-color: silver;	
}

header #naviZeile {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-pack:justify;
	    -ms-flex-pack:justify;
	        justify-content:space-between;	
	list-style-type:none;
}

#telefon {
		margin-top: 1em;
}
/* #endregion */



main {
	min-height:50vh;
	padding:2em 0;
}

#atmoBild {
	margin:2em 0;
}

#atmoBild source,
#atmoBild img {
	width:100%;
	height:auto;
	margin:2em 0;
}

.eineSpalte {
	widht:94%;
	max-width:936px;
	margin: 0 auto;
}

@media screen and (max-width: 639px) {
div.spalte + div.spalte {
	margin-top:2em;
}
}

@media screen and (min-width: 640px) {
.zweiSpalten {
	display: flex;
	gap: 3.86%;
}

.zweiSpalten .spalte {
	width: 48.07%;
}
}

/* .eineSpalte img {
	margin:0 2em 2em 0;
} */

.branchenFlex {
	display:flex;
	flex-wrap: wrap;
	margin-bottom:1em;
/* 	justify-content: space-between; */
	align-items: flex-end;
	gap: 2em 3%;
	margin-bottom:2em;
}


/* #region FOOTER */
footer {
	width:100%;
	height:396px;
	background-image: url('../../img/IUP_Fusszeile.jpg');
	background-color: var(--bgblue);
	background-position: center; /* Center the image */
  	background-repeat: no-repeat;	

}

#footerInhalt {
	color:white;	
	padding-top:1em;
}

#footerInhalt div {
	width:96%;

}

@media screen and (min-width: 910px) {
#footerInhalt {
	display:flex;
	justify-content:space-between;
	align-items:start;
}

#footerInhalt div {
	width:46%;
}
}  


footer ul {
	list-style-type:none;
}

footer a {
	color: white;
	text-decoration:none;	
}

footer a.activ,
footer a:hover  {
	color: var(--headlineblue);
	border-bottom:thick solid var(--headlineblue);
}
/* #endregion */




/* #region LOGIN UND ADMIN */
#loginMaske,
.mittigMaske {
	width:100%;
	max-width:400px;
	margin:10vh auto auto auto;
}

body#login {
	margin-bottom:1em;
}

input[type=text],
input[type=password],
input[type=date],
input[type=email],
input[type=tel],
input[type=time],
inpt[type=file],
input[type=submit],
input[type=reset],
textarea   {
	margin-bottom:1em;
	padding:.2em;		
}

input[type=text],
input[type=password],
input[type=date],
input[type=email],
input[type=tel],
input[type=email],
textarea {
/*	border: none; */
	font-size: inherit;
	font-family: inherit;
} 

input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=email]:focus,
textarea:focus {
	background-color: #bbbdbe;
	outline:var(--darkblue);
}

.submitResetLeiste {
	display:flex;
	justify-content: flex-end;
}

.submitResetLeiste input.button {
	width:auto;
}

.submitResetLeiste input + input,
.submitResetLeiste input + a  {
	margin-left:.5em;
}

label[for=vorname],
input.vorname {
	display:none;
}

#kontaktformular textarea {
	resize:none;
}

.button {
	background-color:none;
	border-color:var(--headlineblue);
}
/* #endregion */