/* Stylesheet für Selfhtml Design 11  (Webvisitenkarte)
  responsives Layout mit Grid Layout */




/* ====================================================   GLOBAL DEFINITION   ==================================================== */

/* alternatives Boxmodell */
html { 
  box-sizing: border-box; 
} 

body{
	
	background-color: #222222;
	background-repeat: repeat repeat;
	margin: 0;
}

*, ::before, ::after { 
  box-sizing: inherit; 
}

@media (min-width: 60em) {
body {
	display: grid;
	grid-template-columns: 1fr minmax(15em, 1fr);
	grid-template-rows: min-content 1fr min-content;
	grid-gap: 1em;
	min-height: 100vh;
	min-width: 100vw;
}
}

body > * {
	border-radius: 0.9em;
	border: 1px solid;
	padding: 1em;
} 

header {
	grid-column: 1 / -1;   /* geht über gesamte Breite */	
	background: (241,243,244, 0,2);
	border: none;
}

header * {
	text-align: center;
}

article {
	margin: 1em 0.4em;
	background: #babab9;
	border-color: #222222;
}

h1{
	color: #bbbbbb;
}

article img {
	width: 100%;
}

@media (min-width: 31em) {
article img {
	width: 50%;
	float: right;
	margin-left: 1em;	
}
}

@media (min-width: 50em) {
article img {
	width: 40%;
	margin-top: -3em;	
}
}

@media (min-width: 60em) {
article img {
	width: 50%;
}
}

@media (min-width: 110em) {
article img {
	width: 40%;
}
}

@media (min-width: 125em) {
article img {
	width: 25%;
}
}

#kontakt{
	background: #9b9eff;
	border-color: #0b218d;	
	margin: 1em 0.4em;
}

#kontakt img {
	width: 8em;
}

a[href^="tel"] { white-space: nowrap; }

#currentstyle {
	font-weight: bold;
}
