* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "nasin-nanpa";
    src: url("https://cdn.jsdelivr.net/gh/ETBCOR/nasin-nanpa@n4.0.1/versions/nasin-nanpa.otf");
}

html, body {
    height: 100%;
    margin: 0;
    font-family: sans-serif;
    background-color: lightgrey;
}

.sp{font-family:"nasin-nanpa";}
.sp blockquote {font-style: normal;}

/* Header-Stil */
.header {
    font-family: "nasin-nanpa";
    padding: 20px;
    height: 100px;
    background-color: #fff2d1;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header h1 {
    font-family: nasin-nanpa;
}
.login {
    font-family: sans-serif;
    position: absolute;
    top: 0;
    right: 0;
    width: 400px; /* Fixe Breite */
    height: 100px;
    margin-right: 40px;
    margin-top: 20px;
    color: black;
    text-align: right;
    justify-content: center
}

/* Settings-Bereich */
.settings {
    position: relative;
    padding: 20px;
    margin: 10px;
    height: 100px;
    background-color: white;
}

/* Main-Bereich (Flexbox für Spalten) */
.main {
    display: flex; /* Flexbox für die beiden Spalten */
/*    height: calc(100% - 200px); /* Höhe des Main-Bereichs abzüglich Header und Settings */
    height: auto;
    min-height: 100%;
}

/* Linker Bereich (main-left) */
.main-left {
    padding: 20px;
    margin: 10px;
    margin-bottom: 40px;
    flex: 1; /* Nimmt die Hälfte der verfügbaren Breite ein */
    background-color: white;
    border: 1px solid black;
    height: auto; /* Maximale Höhe */
    min-height: 100%;
    overflow-y: auto;
}

/* Rechter Bereich (main-right) */
.main-right {
    display: flex;
    flex-direction: column;
    flex: 1; /* Nimmt die andere Hälfte der Breite ein */
    height: auto; /* Maximale Höhe */
}

/* Oberer Bereich der rechten Spalte (main-right-top) */
.main-right-top {
    padding: 20px;
    margin: 10px;
    height: 15em; /* Feste Höhe für den oberen Bereich */
    background-color: white;
    border: 1px solid black;
    overflow-y: auto;
}

/* Unterer Bereich der rechten Spalte (main-right-bottom), der den restlichen Platz einnimmt */
.main-right-bottom {
    padding: 20px;
    margin: 10px;
    flex-grow: 1; /* Füllt den verbleibenden Platz */
    background-color: white;
    border: 1px solid black;
    overflow-y: auto;
}

/* Footer-Stil */
.footer {
    padding: 20px;
    height: 100px;
    background-color: lightgrey;
    color: black;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-left .highlightme {
            border: 0px solid #fff2d1;
        }
        
.outsidetop {
    padding: 20px;
    margin: 10px;
    min-height: 100px;
    height: auto;
    background-color: white;
}
.outsidebottom {
    padding: 20px;
    margin: 10px;
    height: 100%;
    background-color: white;
}

.dashboardbox {
    background-color: rgba(255, 242, 209, 0.2);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.helpbox {
    background-color: rgba(200, 200, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.insertverses {
    height: 10em;
    width:100%;
    border: 2px solid #fff2d1;
}

.errorbox {
    padding: 5px;
    width: 100%;
    background-color: #ffbebe;
}

.highlightbox {
    padding: 5px;
    width: 100%;
    background-color: yellow;
}

.styled-list {
    list-style-position: inside; /* Punkte innerhalb des Einzugs */
    margin-left: 20px; /* Gesamte Liste einrücken */
    padding-left: 10px; /* Zusätzliche Polsterung links */
}

.styled-list li {
    margin-bottom: 5px; /* Abstand zwischen den Listenelementen */
    padding-left: 10px; /* Einzug für den Text nach dem Punkt */
    position: relative;
}

.styled-list li::before {
    /*content: "•"; /* Aufzählungspunkt */
    font-weight: bold;
    display: inline-block;
    width: 20px; /* Platz für den Punkt */
    margin-left: -20px; /* Punkt vor dem Text platzieren */
}

/* Discord login button */
        .discord-btn {
            background-color: #5865F2; /* Discord Blue */
            color: white;
            border: none;
            padding: 12px 24px;
            font-size: 16px;
            font-weight: bold;
            border-radius: 5px;
            display: inline-flex;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.3s ease;
            text-decoration: none;
        }

        .discord-btn:hover {
            background-color: #5a6fb4; /* Darker shade of Discord Blue */
        }

        .discord-btn img {
            width: 20px;
            height: 20px;
            margin-right: 10px;
        }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination .button {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    background-color: #007BFF;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.pagination .button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Inaktive Buttons */
.pagination .button.disabled {
    background-color: #cccccc;
    color: #666666;
    pointer-events: none; /* Button ist nicht klickbar */
    cursor: not-allowed;
}