        /* pt-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: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/pt-sans-v17-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/pt-sans-v17-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

body {
    font-family: 'PT Sans', sans-serif;
    background-color: #E0ECF8;
    
  visibility: hidden;
}  
.hidden {
    overflow: hidden;
}
main {
    display: flex;
   justify-content: center;
   align-items: center;
}    
    .container {
    display: grid;
   /* grid-template-columns: repeat(3, 1fr); */
   /* grid-template-columns: 300px 1fr 20%;*/
    grid-template-columns: repeat(3, 1fr) ;
    grid-gap: 5px 0px;
    border: solid red 1px;
    border-radius: 10px;
  /*  background-color: lightcyan; */
    
}

.header {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
}
.header {
    display:flex;
    background-color: #abc;
    width: 100%;
    height: 100px;
    border-radius: 10px;
    align-items: center; 
    justify-content: center;
    font-size: 1.2em;
    font-style: italic;
    font-weight: bold;
}

#headerleft {
    width: 25%;
    text-align: center;
}
#headercenter {
    text-align: center;
    font-size: 1.2em;
    font-style: italic;
    font-weight: bold;
    color: #333;
    width: 50%;
}
#headerright {
    width: 25%;
    text-align: center;
    
    
}

.seitentitel {
    text-align:center; 
    color:#555; 
    text-shadow: 6px 6px 5px #aaa;
   visibility: hidden;
    animation: fadeIn 5s;
  
}
.seitentitel .opa {
    opacity: 0.3;
}

/* Menue */
#menu {
   grid-column: 1 / 4;
    grid-row: 2 / 3; 
    background-color: transparent;
    display:grid;
    grid-template-columns: 20% 1fr 20% ;
    place-items: center;   
    height: 25px;
    width: 100%;
    /* einblenden */
   visibility: hidden;
    animation: fadeIn 2s; 
}
@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
/* drei Bereiche in der Menuzeile*/
#menubuttonleft {
    grid-column: 1 / 2;
 border: solid 0px green;   
}

#menubuttoncenter {
    grid-column: 2 / 3;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
 
}
#menubuttoncenter button {
    border: none;
    font-size: 1.2em;
  /*  color: #333;*/
  background-color: transparent;
}

#menubuttonright {   
    grid-column: 3 / 4;
 border: solid 0px black;  
}

/* Nav Icons*/
#nav-icon1, #nav-icon2  {
  width: 40px;
  height: 25px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: url(herz.png), auto;
}

#nav-icon1 span, #nav-icon2 span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: #999;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1), #nav-icon2 span:nth-child(1) {
  top: 2px;
}

#nav-icon1 span:nth-child(2), #nav-icon2 span:nth-child(2) {
  top: 10px;
}

#nav-icon1 span:nth-child(3), #nav-icon2 span:nth-child(3) {
  top: 18px;
}

/* nav Icons, wenn geklickt*/
#nav-icon1.open span:nth-child(1), #nav-icon2.open span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2), #nav-icon2.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3), #nav-icon2.open span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/* das Aussehen der eingeschobenen menus */
#menuleft, #menuright {
  box-shadow: inset 0 0 2000px rgba(200, 200, 200, .5);
  background-color: rgba(200, 200, 200, 0.8);
  height: 100vh;
  width: 90%;
 /* transform: translate(-350%);*/ 
  transition: transform 1s ease-in-out;
  
}

#menuleft, #menuright {    /*enthält die menu items */
    width: 80%;
    max-width: 500px;
    position: absolute;
 display: flex;
 flex-direction: column;
 justify-content: top;
 align-items: center;
    grid-gap: 25px 10px;
    
    border: solid red 1px;
    border-radius: 10px;
 
    margin-top: 5px;
    
    margin-left: 0px;
}
#menuleft {
    transform: translateX(-500%);
}
#menuright {         
    transform: translateX(-700%);
}    

/*schiebt die Menus von links ein */
#menuleft.menuopen1 {
transform: translateX(0);
}
#menuright.menuopen2 {
transform: translateX(0);
}
/* die Menüpunkte als Buttos */
.navitem {
    width: 80%;
    height: 70px;
    background-color: whitesmoke;
    border: solid 1px red;
    border-radius: 10px;
    font-size: 1.2em;
    color:#333;    
    cursor: pointer;
   /* cursor: url(herz.png), auto;*/
}

