html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #15202b;
    margin: 0;
    padding: 1%;
    color: #FFFFFF;
    font-size: 21px;
}
    .nav{
        display: flex;
        justify-content: space-between;
        margin: 0 50px 0 50px;
    }
        .navlogo{
            margin-top: 10px;
        }
            .navlogo img{
                width: 80px;
            }
        .topbar{
            list-style-type: none;
            margin: 0;
            display: flex;
            line-height: 100px;
            font-size: 20px;
        }
            .topbar li{
                margin: 0 0 0 50px;
                color: rgb(70, 206, 240);            
            }
                .topbar li a{
                    color: #FDBE00;
                    text-decoration: none;
                }
                    .topbar li a:hover{
                        color: rgb(70, 206, 240);
                    }
            .topbarmenu{
                margin-left: 50px;
            }
                .topbarmenu button{
                    background-color: transparent; 
                    border-width: 0; 
                    font-family: inherit; 
                    font-size: inherit; 
                    font-style: inherit; 
                    font-weight: inherit; 
                    line-height: inherit; 
                    padding: 0;

                    display: flex;
                    color: #FDBE00;
                    margin-top: 30px;
                }
                .bar{
                    border-radius: 10px;
                    line-height: 30px;
                    height: 35px;
                    width: 6px;
                    margin: 2px;
                    flex-direction: row;
                    background-color: #FDBE00;
                }
                .dropbtn {
                    cursor: pointer;
                }  
                    .dropbtn:hover, .dropbtn:focus {
                        opacity: 0.8;
                    }
                    .dropdown{
                        display: inline-block;
                    }
                        .dropdown-content{
                            right: 0;
                            width: 100%;
                            margin: 30px 0 0 0; 
                            display: none;
                            position: absolute;
                            background: #222222;
                            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
                            z-index: 1;
                        }
                            .dropdown-content a {
                                text-align: right;
                                margin-right: 140px;
                                text-decoration: none;
                                color: #FDBE00;
                                display: block;
                            }
                                #blue{
                                    color: rgb(70, 206, 240);
                                }
                                .dropdown-content a:hover{
                                    color: rgb(70, 206, 240);
                                }
                                    .show {
                                        display:block;
                                    }

    .listoverview{
        list-style-type: none;
        margin: 0%;
        margin-top: 150px;
        padding-left: 0%;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
        .listoverview li{
            padding-top: 1%;
            padding-right: 2.5%;
            padding-left: 2.5%;
        }
            .listoverview li img{
                width: 45px;
                height: 45px;
            }
            .listoverview li a:hover{
                opacity: 0.5;
            }

        .listimpressum{
            list-style-type: none;
            margin: 0%;
            padding-left: 0%;
            display: flex;
            flex-direction: row;
            justify-content: center;
        }
            .listimpressum li{
                margin: 0%;
                padding: 0%;
                width: 130px;
                text-align: center;
                padding-right: 2.5%;
                padding-left: 2.5%;
            }
                .listimpressum li a{
                    color: grey;
                    text-decoration: none;                    
                }
                    .listimpressum li a:hover{
                        color: rgb(70, 206, 240);
                    }
    
            .mnpub{
                display: none;
            }
            .dnpub{
                display: block;
            }

/* ############### PrivacyPolicy-Overlay ############### */
    #privacypolicy-popup{
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.85);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      text-align: center;
    }
        #privacypolicy-popup h2{
        margin-bottom: 1rem;
        }
        #privacypolicy-popup p{
        margin-bottom: 1.5rem;
        }

    #privacypolicy-box{
      background-color: rgb(164, 172, 175);
      color: #000000;
      padding: 30px;
      border-radius: 10px;
      width: 60vw;
      max-width: 600px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
      text-align: center;
    }

    #redb{
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: rgb(10, 73, 155);
      color: white;
      border: none;
      border-radius: 5px;
    }
    #blueb{
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: rgb(10, 73, 155);
      color: white;
      border: none;
      border-radius: 5px;
    }

