

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

a:visited {
color: #fff;
} 

ul {
    list-style: none;
}

h1 h2 h3 {
    font-weight: 100;
}

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

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

#container {    

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

    overflow-y: scroll;
    scroll-behavior: smooth;
   
}


#header{ 
    position: fixed;

    width: 100%;
    height: 60px;
    padding-top: 15px;
    z-index: 100;
    background-color: #000;
}


        #logo {
            position:fixed;
            
            width: 100%;   
            background-color: #fff;
            height: 45px;
            padding-top: 3px;
            box-shadow: 0px 1px 1px #e9e9e9;
            
        }
        
            #logo img {
                
                display: block;  
                height: 35px;
                margin-left: 50px;
               
            }
      
  
        #hauptnav {
            position: fixed;
            display: inline-block;
            
            font-size: 40px;
            background-color: #000; 
            width: 100%;
            
            z-index: 100;
        }

            #hauptnav a {
               display: inline-block;
               margin-left: 5px; 
               font-size: 40px;
               height: 45px;
               width: 100%;
               padding-top: 1px;
               padding-left: 20px; 
            }


        
    main {
        grid-area: main;
        margin: 50px 10px 0 0px;
        display: grid;
            
    }


    #profiles_h2 {
        font-size: 15px;
        color: #7d7d7d;
        padding: 0 10px 20px 10px;
        margin: 0 40px 0 25px;
        
    }

    #auswahl {
        position: fixed;
        top: 25vh;
        font-size: 15px;
        margin-top: 25px;
        margin-bottom: 30px;
        background: #000;
        z-index: 10;           
        padding: 20px 10px 0 0;
        text-align: center; /* Zentriert den Inhalt */
    }
    
    #auswahl a {
        font-size: 16px;
        color: #fff;
        font-weight: bold;
        letter-spacing: 0.5px;
        padding: 10px;
        margin: 0; 
        display: grid;
        grid-template-columns: 1fr auto; 
        align-items: center;
        justify-content: space-between; 
        text-decoration: none;
        border-top: 1px solid #ccc;
        box-shadow: 0 1px 0px #ccc;
    }
    
    #auswahl p {
        margin: 2px 0; /* Abstand zwischen den Absätzen im Link */
    }
    
    #auswahl a.active {
        box-shadow: 0 4px 0 0 #000;
    }
    
    .link_beschreibung {
        text-align: center;
        padding: 2px 0 0 20px;
        font-family: 'rubiklight';
    }
    
    .link_pfeil {
        font-size: 16px;
        color: #4f4f4f;
        padding: 10px;
        /*border: 1px solid black; */
        border-radius: 50%; 
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;

    
    }


        .logo_user {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin:auto;
            margin-top: 10px;
        }
   
        
        #gewerbe h2 {
                font-size: 16px;
                margin: 20px 0 20px 5px;
                color: #7b7b7b;
                font-family: rubiklight;
            }

            #gewerbe ul {
                padding: 5px;
                display: grid;
                /*https://www.youtube.com/watch?v=0xMQfnTU6oo&t=1168s CSS GRID Crash Course Brad Traversy 22:00 min*/
                grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
                grid-gap: 10px;
                border-bottom: 1px solid #d7d7d7;
                padding-bottom: 30px;
            }

                #gewerbe ul li {
                    border-radius: 10px;
                    padding: 10px 20px 10px 0px;
                   
                    margin-left: auto;
                    margin-right: auto;                   
                    display: grid;
                    grid-template-columns: 100px 1fr;
                    grid-template-areas:
                    "imguser gewerbedata"
                    "imguser gewerbedata"; 
                }


                .logouser {
                    grid-area: logouser;
                }

              

                .gewerbedata {
                    grid-area: gewerbedata;
                    overflow: hidden;
                }


                #gewerbe h3 {
                    /*https://www.w3schools.com/cssref/css3_pr_text-overflow.php
                    white-space: nowrap;*/
                    overflow: hidden;
                    text-overflow: "...";
                    margin-bottom: 0px;
                    margin-top: 0px;
                    line-height: 1.2;
                    font-size: 16px;
                    font-family: 'rubiklight';
                    color: #fff;
                    padding: 0 0 5px 0px;
                }

                #gewerbe p {
                    font-size: 13px;
                    color: #808080;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: "...";
                    height: 15px;/*muss rein, sonst wird text, etwa beim "g" unten abgeschnitten, wegen overflow hidden. Also einfach Zeile höher...*/
                }

        
            #vereine h2 {
                font-size: 16px;
                margin: 20px 0 20px 5px;
                color: #7b7b7b;
                font-family: rubiklight;
            }

            #vereine ul {
                padding: 5px;
                display: grid;
                /*https://www.youtube.com/watch?v=0xMQfnTU6oo&t=1168s CSS GRID Crash Course Brad Traversy 22:00 min*/
                grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
                grid-gap: 10px;
                border-bottom: 1px solid #d7d7d7;
                padding-bottom: 30px;
            }

            #vereine ul li {
               
                    border-radius: 10px;
                    padding: 10px 20px 10px 0px;
                   
                    margin-left: auto;
                    margin-right: auto;                   
                    display: grid;
                    grid-template-columns: 100px 1fr;
                    grid-template-areas:
                    "imguser vereinedata"
                    "imguser vereinedata"; 
                }


                .vereinedata {
                    grid-area: vereinedata;
                    overflow: hidden;
                }




                #vereine h3 {
                     /*https://www.w3schools.com/cssref/css3_pr_text-overflow.php
                    white-space: nowrap;*/
                    overflow: hidden;
                    text-overflow: "...";
                    margin-bottom: 0px;
                    margin-top: 0px;
                    line-height: 1.2;
                    font-size: 16px;
                    font-family: 'rubiklight';
                    color: #fff;
                }

                #vereine p {
                    font-size: 13px;
                    color: #7b7b7b;
                    margin-top: 5px;
                    margin-bottom: 5px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: "...";
                    height: 15px;/*muss rein, sonst wird text, etwa beim "g" unten abgeschnitten, wegen overflow hidden. Also einfach Zeile höher...*/
                }

       
            #verwaltung h2 {
                font-size: 16px;
                margin: 20px 0 20px 5px;
                color: #7b7b7b;
                font-family: rubiklight;
            }

            #verwaltung ul {
                padding: 5px;
                display: grid;
                /*https://www.youtube.com/watch?v=0xMQfnTU6oo&t=1168s CSS GRID Crash Course Brad Traversy 22:00 min*/
                grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
                grid-gap: 10px;
                border-bottom: 1px solid #d7d7d7;
                padding-bottom: 30px;
            }

            #verwaltung ul li {
                    
                    border-radius: 10px;
                    padding: 10px 20px 10px 0px;
                   
                    margin-left: auto;
                    margin-right: auto;
                    display: grid;
                    grid-template-columns: 100px 1fr;
                    grid-template-areas:
                    "imguser verwaltungdata"
                    "imguser verwaltungdata";
                }


                .verwaltungdata {
                    grid-area: verwaltungdata;
                    overflow: hidden;
                }

                #verwaltung h3 {
                    /*https://www.w3schools.com/cssref/css3_pr_text-overflow.php
                    white-space: nowrap;*/
                    overflow: hidden;
                    text-overflow: "...";
                    margin-bottom: 0px;
                    margin-top: 0px;
                    line-height: 1.2;
                    font-size: 16px;
                    font-family: 'rubiklight';
                    color: #fff;
                    padding: 0 0 5px 0px;
                }

                #verwaltung p {
                    font-size: 13px;
                    color: #7b7b7b;
                    margin-top: 5px;
                    margin-bottom: 5px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: "...";
                    height: 15px;/*muss rein, sonst wird text, etwa beim "g" unten abgeschnitten, wegen overflow hidden. Also einfach Zeile höher...*/
                }
        
/*
                @media screen and (min-width: 450px) {

                    #gewerbe ul li{
                        width: 250px;
                    }
                    #verwaltung ul li {
                        width: 250px;
                    }
                    #vereine ul li {
                        width: 250px;
                    }

                }
*/

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

           
            main {
                grid-area: main;               
                display: grid;
                                     
            }

            #auswahl {
                padding: 20px 20px 0px 0px;
            }

            #gewerbe ul li {
                min-height: 100px;
            } 
            #vereine ul li {
                min-height: 100px;
            } 
            #verwaltung ul li {
                min-height: 100px;
            } 

        }

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

            #container {    

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


        }

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

            main {
                grid-area: main;
                display: grid;
                                
              }



        }


        @media screen and (min-width: 1024px) {
        
            #container {
                width: 100%;
                height: 100%;
                display: grid;
                grid-template-columns: 1fr 1000px 1fr;
                grid-template-areas:
                "main   main   main" 
                "footer footer footer   ";
              }


            main {
                grid-area: main;
                display: grid;
             
                grid-gap: 20px;
                
              }

        }