/* Hauptcontaier  ändert sich bei jeder Seite*/
.center {              
    grid-column: 1 / 4;
    grid-row: 4 / 5;
    border-radius:15px;
   /* background-color: #eeeeee; */
    place-items: center;
  /*  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;*/
}

/* Footer mit Impressum und Datenschutz */
.footer {
    grid-column: 1 / 4;
    grid-row: 6 / 7;
    border-radius:15px;
    border:1px red solid;
    background-color: lightgrey;
}
.footer  li{
    text-decoration:none;
    width: 150px;
    height: 25px;
    background-color: #eee;
    border: 1px solid lightskyblue;
    border-radius: 5px;
    padding: 5px;
    margin:10px;
    }
.footer p, a {
    font-size: 18px;
    text-decoration: none;
    color:#555;
}

#scrolltop {
    border: solid red 1px;
    border-radius: 5px;
    color: #333;
    hight:20px;
    font-size: 1em;
    float:right;
    margin-right: 30px;
}

/* Herz und popup Popup enthält den close button*/    
  #herz {
  top: 55px;
  width:100%;
  left:0;
  right: 0;
  position: fixed;
  margin:0 auto;
  height: 90%;
  margin-bottom: 5%;
  background-color: #eeeeee;
  z-index: 10;
  overflow: auto; /* Add scrollbar if content exceeds height */
  border-radius: 10px;
  
}
#popup {
  width:100%;
  left:0;
  right: 0;
  position:fixed ;
  margin:0 auto;
  background-color: #eee;
  z-index: 10; 
  border-radius: 10px;
}
#popup {
   /* background-color: #888; */
    display:grid;
    grid-template-columns: 20% 1fr 20% ;
    place-items: center;   
    top: 10px;
    width: 100%;
    height: 40px;
    /* einblenden */
    visibility: hidden; 
    animation: fadeIn 3s;
}

#popup .le {
    grid-column: 1 / 2;
    display: flex;
    height: 20px;
    justify-content: center; 
    align-items: center;  
}
#popup .close {  /* close button*/
    height: 40px; 
    font-size: 2em;
    cursor: pointer;
   /* cursor: url(herz.png), auto; */
    border: none;
    color: #333;
    background-color: transparent;
}
#popup .ce {   /* titel button*/
    grid-column: 2 / 3;
    display: flex;
    height: 25px;
    justify-content: center; 
    align-items: center;
    color: #333;
    background-color: transparent;
 
}
#popup .ri {
    grid-column: 3 / 4;
    display: flex;
    height: 25px;
    justify-content: center; 
    align-items: center;
}
/* Banner im zentrum der Seite */
.banners {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    width: 100%;
    height: auto;
    overflow: auto;
    
}
    

.banners img {
    width: 100%;
    max-width: 800px;
    
}
.banner {
    cursor: pointer;
    cursor: url(herz.png), auto;
    border-radius: 10px;
    margin-bottom: 50px;
    border: solid 1px grey;
    box-shadow: 10px 10px 10px lightgrey;
    box-shadow: 0 0 15px 15px rgba(0, 0, 0, 0.1);
    text-shadow: 6px 6px 6px #619Ed7;
    animation: fadeIn 1s;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(50, 50, 50, 0.6);
  z-index: 0;
}

h1 .center {
    text-align: center;
}
.titelbild {
    width: 100%;
    max-width:800px;
    padding-bottom: 10px;
    border-radius: 10px;   
}
.pixabay {
            margin-left: 40px;
            font-size:14px;
            color: #777;
            
        }
        .pixabay a {
            font-size:14px;
            color:#444;  
        }
        .titelbildklein {
            height: 40px;
            float:left;
            margin-right: 10px;
        }


@media only screen and (min-width: 1200px) {
    body {    
   /* background-color: lightblue;*/
    }
    .container {
        width: 800px;
    }
    #herz, #popup {
        height: 80%;
        width: 700px;
        margin-bottom: 5%;
    }
    #popup { height: 40px;}
    
    
    .banner { max-width: 600px;}
    .header {
        font-size: 1.5em;
    }
    #menuleft, #menuright { width: 500px; }
    #menuright { margin-left: 200px; }
        
   
}