/* ############### Elements ############### */
.imprint{
    text-align: left;
}
    .highlight{
        color: #FDBE00;
    }
    
    .title{
        margin: 50px 5% 100px 5%;
        text-align: center;
        font-size: 45px;
    }
    .subtitle{
        margin: 80px 20% 0 20%;
        text-align: left;
        font-size: 30px;
    }
    .loremipsum{
        margin: 0 25% 0 25%;
        text-align: center;
    }
        .loremipsum a{
            color: #FDBE00;
        }
            .loremipsum a:hover{
                color: rgb(70, 206, 240);
            }
    .loremipsumleft{
        margin: 0 25% 0 25%;
        text-align: left;
    }
        .loremipsumleft a{
            color: #FDBE00;
            word-wrap: break-word;
        }
            .loremipsumleft a:hover{
                color: rgb(70, 206, 240);
            }

        table{
            border-collapse: collapse;
            width: 100%;
        }
            .fixlay{
                table-layout: fixed;
                word-wrap: break-word;
            }
            table a{
                word-wrap: break-word;
            }
            td, th {
            border: 1px solid #dddddd;
            text-align: left;
            padding: 8px;
            }
            tr:nth-child(even) {
            /* background-color: #312f2f; */
            background-color: #062d36;
            }

    .help{
        margin: 0 25% 80px 25%;
        display: flex;
        background-color: grey;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        overflow: hidden;
        min-height: 250px; 
        height: auto; 
    }
        .help a{
            color: #FDBE00;
        }
            .help a:hover{
                color: rgb(70, 206, 240);
            }
    .hpic{
        flex: 1;
        width: 200px;
    }
        .hpic img{
            width: 200px;
            height: 100%;
        }
    .htitle{
        font-size: 1.1em;
    }
    .htext{
        font-size: 0.9em;
        flex: 3;
        color: black;
        padding: 25px 15px 25px 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

.projects{
    margin: 0 25% 135px 25%;
    display: flex;
    justify-content: space-between;
}
    .projects a{
        color: #FDBE00;
    }
        .projects a:hover{
            color: rgb(70, 206, 240);
        }

/* Text left */
    .p1left{
        text-align: left;
    }
    .p2right{
        width: auto;
        margin-left: 50px;
    }
        .p2right img{
            width: 225px;
            border: 2px solid #FDBE00;
        }

/* Text right */
    .p1right{
        text-align: left;
        list-style-position: inside;
    }
    .p2left{
        width: auto;
        margin-right: 50px;
    }
        .p2left img{
            width: 15vw;
            border: 2px solid #FDBE00;
        }

.loremipsumpic{
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .loremipsumpic img{
        width: 100%;
    }

.boxes{
    margin: 0 25% 0 25%;
    text-align: left;
}
    .boxes a{
        color: #FDBE00;
        max-width: 100%;
        word-wrap: break-word;
    }

    .flexbox{
        display: flex;
    }
    .boxes button{
        background: #272933;
        border: #FFFFFF 1px solid;
        color: #FFFFFF;
        width: 100%;
        height: 150px;
        margin-right: 2.5vw;
        cursor:pointer;
    }
    .flexbox a{
        text-align: center;
        align-content: center;
        text-decoration: none;
        background: #272933;
        border: #FFFFFF 1px solid;
        color: #FFFFFF;
        width: 100%;
        height: 150px;
        margin-right: 2.5vw;
        cursor:pointer;
    }

#d0, #d1, #d2, #d3, #d4, #d5, #d6, #d7, #d8, #d9, #d10, #d11, #d12{
    display: none;
}
#db, #dc, #dd, #de, #df, #dg, #dh{
    display: none;
}

.mediabar{
    overflow: hidden;
    display: flex;
    overflow-x: auto; /* enable horizontal scroll */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    scrollbar-width: none;
    padding-bottom: 20px;
    border-bottom: #313441 2px solid;
}
    .mediabar h1{
        margin: 0;
    }
    .mediabar button{
        white-space: nowrap;
        flex-direction: row;
        background: #313441;
        border-radius: 20px;
        margin-right: 10px;
        color: white;
        border: none;
        width: auto;
        height: auto;
        padding: 5px 10px 5px 10px;
        cursor: pointer;        
    }
    .mediabar button::-webkit-scrollbar {
        display: none;
    }

#searchInput {
  padding: 8px;
  width: 100%;
  margin-bottom: 10px;
}
#searchResults div {
  padding: 6px;
  margin-bottom: 3rem;
  border-bottom: 1px solid #ccc;
}

/*################################################################################### Mobile-Version: ######################################################################*/
@media (max-width:1100px) {
    .nav{
        margin: 0 15px 0 0;
        justify-content: right;
    }
        .navlogo{
            display: none;
        }
        .topbar{
            font-size: 18px;
        }
            .topbar li{
                margin: 0 0 0 15px;
            }
            .topbarmenu{
                margin-left: 20px;
            }
                .topbarmenu button{
                    margin-top: 30px;
                }
                .bar{
                    height: 35px;
                }
                    .dropdown-content a {
                        margin-right: 65px;
                    }
    .title{
        margin: 25px 5% 50px 5%;
    }
    .subtitle{
        margin: 100px 10% 0 10%;
        text-align: left;
    }
    .loremipsum{
        margin: 0 10% 0 10%;
        text-align: center;
    }
    .loremipsumleft{
        margin: 0 10% 0 10%;
        text-align: left;
        /* width: 80vw; */
    }
    table{
        font-size: small;
    }
    .listoverview{
        margin-top: 100px;
    }
        .listimpressum li{
            width: auto;
        }
    .dnpub{
        display: none;
    }
    .mnpub{
        display: block;
    }

/* ############### PrivacyPolicy-Overlay ############### */
#privacypolicy-popup{
    right: 0;
}
    #redb{
        margin-bottom: 10px;
    }

/* ###############Elements############### */

/* Projects */
.projects{
    margin: 0 0 0 0;
    flex-direction: column;
}
    .p2right{
        display: none;
    }
    .p2left{
        display: none;
    }

.mobilebox{
        margin: 0 10% 40px 10%;
        padding: 15px 10px 15px 10px;
        background: #272933;
        border: #FFFFFF 1px solid;
        color: #FFFFFF;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
} 
    .mobilebox b{
        color: #FFFFFF;
    }
    
/* Help */
.help{
    margin: 0 10% 60px 10%;
    height: auto;
    max-height: 400px;
}
    .htext{
        font-size: 0.6em;
    }
        .htitle{
            font-size: 1.5em;
        }
        .hpic img{
            width: 130px;
        }

.boxes{
    margin: 0 7.5% 0 7.5%;
}
    .boxes button{
        height: 150px;
    }
    .flexbox a{
        word-spacing: 100rem;
    }
}
/*################################################################################### Light-Mode: ######################################################################*/
@media (prefers-color-scheme: light) {

}