@font-face {
    font-family: 'eras_light_ITC';
    src: url('../fonts/eraslght.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'eras_demi_ITC';
    src: url('../fonts/erasdemi.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'eras_medi_ITC';
    src: url('../fonts/erasmd.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
a {
    color: #f9b546;
}
.nav-link {
  color: white;
}
.navbar-nav {
  margin:auto !important;
}

.flyer-headline1 {
    font-weight: 500;
    line-height: 2em;
    font-size: 1.4em;
}
.flyer-headline2 {
    font-weight: 300;
    line-height: 2em;
    font-size: 1.2em;
}
.flyer-text {
    font-weight: 400;
    margin-top:10px;
    position:relative;
}
.flyer-container {
    grid-template-columns: [left] 33% [center] 33% [right] 33%;
    grid-template-rows: [uppergap] 20px [upper] auto [lower] auto [lowergap] 20px;
    display: grid;
    justify-items: center;
    justify-content: space-evenly;
}
.flyer-item {
    color: #777;
    text-align: center;
}
.flyer-left {
    grid-column: left;
    grid-row: upper;
}
.flyer-center {
    grid-column: center;
    grid-row: upper;
}
.flyer-right {
    grid-column: right;
    grid-row: upper;
}
.flyer-menu {
  background-color: #f9b546 !important;
  color: white !important;
  border-radius: 0 0 5px 5px;
}
.flyer-menu li {
  color:white !important;
}
.flyer-logo {
  color:white;
}
.flyer-persons {
  background-color: #fff;
  border-radius: 5px 5px 0 0;
}
.flyer-portfolio {
  background-color: #E0E0E0;
}
.flyer-contactform  {
  color:white;
  background-color: #222;
  border-radius: 0 0 5px 5px;
  padding-top:10px;
}
.flyer-contact  {
  color:white;
  background-color: #222;
  border-radius: 0 0 5px 5px;
  padding-top:10px;
}
.flyer-img-frame {
border-radius: 100%;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
height:100px;
width:100px;
margin:auto;
overflow: hidden;
border: 2px solid #ddd;
position:relative;
}

.bg-person {
background-size: 100%;
background-position: center;
width:100%;
height:100%;
transition: all 0.5s ease;
}
.bg-person:hover {
    background-size: 120%;
}
.bg-person:after {
 content: '';
   position: absolute;
   top: 0; left: 0; right: 0; bottom: 0;
  border: 2px solid #ddd;
border-radius: 100%;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
border: 3px solid white;
}

.explain{
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  
}
.explaintext {
  visibility: hidden;
  width: 240px;
  background-color: #383d43;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  bottom:100%;
  z-index: 999;
}

.explain .explaintext {
  margin-left: -60px;
  margin-bottom:5px;
 
}
/*arrow*/
.explain .explaintext::after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 15%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #383d43 transparent transparent transparent;
}

.explain:hover .explaintext {
  visibility: visible;
}
/*Landingpage*/
.font-header {
font-size: 76px;
color: #f9b546;
font-family: eras_light_ITC;
}
.font-sub{
color: #ffffff;
font-family: eras_light_ITC;
font-size: 36px;
font-weight: bold;
}
.grid-container {
display: grid;
grid-template-columns: 32% 32% 32%;
grid-template-rows: 3em;
width:600px;
margin:auto;
gap:10px;
}
.grid-header {
grid-column: 1/4;
text-align: center;
}
.grid-item {
box-shadow: 3px 1px 8px rgba(0,0,0,0.5);
margin: 50px 10px 0 10px;
border-radius:8px;
z-index: 100;
padding: 2px;
font-size:30px;
text-align:center;
color: #f9b546; 
font-family: eras_light_ITC;
-webkit-transition: all 1s ease;
transition: all 1s ease;
}
.grid-item:hover {
box-shadow: 0px 0px 20px #f8a720;
-webkit-box-shadow: 0px 0px 20px #f8a720;
-moz-box-shadow: 0px 0px 20px #f8a720;
-webkit-transition: all 1s ease;
transition: all 1s ease;
z-index: 999;
}
.grid-item p {
margin-top:20px;
}
.grid-item:hover > img {
  animation: shake 2s;
}
.afis {
	transition: all 1s ease;
		
	}
	.afis:hover {
		box-shadow: 0px 0px 20px #f8a720;
    -webkit-box-shadow: 0px 0px 20px #f8a720;
    -moz-box-shadow: 0px 0px 20px #f8a720;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    z-index: 999;	
			}
@keyframes shake {
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
}
@media (max-width: 600px) {
  .flyer-container {
    display:block;
  }
  .grid-container {
    display: block;
    width:auto;
  }
  .grid-item img {
    margin: auto;
}
.font-header {
    font-size: 10vw;
}
}
@media (min-width: 576px) {
.container, .container-md, .container-sm {
    max-width: 70%;
}
}
