body{

    background:black;
    color:white;
    font-family:Arial;
    margin:0;
    
    }

    html, body{
        touch-action: pan-y;
        overscroll-behavior-x: none;
        }

    @font-face {
        font-family: 'Erasdust';
        src: url('fonts/erasdust.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    }
    
    header{
        /* height: 100px; */
        display: flex;
        flex-direction: column;   /* wichtig! */
        align-items: center;      /* horizontal zentriert */
        justify-content: center;  /* vertikal zentriert */
        text-align: center;
        letter-spacing: 5px;
        border-bottom: 1px solid #666;
        padding-bottom: 10px;
     /*   margin-bottom: 20px; */
    }

    header img{
        width: 80%;
        max-width: 700px;
    }
    
    nav{
    
    text-align:center;
    padding:15px;
    border-bottom: 1px solid #666;
    padding-bottom: 10px;
    margin-bottom: 20px;
    
    }
    
    nav a{ 
        color:white;
        margin:20px;
        text-decoration:none;
        font-family: 'Erasdust', Arial, sans-serif;
        letter-spacing: 2px;
        font-size: 20px;
    }

    nav a.active{
        font-size:22px;   /* 2px größer */
        color: crimson;
    }

    .pagetitle{

       /* text-align:center; */
        font-size:16px;
        margin:20px auto;
        letter-spacing:2px;
     /*   border-bottom:1px solid #666; */
        width:1200px;
        max-width: 80%;
     /*   padding-bottom:10px; */
        
        }
    
    .content{
    
    max-width:1300px;
    margin:auto;
    
    }


    .indextext{
        max-width: 800px;
        margin: auto;
    }
    
    .grid{
    
    display:grid;
    grid-template-columns:repeat(auto-fill,400px);
    gap:20px;
    justify-content:center;
    
    }

    video{
        width: 100%;
        margin-bottom: 30px;
    }
    
    .tile{
    /* Kacheln */
    width:400px;
    height:400px;
    position:relative;
    overflow:hidden;
    
    }


    .tileviews{
        /*Aufrufe auf Kacheln */
        display:block;
        font-size:12px;
        color:#bbb;
        margin-top: -15px;
        text-align: right;
        margin-right: 20px;
        
    }
    
    .tile img{
    /* Kachel Bild */
    width:100%;
    height:100%;
    object-fit:cover;
    
    }

.tile.video::after{

    content:"▶";
    
    position:absolute;
    
    top:50%;
    left:50%;
    
    transform:translate(-50%,-50%);
    
    font-size:100px;
    
    color:rgba(255,255,255,0.5);
    
    pointer-events:none;
    
    text-shadow:0 0 20px rgba(0,0,0,0.8);
    
    }    

.catband1{

    position:absolute;
    top:25px;
    right:-30px;
    
    transform:rotate(45deg);
    
    background:rgba(0,0,0,0.65);
    color:white;
    
    padding:6px 40px;
    font-size:12px;
    letter-spacing:1px;
    
    text-transform:uppercase;
    
    }

.catband{

    position:absolute;
    top:30px;
    right:-37px;
    
    transform:rotate(45deg);
    
    background:rgba(0,0,0,0.65);
    color:white;
    
    width:160px;
    text-align:center;
    
    padding:6px 0;
    
    font-size:12px;
    letter-spacing:1px;
    text-transform:uppercase;
    
    }

    .catband.bild{
        background:rgba(120,120,120,0.7);
        }
        
        .catband.video{
        background:rgba(150,0,0,0.7);
        }
        
        .catband.expo{
        background:rgba(0,80,120,0.7);
        }
    
    .title{
    
    position:absolute;
    bottom:0;
    background:rgba(0,0,0,0.6);
    width:100%;
    padding:10px;
    color: white;
    }

    .pagetitle{

        display:flex;
        justify-content:space-between;
        align-items:center;
        
        width:1200px;
        max-width:90%;
        margin:20px auto;
        
        font-size:18px;
        letter-spacing:2px;
        
        }
        
    .sort a{
        
        color:#bbb;
        text-decoration:none;
        margin-left:10px;
        
        }
        
        .sort a:hover{
        
        color:white;
        
        }

    .sort a.active{
        color:white;
        font-weight:bold;
        }

    
    .post{
    
    max-width:900px;
    margin:auto;
    
    }

    .views{
        /* Anzeige des Besucherzählers */
        margin-top:20px;
        font-size:14px;
        color:#888;
        text-align:right;
        
    }

    /* Navigation in der Detailansicht (post) vor zurück */
    
    .nav-prev,
    .nav-next{
    
    position:fixed;
    top:50%;
    transform:translateY(-50%);
    font-size:60px;
    color:white;
    text-decoration:none;
    background:rgba(0,0,0,0.3);
    padding:10px 20px;
    border-radius:4px;
    z-index:1000;
    transition:background 0.3s;
    
    }
    
    .nav-prev{
    left:10px;
    }
    
    .nav-next{
    right:10px;
    }
    
    .nav-prev:hover,
    .nav-next:hover{
    background:rgba(0,0,0,0.6);
    }


    .text a{
        color:#c8daf1;
        display:block;
        margin-top:20px;
        text-decoration:none;
        letter-spacing: 2px;
        /*font-family: 'Erasdust', Arial, sans-serif;
        font-size: 20px; */
    }


    .text a[target="_blank"]::after{

        content:" ↗";
        font-size:0.8em;
        
        }

    .detail{
    
   /* width:100%; */

    display:block;
    margin:auto;
    
    max-width:100%;
    max-height:calc(100vh - 120px);
    
    object-fit:contain;
    }
	
	.imgbio{
		margin-left:20px;
	}
    
    footer{
    
    text-align:center;
    padding:30px;
    border-top: 1px solid #666;
    margin-top: 30px;
    
    }

    footer a{ 
        color:white;
        margin:20px;
        text-decoration:none;
        font-family: 'Erasdust', Arial, sans-serif;
        letter-spacing: 2px;
        font-size: 20px;
    }

    footer .info{
        color:rgb(142, 165, 77);
        font-size:0.8em;
        margin-top: 20px;
        margin-bottom: 20px;
    }