*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    font-size: 14px;
/*     -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%; */
}


body{
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
    background:#000;
    color:#eee;
    background-image: url("../Images/background.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* ==========================
   Header
========================== */

.page-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
}


.header-container-top {
    display: flex;
    width: 100%;
    max-width: 1000px;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    border-radius: 20px;
    z-index: 100;
}

.header-container{
    width:100%;
    height: auto;
    max-width:1000px;
    background-color: rgba(0, 0, 0, 0.8);
    margin:10px;
    align-items:center;
    padding: 10px 10px;
    border-radius:10px;
    border-color: rgba(213, 132, 40, 0.5);
    border-style: solid;
    display :flex;    
}

.logo{
    font-size:28px;
    font-weight:bold;
    white-space:nowrap;
    flex-direction: column;
}

a:link {
    color: #D58428;
    text-decoration: none;
}

a:visited {
    color: #D58428;
    text-decoration: none;
}

a:hover {
    color: #D58428;
    text-decoration: underline;
}

a:active {
    color: #D58428;
    text-decoration: underline;
}


/* Menu */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu > li {
    position: relative;
    list-style-type: none;
    
}

.menu > li > a {
    display: block;
    margin: 0px 8px;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.8s;
}

.menu > li.active > a{
    font-weight: bold;
}

/* Untermenü */
.submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s ease;

    position: absolute;
    top: 100%;
    left: 0;
    
    min-width: 280px;
    background-color: #222;
    border-radius:16px;
    border-color: rgba(213, 132, 40, 0.5);
    border-style: solid;

}

.submenu li {
    list-style-type: none;
}

.submenu li a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    white-space: nowrap;
}

.submenu li.active a {
    font-weight: bold;
}

.submenu li a:hover {
    background: #444;
    border-radius:14px;
}

/* Untermenü beim Hover anzeigen */
.menu > li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}





/* ==========================
   Hauptbereich
========================== */

main{
    max-width:1000px;
    margin: 90px auto 0px;
    padding-top: 5px;
    padding-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius:20px;
}

/* Zweispaltiges Layout */

.content{
    display:flex;
    flex-direction: column;
    gap:10px;
    margin:0px 20px 25px;
}

.left{
    flex:2;
    background-color: rgba(0, 0, 0, 0.8);
    padding:20px;
    border-radius:8px;
}

.right{
    flex:1;
    background-color: rgba(0, 0, 0, 0.8);
    padding:20px;
    border-radius:8px;
}

/* Einspaltiger Bereich */

.full{
    background-color: rgba(0, 0, 0, 0.8);
    padding:20px;
    border-radius:8px;
}

/* ==========================
   Footer
========================== */

footer{
    max-width:1000px;
    margin:5px auto;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding:30px 30px;
}


.footer-content{
    max-width:1000px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.footer-right,
.footer-left{
    flex:0 0 450px;
    max-width: 450px;
    border-radius:8px;
    /* border-color: #D58428; */
    border-color: rgba(213, 132, 40, 0.5);
    border-style: solid;
    padding: 5px 15px;
}

.frame-layout-0{
    display: block;
    width: 100%;
}

.frame-default {
    display: block;
    width: 100%;
    display: flex;
    flex-direction: column;
}


h1  {
    color: #D58428;
}

h2  {
    color: #D58428;
}



td, p {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
}

td{
    padding-right: 10px;
}


.text-center {
    text-align: center;
}


#MenuButton {
    display: none;
}


/* ==========================
   Responsive
========================== */



@media (hover: none), (pointer: coarse), (max-width: 768px) {

    .header-container{
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content:left;
        height:auto;
        padding: 5px 10px;
        align-items: flex-start;
    }

    .header-box-left{
        flex: 2;
        height: 50px;
        display: flex;
        flex-direction: column;
        justify-content:center;
        
    }
    .header-box-right{
        flex: 1;
        height: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content:center;
        
    }

    .header-box-menu{
        margin-top: 5px;
    }


    main{
        margin-top: 90px;
        padding-top: 5px;
    }

    .content{
        flex-direction:column;
    }

    .footer-content{
        flex-direction:column;
    }

    .footer-right{
        text-align:left;
    }


    .footer-right,
    .footer-left{
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }


    /* Menu */
    #MenuButton {
        display: block;
        align-items: center;
    }
    .menu-toggle{
        display:block;
        width:100%;
        padding:5px;
        border:none;
        background: rgba(0, 0, 0, 0.8);
        color: #D58428;
        font-weight:bold;
        font-size: 1.1rem;
        cursor:pointer;
    }

    #test {
        flex-direction:row;
    }

    .menu{
        display:none;
        flex-direction:column;
        margin-left: 50px;
    }


    .menu.open{
        display:flex;
    }

    .submenu{
        z-index: 1100;
        background:#222;
        margin: 5px 15px 10px;
        padding: 5px;
    }

    .has-submenu.open>.submenu{
        display:block;
    }

    .menu li{
        width:90%;
    }

    .menu > li > a {
        font-size: 1.2rem;
        padding: 4px 10px;
    }
    
    .submenu > li > a {
        font-size: 1.2rem;
        padding: 4px 10px;
    }

    html {
        font-size: 14px;
    }

    body {
        font-size: 1rem;
        line-height: 1.6;
    }

    p,
    li,
    td {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .menu a {
        font-size: 1.2rem;
    }

}
