 

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}
 
:root {
    --body-background: #000;
}



a {
    text-decoration: none;
    color: #000;
    -webkit-tap-highlight-color: transparent;
}


ul {
    list-style: none;
}

h1 h2 h3 {
    font-weight: 100;
}

body {
    font-family: 'robotolight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
    line-height: 1.0;
    height: 100vh;
    background-color: var(--body-background);
}

.lazy-img {
    filter: blur(20px);
    z-index: -1;
}

#container {    

    width: 100%;
    height: 100%;
    
    display: grid;
    grid-template-columns: 1fr 320px 1fr;
    grid-template-areas: 
    "main main main"    
    "footer footer footer"
    ;
  
}


    header{ 
        position: fixed;
        width: 100%;
        height: 60px;       
        z-index:1000;
        background-color: var(--body-background);
        border-bottom: 1px solid #5e5e5e;
    }


    #banner {
        display: flex;
        justify-content: center; 
        margin: auto;
        padding-top: 10px;
        color: #fff;
        position: relative;
        background-color: var(--body-background);
        z-index: 999;
    }


        #echoseite {                
            display: inline-block;     
            position: absolute;  
            left: 0px;   
        }

            #echoseite h1{
                    font-size: 18px;
                    margin: 12px 0 0 15px;
                    color: #ffffff;
                    font-family: 'rubiklight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
                    will-change: auto;
                    backface-visibility: hidden;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale;
            }

        #logo {
            display: inline-block;
            height: 40px;
            width: 40px;
            border-radius: 50px;
            background-color: #fff;
            z-index: 1000;
            }
           
            #logo img {
                    margin-left: 0px;
                    margin-right: auto;
                    display: block;
                    height: 40px;
                    border-radius: 50px;
                    image-rendering: -webkit-optimize-contrast;
                    image-rendering: crisp-edges;
            }

       

        #push{
            text-align: center;
            z-index: 999;
            
        }

            #push a {
                display: inline-block;
                background-color: var(--body-background);
                height: 25px;
                text-align: center;
                z-index: 999;
                font-size: 14px;
                color: #4f4f4f;
                letter-spacing: 0.3px;
                line-height: 1.3;
                font-weight: bold;
                position: absolute;
                right: 100px;
            }

            #push img {
                display: block;
                height: 40px;
                image-rendering: -webkit-optimize-contrast;
                image-rendering: crisp-edges;
                will-change: auto;
                backface-visibility: hidden;
            }
        

        #profile {
           
            text-align: center;
            z-index: 1000;
           
        }

        #profile a {
            display: inline-block;
            height: 24px;
            text-align: center;
            z-index: 1000;
            border-radius: 30px;
            margin: 6px 10px 0 0;
            padding: 2px 20px 0px 20px;
            font-size: 13px;
            color: #fff;
            letter-spacing: 0.3px;
            line-height: 1.3;
            position: absolute;
            right: 0px;
            font-family: 'rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
            border: 2px solid #fff;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            
        }
           
            
    #hauptnav {
        position:fixed;
        top: 55px;
        padding-top: 15px;
        height: 105px;
        width:100%;
        background-color: var(--body-background);
        transition: transform 0.3s ease;
               
        }

        /*lässt die Navbar verschwinden*/
        .hidden {
            transform: translateY(-100%);
          }

       
            #nav_list {
                display: block;
                width: 100%;
                margin: 0 auto;

                /* zuständig für das centern */
            }


            
            #hauptnav ul li {
                text-align: center;  
                font-family: 'rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
            }


                #ul_top {
                    display: grid;
                    grid-template-columns: 3fr 5fr;
                    grid-gap: 5px;
                }

                    #li_1 {
                      margin-left: 10px;     
                      color: #fff;                    
                    }

                    #li_2 {
                        margin-right: 10px;
                        
                    }

                #ul_bottom {
                    display: grid;
                    grid-template-columns: 5fr 4fr ; 
                    grid-gap: 5px;
                    margin-top: 10px;
                }


                        #li_3 {
                            margin-left: 10px;
                            
                        }                
                        
                        #li_4 {
                            margin-right: 10px;
                            
                        }



        #hauptnav ul a {
                
            font-size: 11px;
            color: #fff;
            
            letter-spacing: 0.3px;
                                       
            display: block;
             
            height: 30px;   

            border-radius: 50px;
            

            background-color: #2f2f2f;
            will-change: auto;
            backface-visibility: hidden;
        }

        #hauptnav ul a:hover { 
            
        }


        .selected {
            background-color: #227fff !important;
            color: #fff !important;
        }

        .selected > a:visited {
            color:#fff;
        }

    

            #hauptnav ul li div {
                
                padding-top: 9px;
                
            }

    main {
        grid-area: main;
        margin-top: 145px;   
        padding-bottom: 100px;
        animation: fadeIn 0.5s ease-in;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }



        main ul li {  
            padding-top: 20px;
            border-bottom: 1px solid #5e5e5e;
            border-radius: 0px;
            margin-left: 0px;
            margin-right: 0px;
            margin-top: 10px;
            padding-bottom: 10px;
        }

        main ul li a {
            display: grid;
            grid-template-columns: 65px 1fr 60%; 
            grid-template-areas: 
            "logo_user sender sender"
            "logo_user when when"          
            "betreff betreff betreff"
            "vbs vbs vbs"
            "pdfvbs pdfvbs pdfvbs"
           ;
        }

        .logo_user {
            grid-area: logo_user;
            height: 45px;
            width: 45px;
            border-radius: 50%;
            /*border: 2px solid #ddd;*/
            margin-left: 10px;
            object-fit: cover;
            
        }

        main ul li a h3 {
            grid-area: sender;
            font-size: 17px;
            margin-top: 5px;
            margin-bottom: -10px;
            margin-bottom: 0px;
            max-width: 20ch;
            color: #fff;
            
        }

        .pictures {
            grid-area: vbs;
            margin-top: 5px;
            margin-right: 10px;
            padding-top: 5px;
            margin-left: 65px;
        }

        .pictures img {
            height: auto;
            width: 100%;
            margin-top:5px;
            
            object-fit: cover;
            position: relative;
            z-index:-1;
            border: 1px solid rgb(70, 70, 70);
            border-radius: 10px;
            
        }

        .pdf_vbs {
            grid-area: pdfvbs;
            margin-top: 5px;
            margin-right: 10px;
            margin-left: 65px;
            padding-top: 5px;
            
        }

        .pdf_vbs img {
            height: auto; /* PDF-Images häufig Bilder von A4-Format. Deshalb auch ratio im Verhältnis Breite Bilrschirm-Höhe VB entsprechedn anpassen*/
            width: 100%;
            margin-top:5px;
            border-radius: 0px;
            object-fit: cover;
            
            position: relative;
            z-index:-1;
           
        }


        .when {
            grid-area: when;
            display: grid;
            grid-template-columns: 70px 5px 1fr;
            grid-template-areas: "date . time";
            margin-top: 10px;

        }
        .date{
            grid-area: date;  
            font-size: 12px;
            color: #bbb;
            letter-spacing: 0.1px;
            font-family: "rubiklight", -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
        }

        .time{
            grid-area: time;
            font-size: 12px;
            color: #bbb;
            letter-spacing: 0.1px;
            font-family: "rubiklight", -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
        }

        .betreff{
            grid-area: betreff;
            font-size: 15px;
            color: #fff;
            padding-right: 5px;
            margin: 10px 10px 0 50px;           
            line-height: 1.15;
            letter-spacing: 0.4px;
            padding: 5px 5px 5px 15px;            
        }

        #ad {
            display: none;
        }


        .videoprofil {
            
            display: grid;
            margin: 20px 10px 0 10px;

            grid-template-columns: 65px 1fr 60%; 
            grid-template-areas: 
            "logo_usr usr usr"
            "logo_usr usr usr"          
        ;
        
        height: 60px;
    }


   .usr {
        grid-area: usr;
        display: grid;
        font-size: 15px;
        font-family: 'rubiklight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
        
        margin-bottom: 0px;
      
        place-items: center;
        color: #fff;
        background-color: #484848;
        border-radius: 50px;

        margin-top: 0px;
        height: 50px;
        margin-left: 10px;
        padding: 10px;

    }

    .logo_usr {
        grid-area: logo_usr;
        width: 50px;
        height: 50px;
        border-radius: 50px;
    }


 
    video {
        width:100%;
        height: auto;
        padding: 0 10px 10px 10px;
        margin-top: 15px;
    }


        footer {
            grid-area: footer;
            margin-top: 50px;
            padding-bottom: 50px;
            background-color: #e4e4e4;
            padding-top: 20px;
        }

        footer h2 {
            letter-spacing: 1px;
        }

        footer a{
            display: block;
            padding: 20px;
            margin: 0 20px;
            font-size: 11px;

            border-bottom: 1px solid #c9c9c9;
            font-family: 'rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
        }

        footer p {
            font-size: 12px;
            margin: 10px;
        }

        #credits{
            margin: 15px 0px 0 30px;
            height: 100px;
            width: 165px;
            display: flex;
            justify-content: space-between;
        }

          

            #credits a {
                display: inline;
                margin:0;
                padding:0px;
                border-bottom: 0px;
                font-size:15px;
                text-decoration: underline;
            }
 
            #credits p {
                font-size: 15px;
                margin: 0px;
            } 

    @media screen and (min-width: 375px) {


        #push a {
            right: 110px;
          }

        #profile a {
            padding: 2px 25px 0px 25px;
            font-family: 'rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
        }

        #hauptnav ul a {        
            font-size: 13px;
        }

        main ul li a h3 {
            grid-area: sender;
            font-size: 16px;
            margin-right:20px;
            margin-bottom: 0px;
            max-width: 30ch;
            padding-top: 0px;
            /*letter-spacing: 0.2px;*/
            font-family: 'rubiklight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
        }

        .pdf_vbs img {
            height: auto;
            width: 100%;
            margin-top:5px;
            border-radius: 0px;
            object-fit: cover;
        }




    }

    @media screen and (min-width: 467px) {

        .pictures img {
            height: auto;
            width: 100%;
            margin-top:5px;
            border-radius: 0px;
            object-fit: cover;
        }

        .pdf_vbs img {
            height: auto;
            width: 100%;
            margin-top:5px;
            border-radius: 0px;
            object-fit: cover;
        }

    }




    @media screen and (min-width: 510px) {

        #container {    

            width: 100%;
            height: 100%;
            
            display: grid;
            grid-template-columns: 1fr 500px 1fr;
            grid-template-areas: 
            ". main ."    
            "footer footer footer"
            ;
        }

        main {
            margin-top: 165px;
        }

    }

    @media screen and (min-width: 630px) {

    #banner {
        width: 500px;
    }

    #echoseite h1 {
        font-size: 18px;
        margin: 10px 0 0 20px;}


    #push a{
       
        right: 120px;
       
    }

    #profile a {
        position: absolute;
        right: 0;
        font-family: 'rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
    }



        #hauptnav ul a {        
            font-size: 14px;
        }

      
        #nav_list {
            width: 500px;
        }

        .pictures img {
           
            width: 100%;
            margin-top:5px;
            border-radius: 0px;
            object-fit: cover;
            
        }

        .pdf_vbs img {
            margin-top:5px;
            border-radius: 0px;
            object-fit: cover;
          
        }

    }




    @media screen and (min-width: 1024px) {

        #container {    

            width: 100%;
            height: 100%;
            
            display: grid;
            grid-template-columns: 1fr 600px 1fr;
            grid-template-areas: 
            ". main . "    
            
            ;
        }
     
        main {
            max-width: 500px;
            margin-left: 50px;
        }

       
        .pictures {
            grid-area: vbs;
            margin-top: 5px;           
            padding-top: 5px;
            
        }

        .pictures img {
            height: auto;
            width: 100%;
            margin-top:5px;
            
            object-fit: cover;
        }


        .pdf_vbs {
            grid-area: pdfvbs;
            margin-top: 5px;
            margin-right: 0px;
            
            padding-top: 5px;
            
        }

        .pdf_vbs img {
            border-radius: 0px;
            object-fit: cover;
        }



        footer {
            position: fixed;
            bottom: 0;
            height: 120px;
            display: inline-block;
            width: 20%;
            background-color: var(--body-background);
            padding-bottom: 40px;
            border-top: none;
            color: #aaaaaa;
            margin-bottom: 30px;
            margin-left: 20px;
        }

        footer a {
            display: inline-block;
            padding: 0;
            margin: 0;
           
            border: none;
            margin-left: 5px;
            padding-top: 5px;
            color: #777;
            
        }

        footer a  h2 {
            font-size: 15px;
            letter-spacing: 0;
            font-weight: 400;     
            color: #777;
        }
    
        footer a:hover {
            text-decoration: underline;
        }

        footer a p{
            display: none;
        }


        #credits{
            margin: 15px 0px 50px 0px;
        }
       
}

    



      
    