* {
  box-sizing: border-box;
}  

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: local('Poppins'), 
         local('Poppins-Regular'),
         url('./font/poppins.ttf') format('truetype'); /* Semikolon am Ende! */
}

@font-face {
    font-family: 'extenda100';
    font-style: normal;
    font-weight: 400;
    src: local('extenda-100-yotta'),
         url('./font/extenda-100-yotta.ttf') format('truetype'); /* Semikolon am Ende! */
}

@font-face {
    font-family: 'extenda80';
    font-style: normal;
    font-weight: 400;
    src: local('extenda-80-peta'),
         url('./font/extenda-80-peta.ttf') format('truetype'); /* Semikolon am Ende! */
}

@font-face {
    font-family: 'extenda40';
    font-style: normal;
    font-weight: 400;
    src: local('extenda-40-hecto'),
         url('./font/extenda-40-hecto.ttf') format('truetype'); /* Semikolon am Ende! */
}


  html{
  min-width:350px;
  background:rgba(250,250,255,1);
  margin:auto;
  }
  
  body {
  font-family:'poppins';
  font-size:16px;
  margin:auto;
  }
  
  main {  
  margin:auto;
  margin-top:85px; 
  padding:20px; 
  max-width:1200px;
  min-height: calc(100vh - 235px - 150px);
  }  
  
header {     
  position:fixed;
  top:0em;
  left:0em;    
  background:rgba(255,255,255,1);
  z-index:10; 
  border-bottom: 1px solid rgba(45,90,160,1);
  width:100%;
  margin:auto;  
  padding:10px;
  height:85px;		
  }
  
header section{
  display:inline-block;
  height:60px;
}
header section img{
  height:65px;
  }  
header section:last-of-type{
    position: absolute;
    top: 5px;
}
header section a.titel {
     color:rgba(45,90,160,1);
     margin:auto 10px;
     font-size:20px;
     text-align:left;
     text-decoration:none;
     display:inline-block;
     }   
     
.kg{color: color: rgb(50, 50, 50);
    font-size: 15px;
    line-height: 30px;
    position: relative;
    top: 0px;}     
     
  .rot {
    font-family: 'extenda80';
    color: rgb(230, 0, 10);
    display: inline-block;
    transform: rotate(-1deg);
    font-size: 25px;
}

.blau {
    font-family: 'extenda80';
    color: rgb(255, 255, 255);
    background: rgb(45, 90, 160);
    padding: 5px 10px 0px 10px;
    margin: auto 0px;
    display: inline-block;
    transform: rotate(4deg);
    font-size: 25px;
}  

  h1{
     color:rgb(45,90,160);
     font-size:1.5em;
     margin:1em auto 1em 0;
     font-weight:500;
     text-align:center;
     width:100%;
     }

  h2{
     color:rgb(45,90,160);
     font-size:1.5em;
     margin:1em auto 1em 0;
     font-weight:400;
     text-align:center;
     width:100%;
     }
          
    h3{
     color:rgb(45,90,160);
     font-size:1em;
     margin:1em auto 1em 0;
     font-weight:400;
     text-align:center;
     width:100%;
     }
     
     footer {
     background:rgba(255,255,255,1);
     margin:6px auto auto auto;
     padding:10px;
     text-align:left;
     display:block;
     border-top: 1px solid rgba(45,90,160,1);
     }   
     
     footer h2{
     text-align:left;padding:10px;
     }
     
     footer a{
     color:rgba(55,55,55,1);
     text-decoration:none;
     padding:10px;
     display:block;
     }
     
     footer a:hover{
     text-decoration:underline;
     }
     
section.aktuelles{
 margin:auto;
 width:100%;
 display:flex;
 flex-wrap: wrap;
 gap:20px;
 }
 
 section.aktuelles a{
 padding:0px;
 flex-basis: 100%;
 flex-grow: 1;
 flex-shrink: 1;
 text-decoration:none;
 
 }
 
 section.aktuelles a article{
 display:flex;align-items: flex-end;
 align-content: flex-end;padding:0px;
 background-size:100%;
 }
 
 section.aktuelles a:hover article{
 background-size:140%;
 transition: 0.5s; }
 
 section.aktuelles article h2{
 background:rgba(45,90,160,0.9);
 color:rgb(255,255,255);
 width:100%;
 font-size:1.5em;
 text-align:center;
 padding:0.25em;
 height:auto;
 font-weight:700;
 margin:auto auto 0px auto;
 }
 
article{
     background:rgba(255,255,255,0);
     margin: 0px auto 10px auto;
     padding:10px;
     display:block;
     width:100%;
}

