 
 
* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}
 
a {
    text-decoration: none;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}


ul {
    list-style: none;
}

h1 h2 h3 {
    font-weight: 100;
}

pre {
    font-family: 'rubikregular';
    white-space: pre-wrap;
  }

body {
    font-family: Arial, Helvetica, sans-serif;
    font-family: 'rubikregular';
    line-height: 1.0;
    height: 100vh;
    background-color: #000;
}

#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;
    padding-top: 15px;
    background-color: #000;
}


        #logo {
            position:fixed;
            
            width: 100%;   
            background-color: #000;
            height: 40px;
            padding-top: 3px;
            
        }
        
            #logo img {
                margin:auto;
                display: block;  
                height: 35px;
               
            }

            #hauptnav {
                position: fixed;
                display: inline-block;
                
                font-size: 40px;
                background-color: #000; 
                width: 100%;
                
                z-index: 100;
            }
    
                #hauptnav a {
                   display: inline-block;
                   margin-left: 0px; 
                   font-size: 40px;
                   height: 40px;
                   width: 100%;
                   padding-top: 3px;
                   padding-left: 20px; 
                }
    

    main {
        grid-area: main;
        margin-top: 0;   
        padding-bottom: 100px;
    }



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

        main ul li a {
            display: grid;
            grid-template-columns: 80px 80px 1fr; 
            grid-template-areas: 
            "when when when"          
            "betreff betreff betreff"
            "vbs vbs vbs"
            "pdfs pdfs pdfs"
           ;
        }

        main ul p {
            margin-left: 20px;
        }


        .user_portrait {
            margin-top: 100px;
        }

        .user_portrait h2 {
            font-size: 26px;
            margin: 30px 0 30px 0;
            padding: 10px;
            text-align: center;
            font-family: 'rubiklight';
            color: #fff;
        }


        .logo_user_portrait {
            height: 250px;
            width: 250px;
            display: block;
            margin: auto;
            border-radius: 50%;
            object-fit: cover;
        }


        address {
            width: 100%;
            font-size: 14px;
            font-style: normal;
            color: #fff;
            line-height: 24px;
            margin-top:20px;
            padding-top: 10px;
            padding-left: 10px;
            padding-right: 10px;;
            padding-bottom: 20px;
            border-top: 1px solid #5e5e5e;
        }

        address h3 {
            color: #5e5e5e;
            font-size: 20px;
            letter-spacing: 0.5px;
            margin-bottom: 10px;
        }

        address p {
            color: #fff;
        }

        address a {
            display: block;
            padding-top: 20px;
            text-decoration: underline;
           
            border: 1px solid #222;
            border-radius: 50px;
            margin-top: 10px;
            margin-bottom: 10px;
            padding: 6px;
            text-align: center;
            color: #fff;
            background-color: #000;
        }

        address a:hover {
            background-color: #000000;
        }

        .phone {
            padding-bottom: 20px;
        }

        .phone a {
            display: block;
            padding-top: 20px;
            text-decoration: underline;
            background-color: #484848;
            color: #fff;
            border: 1px solid #222;
            border-radius: 50px;
            margin-top: 10px;
            margin-bottom: 10px;
            margin-left: 10px;
            margin-right: 10px;
            padding: 10px;
            text-align: center;
            font-size: 14px;
        }
   

        .oeffnungszeiten {
            width: 100%;
            font-size: 14px;
            color: #fff;
            line-height: 24px;
            margin-top:20px;
            padding: 0 10px 20px 10px;
            
        }

        .oeffnungszeiten h3 {
            color: #5e5e5e;  
            font-size: 20px;
            letter-spacing: 0.5px;
            margin-bottom: 10px;
        }

            

        .absatz {
            width: 100%;
            font-size: 15px;
            color: #fff;
            line-height: 24px;
            margin-top:20px;
            padding: 20px 10px 20px 10px;
            border-bottom: 1px solid #5e5e5e;
            border-top: 1px solid #5e5e5e;
        }


        ul h3 {
            color: #fff;  
            font-size: 16px;
            letter-spacing: 0.5px;
            margin: 30px 0 30px 0;
            padding: 10px;
        }

        .pdf {
            width: 100%;
            margin-top: 15px;
            margin-right: 10px;
            margin-left: 10px;
            padding-top: 5px;
            border-bottom: 1px solid #d7d7d7;
        }

        .pdf h3 {
            color: #222;
            font-size: 16px;
            letter-spacing: 0.5px;
            margin-top: 10px;
            
        }

        .pdf img {
            width: 95%;
            margin-top: 10px;
            margin-bottom: 10px;
        }


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

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


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

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


        .when {
            grid-area: when;
            display: grid;
            grid-template-columns: 80px 10px 1fr;
            grid-template-areas: "date . time";
            padding-left: 10px;
        }

        .date{
            grid-area: date;  
            font-size: 14px;
            color: #7d7d7d;
            letter-spacing: 0.1px;
        }

        .time{
            grid-area: time;
            font-size: 14px;
            color: #7d7d7d;
            letter-spacing: 0.1px;
        }

        .betreff{
            grid-area: betreff;
            font-size: 20px;
            color: #fff;
            padding-right: 5px;
            margin: 10px 10px 0 10px;           
            max-width: 30ch;
            line-height: 1.15;
            letter-spacing: 0.0px;
            padding: 5px 0 5px 10px;
            border-bottom: 1px solid #d7d7d7;
            border-top: 1px solid #d7d7d7;
        }

        #ad {
            display: none;
        }

    


        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;
            color: #000;
            border-bottom: 1px solid #c9c9c9;
            
        }

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

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


        #profile a {
            padding: 3px 50px 0px 50px;
        }

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


        main ul li a {
            display: grid;
            grid-template-columns: 80px 80px 1fr; 
            grid-template-areas: 
            "when when when"          
            "betreff betreff betreff"
            "vbs vbs vbs"
            "pdfs pdfs pdfs"
           ;
        }


        main ul li a h3 {
            grid-area: sender;
            font-size: 15px;
            margin-right:20px;
            margin-bottom: 0px;
            max-width: 30ch;
            
        }


        .betreff{
            grid-area: betreff;
            font-size: 18px;
            margin-left:0;
            margin-right:20px;
            max-width: 100%;
            color: #fff;
            padding: 5px 0 5px 10px;
            border-bottom: 1px solid #5e5e5e;
            border-top: 1px solid #5e5e5e;
        }

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

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

    }

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

        
        main ul li a {
            display: grid;
            grid-template-columns: 80px 80px 1fr; 
            grid-template-areas: 
            "when when when"          
            "betreff betreff betreff"
            "vbs vbs vbs"
            "pdfs pdfs pdfs"
           ;
        }



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

        .pictures img {
            height: 250px;
            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"
            ;
        }

       
        #logo {
            heighT: 45px;
        }

            #logo img {
                height: 35px;
                margin-top: 5px;
            }

        main {
            margin-top: 0px;
        }

    }

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

  
        #logo img {

            margin-left: 80px;
    }


    #profile a {
        position: absolute;
        right: 70px;
    }


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

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

        #nav_list {
            width: 75%;
        }

        .pictures img {
            height: 300px;
            width: 100%;
            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;
        }

       
        main ul li a {
            display: grid;
            grid-template-columns: 80px 80px 1fr; 
            grid-template-areas: 
            "when when when"          
            "betreff betreff betreff"
            "vbs vbs vbs"
            "pdfs pdfs pdfs"
           ;
        
        }


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

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


        footer {
            position: fixed;
            bottom: 0;
            height: 120px;
            display: inline-block;
            width: 20%;
            background-color: #000;
            padding-bottom: 40px;
            border-top: none;
            color: #aaaaaa;
            margin-bottom: 10px;
            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;
        }
       
    }

    



      
    