:root,
[data-bs-theme="light"],
[data-bs-theme="dark"] {
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
}

html,
body {
    font-family: "Open Sans", sans-serif;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #151413;
}

body:after {
    background-image: url(../img/bg.png);
    content: " ";
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 500;
    pointer-events: none;
    opacity: 0.6;
}

.break {
    width: 100%;
    /* Breite des Platzhalters */
    height: 50px;
    /* Höhe des Platzhalters */
    background-color: transparent;
    /* Hintergrundfarbe, hier transparent */
}

.serverimage {
    width: auto;
    height: 220px;
    background: linear-gradient(180deg,
            rgba(31, 32, 26, 0) 35%,
            rgba(31, 32, 26, 1) 100%);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.servercontainer {
    position: relative;
    background-color: #1f201a;
}

.servercontainer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.servername {
    position: absolute;
    color: rgb(198, 192, 186);
    font-weight: bold;
    font-size: 24px;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -0%);
    margin: 0;
    padding: 10px;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.specialimage {
    background: radial-gradient(at center,
            rgba(0, 0, 0, 0) 35%,
            rgba(20, 24, 20, 1) 70%) rgba(20, 24, 20, 0.8);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.home-container {
    margin-top: 3em !important;
}

.content {
    top: 5rem !important;
    margin-bottom: 5rem;
}

#app {
    flex-shrink: 0;
    padding-bottom: 15px;
    min-height: calc(95vh - 50px);
    /* 100vh ist die volle Höhe des Viewports, 50px ist die Höhe des Footers */
}

a {
    font-family: "Bebas Neue", sans-serif;
    text-decoration: none;
}

h1,
.h1 {
    font-family: "Bebas Neue", sans-serif;
    text-align: center;
    text-transform: uppercase;
}

.content {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.sticky {
    position: fixed;
    top: 1em;
    max-width: 95%;
    z-index: 1000;
    left: 3em;
    right: 3em;
}

.footer {
    font-family: "Open Sans", sans-serif;
    background: rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
    padding-top: 0.5em;
}

.navbar-toggler {
    display: none;
}



.navbrand {
    position: absolute;
    top: -0.2em;
    left: 0.2em;
}

.navbar-brand img {
    position: relative;
    top: -0.2em;
    height: 60px;
    width: auto;
}

.navname {
    font-weight: 500;
    position: absolute;
    font-family: "Bebas Neue", sans-serif;
    text-decoration: none;
    text-align: center;
    transition: color 0.2s ease;
    margin-left: 5px;
    font-size: 1.9em;
    line-height: 1.05em;
    text-transform: lowercase;
}

.serverinfotext {
    color: #8bac54 !important;
    margin-top: 8px;
}

.btn.btn-success {
    background: rgb(61, 75, 39);
    color: rgb(166, 205, 99);
    border: none;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.icon {
    width: 20px;
    height: 20px;
    margin-top: -1px;
}

.navbar {
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid transparent;
    flex-grow: 1;
    flex-direction: row;
    font-size: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    text-transform: lowercase;
    max-height: 70px;
    background-color: #1f201a !important;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.295);
}

.navbar-user {
    justify-content: flex-end;
    right: 2em;
    position: absolute;
    background: #1f201a;
}

.navbar-collapse .navbar-nav {
    border-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.navbar .navbar-nav .nav-link {
    color: #e4dad1;
    font-weight: 500;
    font-family: "Bebas Neue", sans-serif;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 1px;
    text-decoration: none;
    text-align: right;
    transition: color 0.2s ease;
}

.navbar-navi {
    justify-content: flex-end;
    right: 2em;
    position: absolute;
}

.active {
    color: #cb402b !important;
    border-bottom: 1px solid #cb402b !important;
}

.navbar .navbar-nav .nav-link.is-active,
.navbar .navbar-nav .nav-link.is-active-exact {
    color: #cb402b !important;
    border-bottom: 1px solid #cb402b !important;
}

.special-dropdown-item {
    background-color: #cb402b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0);
    margin-left: 1rem;
}

.home-background {
    position: relative;
    height: 600px;
}

.background-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(50, 50, 50, 0.5);
}

.subtitle {
    background: linear-gradient(to right,
            rgba(205, 65, 43, 0),
            #cd412b,
            rgba(205, 65, 43, 0));

    bottom: 1px;
    left: 20%;
    right: 20%;
    height: 2px;
}

.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: var(--bs-link-color);
    --bs-pagination-bg: #2a2928;
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: #cb402b4f;
    --bs-pagination-border-radius: var(--bs-border-radius);
    --bs-pagination-hover-color: #cb402b4f;
    --bs-pagination-hover-bg: #cb402b81;
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-focus-color: #bbbbbb4f;
    --bs-pagination-focus-bg: #cb402b4f;
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(177, 177, 177, 0);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #cb402b;
    --bs-pagination-active-border-color: #cb402b;
    --bs-pagination-disabled-color: var(--bs-secondary-color);
    --bs-pagination-disabled-bg: #2a2928;
    --bs-pagination-disabled-border-color: #cb402b4f;
    display: flex;
    padding-left: 0;
    list-style: none;
}

.table-dark {
    background-color: #1f1f1f;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
    --bs-table-color: #fff;
    --bs-table-bg: #2a2928;
    --bs-table-border-color: #cb402b4f;
    --bs-table-striped-bg: #2c3034;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #393332;
    --bs-table-hover-color: #fff;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.form-control {
    background-color: #2a2928;
    border-color: #cb402b4f;
}

.form-select {
    background-color: #2a2928;
    border-color: #cb402b4f;
}

[data-bs-theme="dark"] {
    color-scheme: dark;
    --bs-body-color: #dee2e6;
    --bs-body-color-rgb: 222, 226, 230;
    --bs-body-bg: #2a2928;
    --bs-body-bg-rgb: 33, 37, 41;
    --bs-emphasis-color: #fff;
    --bs-emphasis-color-rgb: 255, 255, 255;
    --bs-secondary-color: rgba(222, 226, 230, 0.75);
    --bs-secondary-color-rgb: 222, 226, 230;
    --bs-secondary-bg: #343a40;
    --bs-secondary-bg-rgb: 52, 58, 64;
    --bs-tertiary-color: rgba(222, 226, 230, 0.5);
    --bs-tertiary-color-rgb: 222, 226, 230;
    --bs-tertiary-bg: #2b3035;
    --bs-tertiary-bg-rgb: 43, 48, 53;
    --bs-primary-text-emphasis: #6ea8fe;
    --bs-secondary-text-emphasis: #a7acb1;
    --bs-success-text-emphasis: #75b798;
    --bs-info-text-emphasis: #ffffff;
    --bs-warning-text-emphasis: #ffda6a;
    --bs-danger-text-emphasis: #ea868f;
    --bs-light-text-emphasis: #f8f9fa;
    --bs-dark-text-emphasis: #dee2e6;
    --bs-primary-bg-subtle: #031633;
    --bs-secondary-bg-subtle: #161719;
    --bs-success-bg-subtle: #051b11;
    --bs-info-bg-subtle: #2a2928;
    --bs-warning-bg-subtle: #332701;
    --bs-danger-bg-subtle: #2c0b0e;
    --bs-light-bg-subtle: #343a40;
    --bs-dark-bg-subtle: #1a1d20;
    --bs-primary-border-subtle: #cb402b4f;
    --bs-secondary-border-subtle: #41464b;
    --bs-success-border-subtle: #0f5132;
    --bs-info-border-subtle: #cb402b4f;
    --bs-warning-border-subtle: #997404;
    --bs-danger-border-subtle: #842029;
    --bs-light-border-subtle: #495057;
    --bs-dark-border-subtle: #343a40;
    --bs-heading-color: inherit;
    --bs-link-color: #cb402b4f;
    --bs-link-hover-color: #cb402b4f;
    --bs-link-color-rgb: 110, 168, 254;
    --bs-link-hover-color-rgb: 139, 185, 254;
    --bs-code-color: #e685b5;
    --bs-highlight-color: #dee2e6;
    --bs-highlight-bg: #664d03;
    --bs-border-color: #cb402b4f;
    --bs-border-color-translucent: rgba(255, 255, 255, 0.15);
    --bs-form-valid-color: #75b798;
    --bs-form-valid-border-color: #75b798;
    --bs-form-invalid-color: #ea868f;
    --bs-form-invalid-border-color: #ea868f;
    --bs-progress-bar-bg: #a6cd63;
}

.progress,
.progress-stacked {
    --bs-progress-height: 1rem;
    --bs-progress-font-size: 0.75rem;
    --bs-progress-bg: var(--bs-secondary-bg);
    --bs-progress-border-radius: var(--bs-border-radius);
    --bs-progress-box-shadow: var(--bs-box-shadow-inset);
    --bs-progress-bar-color: #fff;
    --bs-progress-bar-bg: #a6cd63;
    --bs-progress-bar-transition: width 0.6s ease;
    display: flex;
    height: var(--bs-progress-height);
    overflow: hidden;
    font-size: var(--bs-progress-font-size);
    background-color: #363731;
    border-radius: var(--bs-progress-border-radius);
}

.form-control:focus {
    background-color: #cb402baf;
}

.form-select:focus {
    background-color: #cb402baf;
}

.card {
    background-color: #1f201a;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    display: flex;
    margin-top: 80px;

    position: relative;
    transition: all 0.25s ease;
    z-index: 2;
    border: none;
}

.card-server {
    max-height: 300px;
}

.card h1 {
    font-size: 4rem;
    padding: 0;
    margin: 0;
}

.home-container .card,
.post-preview {
    position: relative;
    height: 100%;
}

.post-preview .title {
    font-family: "Bebas Neue", sans-serif;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(25, 25, 25, 0.7);
    font-size: 1.5rem;
    font-weight: 500;
}

.post-preview:hover .title {
    background: rgba(25, 25, 25, 0.9);
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: none;
    border-top: 0.1em solid;
    border-right: 0.1em solid transparent;
    border-bottom: 0;
    border-left: 0.1em solid transparent;
}

.navbar-collapse {
    justify-content: center;
    right: 50%;
    width: 100vw;
}


.mobilenav {

    display:none;
}

.normalnavi {

    display:contents;
}

@media (max-width: 768px) {
    .sticky {
        position: static;
        top: auto;
        max-width: 100%;
        z-index: 9999;
        left: auto;
        right: auto;
    }

    .mobilenav {

        display:block;
    }
    .normalnavi {

        display: none;
    }


    .navbar {
        align-items: normal;
        justify-content: initial;
        border-bottom: initial;
        flex-grow: initial;
        flex-direction: initial;
        font-size: initial;
        list-style: initial;
        margin: initial;
        padding: initial;
        text-transform: initial;
        max-height: initial;
    }

    .navbar-toggler {
        display: block;
        position: absolute;
        right: 50%;
        /* Zentriert den Button horizontal */
        /* Optionaler Abstand vom oberen Rand */
        transform: translateX(50%);
        /* Korrigiert die Position, um den Button genau zu zentrieren */
    }

    .navbrand {
        position: static;
        top: auto;
        left: auto;
    }
    .navbar-brand img {

        display: none;
    }

    .navname {
        font-weight: initial;
        position: static;
        font-family: "Bebas Neue", sans-serif;
        text-decoration: initial;
        text-align: initial;
        transition: initial;
        margin-left: initial;
        font-size: 9vw;  /* oder eine andere relative Einheit */
        line-height:normal;
        text-transform: lowercase;
        display: flex;
        align-items: center;
        justify-content: center;
    }








}