article img{
     width:100%;
     margin:auto;
     }

article.termine{
     background:rgba(255,255,255,0);
     padding:0px;
     text-align: center;
     display: block;
     width: 100%;
     }
     
article.termine h2{
     color:rgba(55,55,55,1);
     font-weight:400;
     }
    
article.termine a{
     background:rgba(45,90,160,1);
     margin:0px auto 10px auto;
     padding:20px;
  	 display:block;
  	 text-decoration:none;
  	 border:1px solid rgba(45,90,160,1);
}    

article.termine a p{
     color:rgba(255,255,255,1);
     margin:auto;
     padding:5px;
     font-weight:500;
     font-size:20px;
}    

article.termine a p:first-of-type{
     font-weight:700;
     font-size:25px;
} 





article.termine a:hover{
     background:rgba(255,255,255,1);
}    

article.termine a:hover p{
     color:rgba(45,90,160,1);
}    

.prinz{
    background-size:cover;
    background-position:center center;
    margin:auto;
    height:90vw;
    padding:0px;
    flex-basis:100%;
    display:flex;align-items: flex-end;
    align-content: flex-end;}
    
.prinz section{
    background:rgba(255,255,255,0.9);
    color:rgb(45,90,160);
    width:100%;
    font-size:1.25em;
    text-align:center;
    padding:0.2em;
    height:2.5em;
    font-weight:700;
    }
    
.prinz-index{
    background-size:cover;
    background-position:center center;
    margin:auto;
    height:500px;
    padding:0px;
    flex-basis:100%;
    display:flex;align-items: flex-end;
    align-content: flex-end;
    margin-bottom:5em}
    
    
.prinz-index section{
    background: rgba(255, 255, 255, 0.9);
    color: rgb(45, 90, 160);
    width: 100%;
    font-size: 1.2em;
    text-align: center;
    padding: 0.2em;
    height: 5.5em;
    font-weight: 700;
    }
    
.tolli-name{
    font-family:'extenda80';    
    display:block;
    color:rgb(230,0,10);
    font-size:35px;
    }
    
    nav.topmenu { 
    height: auto; 
    max-height:0; 
    overflow: hidden; 
    transition: all 0.5s;
    background:rgba(45,90,160,1);
    color:rgb(45,90,160);
    list-style:none;
    margin:7px auto auto auto;
    width:100%
    }
    
nav.topmenu ul{ 
    list-style:none;
    margin:auto;
    padding:0px;
    
    }
    
nav.topmenu ul li{ 
    margin:auto;
    padding:0px;
    }
    
nav.topmenu ul li a{ 
    color:rgba(255,255,255,1);
    margin:auto;
    padding:10px;
    text-decoration:none;
    font-size:25px;
    display:block;
    width:100%;
    border-bottom:rgba(255,255,255,1);
    }   
        
.social{
    margin:10px;
    padding:10px;   
    }
    
.social a{ 
    height:50px; 
    width:50px; 
    display:inline-block; 
    margin: 0px 5px;
    border-radius:40px;
    background:rgb(255,255,255);
    }
        
.social a img{
    height:40px; 
    margin:5px; 
    width:auto; 
    filter:brightness(0%);
    }
    
    #hamburg:checked + .hamburg  + nav.topmenu { 
    max-height: 600px; 
    }
    
    label.hamburg { 
    
    background: rgb(255,255,255); width: 50px; height: 50px; 
    position: absolute; 
    top:17px;
    right:12px;
    border-radius: 4px; 
    }
    
    input#hamburg {display:none}
    
    .line { 
    position: absolute; 
    left:5px;
    height: 4px; width: 40px; 
    background: rgb(45,90,160); border-radius: 0px;
    display: block; 
    transition: 0.5s; 
    transform-origin: center; 
    }
    
    .line:nth-child(1) { top: 12px; }
    .line:nth-child(2) { top: 24px; }
    .line:nth-child(3) { top: 36px; }
    
    #hamburg:checked + .hamburg .line:nth-child(1){
    transform: translateY(12px) rotate(-45deg);
    }
    
    #hamburg:checked + .hamburg .line:nth-child(2){
    opacity:0;
    }
    
    #hamburg:checked + .hamburg .line:nth-child(3){
    transform: translateY(-12px) rotate(45deg);
    }
    ul.internelinks {
    margin:auto; 
    list-style:none;
    text-align:center;
    width:100%;   
    }
    
    ul.internelinks li{
    width:auto;
    margin:auto;
    display:inline-block;    
    }
    
    ul.internelinks li a{
    border:1px solid rgb(45,90,160);
    border-radius:0px;
    color:rgb(255,255,255);
    background:rgb(45,90,160);  
    padding:10px;
    margin:10px;
    display:inline-block;
    text-decoration:none;
    }
        
    ul.internelinks li a:hover{
    color:rgb(45,90,160);
    background:rgb(255,255,255);        
    }     
    
    .halbeseite{
    display:block;
    width:100%;
    }  
    
    
    /* Checkbox verstecken */
