:root {
    --textsize: 1.055rem;
}

body {
    background-image: url("../../img/bg_rules.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.6;
}


h1 {
    color: #000000;
    margin-bottom: 20px;
}

h2{
    color: #000000;
    margin-bottom: 10px;
}
.rule-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #ff9900;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 8px;
}

div {
    font-size: 1.05rem;
}

.important {
    background: rgba(255, 30, 30, 0.05);
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #da3a3a;
    margin-bottom: 15px;
    color: #290e0e;
    text-align: center;
}

.info-footer {
    margin-top: 25px;
    font-size: 0.93rem;
    color: #3c3a3a;
}

.section {
    padding-top: 0;
}


html, body {
    height: 100%;
}

body {
    position: relative;
    background: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../../img/bg_rules.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
}

h1 {
    color: var(--text);
    text-align: center;
    font-weight: bold;
}

h2 {
    color: var(--text);
    text-align: center;
}

body {
    background: none;
    position: relative;
    height: 100%;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../../img/bg_rules.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
}

/* Section als Bezugspunkt für absolute Positionierung */


/* Container für die zwei Flaggen: immer 25% von der rechten Kante der Section */


@media (min-width: calc(1920px + 1px)) {
    body {
        background-size: cover;
    }
}

@media (max-width: 880px) {
    .rule-box {
        background: rgba(255, 255, 255, 0.05);
        padding: 8px;
        border-radius: 10px;
        margin-bottom: 25px;
        border-left: 3px solid #ff9900;
    }

    .section {
        padding: 0;
    }
}