html {
  box-sizing: border-box;
}

*,
::before,
::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font: normal 1.20em Arial, sans-serif;

  color: #555;
}

[role="bannerho1"] {
  background: white;
}

[role="banner"] {
  background: url("../img/Bojidar%20Garkov%20-%202025-01.png") no-repeat  left, #fff repeating-linear-gradient(-45deg, white, #ffffff 0.1em);
  background-size: 300px 300px;   
  height: 30vh; }

[role="text"] {
  background: white;
  background-size: contain, auto;
  padding: 1em 0 0.5em;
}

@media screen and (max-width: 20em) {
  
  [role="banner"] {
    background-image: none;
  }
}

[role="bannerho"] h4,
[role="bannerho"] p {
  max-width: 60em;
  margin: 2.2em auto;
  padding-left: 25%;
  font-family: 'Roboto', sans-serif;
  font-variant: small-caps;
  font-weight: lighter;
  font-size: 1.30em;
  color: #173554;
}

[role="bannerho"] p {
  padding: 0.1em 10%;
  color: gray;
}

[role="bannerho"] img {
  float: right;
  height: 15em;
}

[role="banner"] h4,
[role="banner"] p {
  animation: textwelle 2s;
  max-width: 60em;
  margin: 10 auto;
  padding-left: 30%;
  font-family: 'Roboto', sans-serif;
  font-variant: small-caps;
  font-weight: lighter;
  font-size: 1.3em;
  color: #212f3d;
}

[role="banner"] p {
  padding: 1em 20%;
  color: gray;
}

[role="banner"] img {
  float: right;
  height: 15em;
}


[role="text"] h4 {
  max-width: 60em;
  margin: 0 auto;
  padding-left: 1%;
  font-family: 'Roboto', sans-serif;
  font-variant: small-caps;
  font-weight: lighter;
  font-size: 1.20em;
  color: #566573;
}

[role="text"] p {
  max-width: 40em;
  margin: 0 auto;
  padding-left: 1%;
  font-family: 'Roboto', sans-serif;
  font-variant: normal;
  font-weight: lighter;
  font-size: 1.2em;
  color: #566573;
}

[role="text"] ul, li {
  max-width: 40em;
  margin: 0 auto;
  padding-left: 1%;
  font-family: 'Roboto', sans-serif;
  font-variant: normal;
  font-weight: lighter;
  font-size: 1.0em;
  color: #566573;
}
[role="text"] p {
  padding: 2em 1%;
  color: gray;
}

[role="text"] img {
  float: center;
  height: 15em;
}

nav {
  max-width: 50em;
  margin: 0 auto;
}

nav ul {
  text-align: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

nav a {
  background: #dddddd;
  color: darkslategrey;
  text-decoration: none;
  display: inline-block;
  padding: 1em 0 1em 1em;
}

nav a:hover,
nav a:focus {
  background: #edf9fc;
  color: wheat;
}

nav a:hover::after,
nav a:focus::after {
  color: 'transparent';
}

nav li {
  text-align: left;
  padding: 2%;
  list-style-type: none;
}

nav ul {
  display: flex;
  flex-direction: column;
}

nav li {
  margin: .3em 0;
  flex: 1 1 100%;
}

nav a {
  width: 95%;
  margin: 0 2%;
  border-radius: .3em;
}

[aria-current=page] {
  color: black;
  font-weight: bold;
}

[aria-current=page]:hover,
[aria-current=page]:focus {
  color: black;
}

#styleswitcher {
  max-width: 60em;
  margin: 0 auto;
  padding: 0 auto; 
}

#styleswitcher li {
  list-style-type: none;
  display: inline-block;
  border: 0.1px solid transparent;
}

#styleswitcher button {
  border: 3px solid transparent;
  border-radius: 0.2em;
  color: white;
  width: 20em;
  text-align: center;
  font-size: xx-large; 
}

[data-stylesheet="./css/standard1.css"] {
  background: #0c3664;
}

[data-stylesheet="./css/standard2.css"] {
  background: #173554;
}

[data-stylesheet="./css/standard3.css"] {
  background: #212f3d;
}

#styleswitcher button:hover,
#styleswitcher button:focus {
  font-weight: bold;
  border: 1px solid black;
}

a,
.akzentfarbe1 {
  color: #17202a;
}

.akzentfarbe2 {
  color: #273746;
}

h1 {
  color: #666666;
  font-size: 2.00em;
  font-weight: normal;
  font-family: 'Tauri', serif;
  text-transform: uppercase;
}