#hamburg {
    display: none;
}

/* Blur-Overlay über der Seite */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(45,90,160, 0.5);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}
nav.topmenu {
    height: 100%;
    max-height: none;
    overflow: hidden;
    transition: all 0.5s;
    background: rgba(255, 255, 255, 1);
    color: rgb(45,90,160);
    list-style: none;
    margin: auto auto auto auto;
    width: auto;
    }
/* Off-Canvas Menü von rechts einschieben */
.topmenu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background: #ffffff;
    z-index: 999;
    padding: 80px 0px 30px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left:1px solid rgb(45,90,160);
}

nac.topmenu ul{
    padding:0px;
    }
nav.topmenu ul li a {
    color: rgba(45,90,160, 1);
    margin: auto;
    padding: 10px 30px;
    text-decoration: none;
    font-size: 25px;
    display: block;
    width: 100%;
    border-bottom: rgba(255, 255, 255, 1);
    }
    
nav.topmenu ul li a:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(45,90,160, 1);
    }
    
/* Hamburger-Button über allem halten */
.hamburg {
    position: relative;
    z-index: 1000;
    cursor: pointer;
}

/* Status: Menü geöffnet */
#hamburg:checked ~ .menu-overlay {
    opacity: 1;
    visibility: visible;
}

#hamburg:checked ~ .topmenu {
    transform: translateX(0);
}

 @media (min-width: 700px) {
 
 header {     
 height:140px;		
 padding:20px;
 }
 
 header section { 
 height:100px;
 }
 
  header section:last-of-type { 
    position: absolute;
    top: 20px;
 }
 
 header section img{
 height:100px;
 }
 
 header section a.titel {
        height: 100px;
        font-size: 30px;
        position: relative;
        top: 0px;
 }  
  
 .kg {
    color: rgb(50, 50, 50);
    font-size: 20px;
    line-height: 50px;
    position: relative;
    top: 0px;
} 
  
  .rot {
    font-family: 'extenda80';
    color: rgb(230, 0, 10);
    display: inline-block;
    transform: rotate(-1deg);
    font-size: 40px;
}

.blau {
    font-family: 'extenda80';
    color: rgb(255, 255, 255);
    background: rgb(45, 90, 160);
    padding: 5px 20px 0px 20px;
    margin: auto 0px;
    display: inline-block;
    transform: rotate(4deg);
    font-size: 40px;
}
label.hamburg {     
 width: 80px; height: 80px;
 top:30px;
 right:20px;
 }

.line { 
    left:5px;
    height: 8px; width: 70px;     
    }
    .line:nth-child(1) { top: 20px; }
    .line:nth-child(2) { top: 40px; }
    .line:nth-child(3) { top: 60px; }
    
#hamburg:checked + .hamburg .line:nth-child(1){
    transform: translateY(20px) rotate(-45deg);
    }
    
    #hamburg:checked + .hamburg .line:nth-child(2){
    opacity:0;
    }
    
    #hamburg:checked + .hamburg .line:nth-child(3){
    transform: translateY(-20px) rotate(45deg);
    }
    
 nav.topmenu { 
 margin:0px auto auto auto;
 }
 main {  
 margin-top:140px; 
 display:flex;
 flex-wrap:wrap;
 gap:30px 30px}
 
 section.aktuelles a{
 flex-basis: 40%;
 }
 
article.termine{
     display: flex;
     width: 100%;
     flex-basis: 100%;
     gap: 30px 30px;
     }
         
article.termine a{
     flex:1 1 0;
     background:rgba(45,90,160,1);
     margin:0px auto 10px auto;
     padding:20px;
     
}    
   
article.termine a p{
     color:rgba(255,255,255,1);
}    
 
 
 
 .prinz{width:100%;
 height:300px;
 flex-basis:25%;
 }
 
 .prinz-index{
 height:600px;
 flex-basis:100%;
 display:flex-item;
 margin-bottom:0px;
 }
 
 .tolli-name {
    font-size: 40px;
}

    .halbeseite{
    display:inline-block;
    width:47%;
    }  
 }