h2 {
  color: #efefef;
  font-size: 1.50em;
  font-weight: normal;
  font-family: 'Tauri', serif;
  text-transform: uppercase;
}

h3 {
  color: #efefef;
  font-size: 1.40em;
  font-weight: normal;
  font-family: 'Tauri', serif;
  text-transform: none;
}

h5 {
  color: #212f3d;
  font-size: 1.20em;
  font-weight: normal;
  font-family: 'Tauri', serif;
  text-transform: uppercase;
}

h6 {
  color: #efefef;
  font-size: 1.00em;
  font-weight: normal;
  font-family: 'Tauri', serif;
  text-transform: uppercase;
}

li {
  text-align: left;
  padding: 2%;
  list-style-type: disc;
}

.smallteaser {
  background: #fff;
  padding: 0.2em;
  border: 5px solid transparent;
}

.smallteaser h2 {
  display: flex;
  border-bottom: 2px solid;
  align-items: flex-end;
}

.smallteaser h2 img {
  margin-left: auto;
}

.bigteaser > img {
  float: right;
  margin: .5em;
  width: 2.5em;
}

.smallteaser header p {
  border-bottom: 1px #D1D1D1 solid;
}

a.more {
  float: left;
  padding: .25em 1em;
  margin-top: 1em;
  background: #315981;
  color: white;
}

a.more:hover,
a.more:focus {
  background-color: #212f3d;
}

aside,
.bigteaser {
  background: #212f3d;
  padding: 0.5em;
  color: #FFFFFF;
}
aside,
.contact {
  text-align: center;
  background: #212f3d;
  padding: 0.5em;
  margin: 0;
  color: #FFFFFF;
}

aside a,
.bigteaser a {
  color: white;
}

.bigteaser a.more {
  background: white;
  color: #212f3d;
}


header#bar {
	position:relative;	
	background: #d2d2d1 linear-gradient(to bottom, #e8e7e5 0%,#d2d2d1 100%); 
	margin-bottom:2em;
	display: grid;
	grid-template-columns: 1fr 1em;	
}

header#bar:before,
header#bar:after{    
    position:absolute;
    bottom: -2em;
    content: '';
    background: url('../img/shadow.png') no-repeat top left;
	background-size: cover; 	
    width: 50%;
    height: 2em;
}

#bar:before {
	left: 0;
}

#bar:after{    
	transform: scale(-1,1);
	right:0;
}

#bar form {
	float:right;
	padding: 1em 0 0 2em;
}


div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 240px;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 5px;
  text-align: center;
}

div.gallery img {
transition: transform 0.8s;
 -moz-transition: transform 0.8s;
 -webkit-transition: transform 0.8s;
 -o-transition: transform 0.8s;
}

div.gallery img:hover {
 cursor: zoom-in;
 cursor: -moz-zoom-in;
 cursor: -webkit-zoom-in;
 transform: scale(2.0, 2.0);
 -moz-transform: scale(2.0, 2.0);
 -webkit-transform: scale(2.0, 2.0);
 -o-transform: scale(2.0, 2.0);
 -ms-transform: scale(2.0, 2.0);
}

@keyframes textwelle {
	0% {
		transform: scale(0.3);
		opacity: 0;
	}
	70% {
		transform: scale(1.110);
		opacity: 1;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

footer {
  background: #212f3d;
  padding: 0.5em 1em 0;
  margin-top: 1em;
  color: white;
}

footer > * {
  flex:  1 1 20em;
}

footer .branding {
  text-align: right;
}

footer a {
  color: white;
}

body {
  padding: 0 0.5em;
}

main {
  max-width: 70em;
  margin: 0 auto;
  padding: 1em 0;
}

@media screen and (min-width: 45em) {

body {
  padding: 0;
}

nav ul {
  flex-direction: row;
  background: transparent;
}

nav li {
  margin: 0;
  flex: 1 1 0%;
}

nav a {
  background: transparent;
}

[aria-current=page] {
  color: #212f3d;
}
}

main,
footer {
  display: flex;
  flex-flow: row wrap;
}

main > * {
  flex: 1 1 18em;
  margin: 0.5em;
}

.bigteaser {
  flex: 1 1 18em;
}

.aktuellteaser {
  flex: 1 1 40em;
}

:not(.home) h1 {
  flex: 0 0 100%;
}

:not(.home) article {
  flex: 2 2 30em;
  max-width: 40em;
}

:not(.home) article + aside {
  flex: 1 1 15em;
  max-width: 40em;
}
