:root {
    --h1: #ffffff;
    --h2: #ff0000;
    --h1-glow: #feab978a;
    --content: rgba(30, 21, 20, 0.6);
    --content2: #1e1514;
    --content3: #2a1f1d;
    --news--gradient: ##e4ab14;
    --news--primary2: #aa5b10;
    --online: #65bc1f;
    --offline: #c62e3b;
    --body: #161616;
    --footer: #2e1815;
    --card: #1e1514;
    --card-header: #cfcec9; 
}

html {
    color-scheme: dark;
}

body {
    background: var(--body) url(../images/body_bg.jpg) no-repeat top;
    background-size: contain;
    color: #351000;
}

a {
    color: #ffffff;
    text-decoration: none !important;
}

a:hover {
    color: #ffcb58;
}

p {
    margin-bottom: 0;
}

li {
    list-style: none;
}

label {
    color: #fff;
}

@font-face {
    font-family: "America";
    src: url("../fonts/AmericaXIX.eot");
    src: url("../fonts/AmericaXIX.eot?#iefix") format("embedded-opentype"), url("../fonts/AmericaXIX.woff2") format("woff2"), url("../fonts/AmericaXIX.woff") format("woff"), url("../fonts/AmericaXIX.ttf") format("truetype"), url("../fonts/AmericaXIX.svg#AmericaXIX") format("svg");
    font-weight: normal;
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: "Intro";
    src: url("../fonts/Intro-Regular.eot");
    src: url("../fonts/Intro-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Intro-Regular.woff2") format("woff2"), url("../fonts/Intro-Regular.woff") format("woff"), url("../fonts/Intro-Regular.ttf") format("truetype"), url("../fonts/Intro-Regular.svg#Intro-Regular") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@property --primary {
    syntax: '<color>';
    initial-value: #e93c1d;
    inherits: false;
}

@property --primary2 {
    syntax: '<color>';
    initial-value: #aa5b10;
    inherits: false;
}

@property --a7a {
    syntax: '<color>';
    initial-value: #a88b45;
    inherits: false;
}

@property --secondary {
    syntax: '<color>';
    initial-value: #1e1514;
    inherits: false;
}

@property --secondary2 {
    syntax: '<color>';
    initial-value: #ec530d;
    inherits: false;
}

.navbar {
    position: fixed;
    z-index: 1002;
    top: 0;
    max-width: 100%;
    right: 0;
    left: 0;
    margin: 0 auto;
    height: 10.6vh;
    justify-content: space-between;
    align-items: center;
    display: flex;
    transition: .5s;
    background: linear-gradient(to bottom, rgb(22 22 22), rgb(95 90 84 / 55%));
}

.navbar-brand img {
    width: 6.5vh;
    position: relative;
    top: 0;
}

.nav-item {
    font-family: "America";
    text-transform: uppercase;
    font-size: 1.5vh;
    margin: 0 2.1vh;
    position: relative;
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--h1);
    transition: .5s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #dbcdcc;
    text-shadow: 0 0 2vh #ffa958;
}

.navbar-nav {
    align-items: center;
}

.dropdown-menu {
    background: linear-gradient(to bottom, rgba(44, 31, 30, 0.8), rgba(30, 20, 19, 0.8));
    border: none;
    color: #dbcdcc;
}

.dropdown-item {
    color: #dbcdcc;
}

.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover {
    background-color: transparent;
    color: #ffcb58;
    text-shadow: 0 0 2vh #ffcb58;
}

.effect {
    position: absolute;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;

    div {
        position: absolute;
        pointer-events: none !important;
    }

    .rocks {
        display: flex;
        align-items: center;
        justify-content: center;
        animation: levitate 5s infinite linear;

        img {
            width: 190vh;
            pointer-events: none;
        }
    }

    .leaf1 {
        animation: fly 20s infinite linear;
        transform: rotate(-20deg);

        img {
            width: 250vh;
        }
    }

    .leaf2 {
        animation: fly 20s 10s infinite linear;
        transform: rotate(-20deg);
        opacity: 0;

        img {
            width: 250vh;
        }
    }
}

@keyframes levitate {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2vh);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes fly {
    0% {
        opacity: 0;
        left: -20%;
        top: 0;
    }

    10% {
        opacity: 1;

    }

    90% {
        left: 0;
        top: -90%;
    }

    100% {
        left: 0;
        top: -100%;
        opacity: 0;
    }
}

header {
    max-width: 100%;
    width: 131vh;
    margin: 0 auto;
    text-align: center;
    padding-top: 22vh;
}

.hidden-header {
    height: 700px;
}

header div:nth-child(1) {
    position: relative;
    /*top: 8.3vh;*/
}

header div:nth-child(1) img {
    width: 58vh;
}

:is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
    font-weight: normal;
    font-family: "America";
}

header h1 {
    font-size: 4.8vh;
    letter-spacing: .2vh;
    /*margin-top: 2vh;*/
    line-height: 5vh;
    text-shadow: 0 0 2vh var(--h1-glow);
    text-transform: uppercase;
}

header p {
    color: #fff;
    font-size: 1.8vh;
    width: 60%;
    margin: 1vh auto 0;
    font-family: "Intro";
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

header a {
    width: 40vh;
    justify-content: center;
    display: inline-flex;
    margin-top: 3.5vh;
    height: 8.2vh;
    color: var(--h1);
    font-family: "Aquavit";
    text-transform: uppercase;
    font-size: 3.5vh;
    position: relative;
    border-radius: 2vh;
    box-shadow: 0 0vh 0vh rgba(0, 0, 0, .627);
    transition: .5s;
}

header a::before {
    content: "";
    position: absolute;
    top: -0.5vh;
    width: 110%;
    background: url(../images/button.png) top / cover no-repeat;
    height: 9vh;
}

header a span {
    position: relative;
    z-index: 1;
    transition: .5s;
}

header a:hover {
    text-shadow: 0 0 3vh #fff;
    color: #fff;
    filter: brightness(120%);
}

header a:hover span {
    transform: scale(1.1);
}

main {
    margin: 10vh auto 0;
}

.z-index-0 {
    z-index: 0;
}

.z-index-1 {
    z-index: 1;
}

.card {
    background-color: rgb(32 22 0 / 60%);
    padding: 0;
    border-radius: calc(1.25rem - 1px) calc(1.25rem - 1px) 0 0;
    border: 1px solid #b2934a;
    color: #fff;
    font-size: 2.1vh;
    text-transform: uppercase;
    font-family: "America";
    letter-spacing: .2vh;
}

.card.ranking {
    background-color: #1e1514;
    border-radius: calc(1.25rem - 1px);
    border: 1px solid #ffffff;
}

.card-header {
    background: linear-gradient(to right, #9d883b, #ffdc9a); /* Replace #ff0000 with your second color */
    padding: 9px;
    border: border;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.main-content .card-header {
    text-align: center;
}

.card-header:first-child {
    border-radius: calc(1.25rem - 1px) calc(1.25rem - 1px) 0 0;
    overflow-x: hidden;
}

.card-header > * {
    position: relative;
    z-index: 1;
}

.card-header:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url(../images/card-header-foreground.png) center / contain repeat;
    z-index: 0;
}

.card-body {
    background:
    padding: 2vh;
    border: none;
}

.sidebar h1 {
    font-size: 2.7vh;
    letter-spacing: 0;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 1.8vh;
}

.sidebar .status {
    border-radius: 1.2vh;
    position: relative;
}

.sidebar .status .server-status {
    display: flex;
    align-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
}

.sidebar .status .server-time,
.sidebar .status .statistic {
    color: #fff;
    font-size: 1.1vh;
    text-transform: uppercase;
    font-family: "America";
    letter-spacing: .2vh;
    margin: 0 0 5px;
    display: flex;
    align-content: center;
    gap: 5px;
}

.sidebar .status .server-time .server-time-timer {
    margin: 0;
    font-family: "Intro";
    text-transform: uppercase;
    color: var(--h1);
    font-weight: bold;
}

.sidebar .status .server-status .progress {
    margin: auto 0;
    height: 10px;
    flex-grow: 1;
}

.sidebar .status .online {
    color: #fff;
    font-family: "Intro";
    text-transform: uppercase;
    font-size: 1vh;
    padding: .3vh 1.2vh;
    border-radius: 4vh;
    background-color: var(--online);
    display: flex;
    align-items: center;
}

.sidebar .status .offline {
    color: #fff;
    font-family: "Intro";
    text-transform: uppercase;
    font-size: 1vh;
    padding: .3vh 1.2vh;
    border-radius: 4vh;
    background-color: var(--offline);
    display: flex;
    align-items: center;
}

.sidebar .status .statistic {
    color: var(--h1);
}

.btn-link {
    color: #dbcdcc;
    transition: .5s;
    cursor: pointer;
    font-weight: 400;
    text-decoration: none;
}

.btn-link.focus, .btn-link:focus {
    box-shadow: none;
    text-decoration: none;
}

.btn-link:hover {
    color: #ffcb58;
    text-shadow: 0 0 2vh #ffcb58;
    text-decoration: none;
}

.table thead th {
    border-bottom: none;
    vertical-align: bottom;
}

.table td, .table th {
    border-top: 1px solid #dbcdcc;
    padding: .75rem;
    vertical-align: top;
}

.table {
    /*color: #dbcdcc;*/
    color: #fff;
    width: 100%;
    margin-bottom: 0;
}

.table td, .table th {
    padding: 0.35rem;
    vertical-align: middle;
}

.table-bordered, .table-bordered td, .table-bordered th {
    border-color: var(--news--gradient);
}

.table-bordered thead, .column-bg {
    background: #686868;
}

.sidebar .table-bordered, .sidebar .table-bordered td, .sidebar .table-bordered th {
    border-color: #fff;
}

.main-content .table th {
    text-align: center;
}

.main-content .table {
    font-size: 1rem;
    border-radius: 20px;
}

.main-content .table thead tr {
    background: url(../images/card-header-foreground.png) center / contain repeat;
    z-index: 1;
    overflow: hidden;
    position: relative;
}

.main-content .table thead tr th {
    z-index: 2;
    color: #000;
}

.main-content .table thead tr:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: 
    z-index: 0;
}

.main-content .dataTable thead th:first-child {
    border-top-left-radius: 20px;
}

.main-content .dataTable thead th:last-child {
    border-top-right-radius: 20px;
}

.main-content .table tfoot tr {
    background-color: var(--card-header);
    z-index: 1;
    overflow: hidden;
    position: relative;
}

.main-content .table tfoot tr th {
    z-index: 2;
    color: #000;
}

.main-content .table tfoot tr:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url(../images/card-header-foreground.png) center / contain repeat;
    z-index: 0;
}

.main-content .dataTable tfoot th:first-child {
    border-bottom-left-radius: 20px;
}

.main-content .dataTable tfoot th:last-child {
    border-bottom-right-radius: 20px;
}

.main-content table.table-bordered.dataTable {
    overflow: hidden;
    border-color: #dfdfdf;
    background: #120c0c;
}

table.dataTable > thead .sorting:after, table.dataTable > thead .sorting:before, table.dataTable > thead .sorting_asc:after, table.dataTable > thead .sorting_asc:before, table.dataTable > thead .sorting_asc_disabled:after, table.dataTable > thead .sorting_asc_disabled:before, table.dataTable > thead .sorting_desc:after, table.dataTable > thead .sorting_desc:before, table.dataTable > thead .sorting_desc_disabled:after, table.dataTable > thead .sorting_desc_disabled:before {
    bottom: .4em;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > th.dtr-control:before {
    background-color: #dcc962;
}

.dataTable thead th {
    border-top: none;
}

.dataTable tfoot, .dataTable thead {
    background: linear-gradient(var(--secondary), var(--secondary2));
    color: #fff;
}

table.dataTable td, table.dataTable th {
    border-color: #afafaf;
    text-align: center;
    padding: 12px;
}

.dt-button.btn {
    border-color: #a98b45 !important;
    background: #5a4723 !important;
    color: #ffffff !important;
}

.form-control,
.dataTables_filter input, .dataTables_length select {
    border-color: #b29249;
    background: #5a4723;
    color: #ffffff;
}

.form-control:focus {
    border-color: #b29249;
    background: #989898;
    color: #ffffff;
    box-shadow: 0 0 0 .2rem rgba(228, 143, 54, .5);
    outline: 0;
}

.form-control::placeholder {
    color: #fff;
    opacity: 1; /* Firefox */
}

.form-control::-ms-input-placeholder { /* Edge 12 -18 */
    color: #fff;
}

.dataTables_info {
    color: #e9bf61;
    font-weight: bold;
}

.table-hover tbody tr:hover, .table-hover tbody tr:hover a {
    color: rgba(228, 143, 54, .8);
}

.table-hover tbody tr:hover a:hover {
    color: #ffcb58;
}

.table td a {
    color: #fff;
}

.social {
    position: relative;
}

.social .content {
    width: 131vh;
    margin: 0 auto;
    text-align: center;
    padding-top: 12.5vh;
    padding-bottom: 13.7vh;
    position: relative;
}

.social .content h1 {
    text-transform: uppercase;
    font-size: 5vh;
    line-height: 5vh;
}

.social .content p {
    font-size: 1.6vh;
    color: #bab9b8;
    font-family: "Intro";
    width: 70%;
    margin: 3.5vh auto 0;
}

.social .content div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social .content div a {
    width: 40vh;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    margin: 3.5vh 2vh 0;
    height: 8.2vh;
    color: #fff;
    font-family: "America";
    text-transform: uppercase;
    font-size: 2.5vh;
    position: relative;
    border-radius: 2vh;
    box-shadow: 0 2vh 3vh rgba(0, 0, 0, .627);
    transition: .5s;
}

.social .content div a:hover {
    text-shadow: 0 0 3vh #fff;
    color: #fff;
    filter: brightness(120%);
}

.social .content div a:hover div {
    transform: scale(1.1);
}

.btn-red:before {
    background: url(../images/red-button.png) top / cover no-repeat;
}

.btn-purple:before {
    background: url(../images/purple-button.png) top / cover no-repeat;
}

.btn-blue:before {
    background: url(../images/blue-button.png) top / cover no-repeat;
}

.social .content div a::before {
    content: "";
    position: absolute;
    top: -0.5vh;
    width: 110%;
    height: 9vh;
}

.social .content div a div {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: .5s;
}

.social .bg {
    position: absolute;
    bottom: -2vh;
    width: 100%;
    z-index: -1;
}

.social .bg img {
    width: 100%;
}

footer {
    background-color: #483918;
    padding: 0;
    width: calc(100% - 20px);
    margin: auto;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;

    &:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: url(../images/footer-bg.png) center / contain round;
        z-index: 0;
    }

    &:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: url(../images/footer-bg2.png) center / contain no-repeat;
        z-index: 0;
    }

    .content {
        padding: 5.7vh 20px;
        width: 150vh;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: start;
        flex-wrap: wrap;
        z-index: 1;
        position: relative;
        max-width: 100%;
        gap: 20px;

        .footer-items {
            display: flex;
            font-size: 1.7vh;

            ul {
                margin-left: 10vh;

                h1 {
                    font-weight: normal;
                    text-transform: uppercase;
                    margin-bottom: 0.4vh;
                    font-size: 1.7vh;
                    line-height: 1.5;
                }

                li {
                    margin-bottom: 0.4vh;

                    a {
                        color: #7e7975;
                        font-family: "America";
                        text-transform: uppercase;
                        transition: .5s;

                        &:hover {
                            color: white;
                        }
                    }
                }
            }
        }

        .branding {
            display: flex;
            justify-content: start;
            align-items: start;

            .logo_brand {
                display: flex;
                align-items: center;
                flex-direction: column;
                justify-content: start;

                img {
                    width: 22vh;
                    position: relative;
                    top: -10px;
                }

                .coded-by {
                    font-size: 1.2vh;
                    font-family: 'America';
                    text-transform: uppercase;
                    color: #7e7975;

                    a {
                        margin-top: 0;
                    }

                    .burio {
                        color: deepskyblue;
                    }
                }
            }

            .copyrights {
                margin-left: 2.7vh;

                a {
                    display: inline-flex;
                    align-items: center;
                    margin-top: 3.2vh;

                    &:hover {
                        img {
                            transform: rotate(360deg);
                        }

                        p {
                            color: white !important;
                        }
                    }

                    img {
                        width: 3vh;
                        margin-bottom: 0;
                        transition: .5s;
                    }

                    p {
                        margin-top: 0 !important;
                        transition: .5s;
                        margin-left: 1vh;
                    }
                }

                .copyright-text {
                    font-size: 1.5vh;
                    font-family: 'Intro';
                    text-transform: uppercase;
                    color: #ffffff;
                }

                .copyright-description {
                    font-size: 1.1vh;
                    font-family: 'Intro';
                    text-transform: uppercase;
                    color: #ffffff;
                    margin-top: 1.4vh;
                }
            }
        }

        .backlinks {
            display: flex;
            align-items: center;
            gap: 10px;
        }
    }
}

.col-gap-0 {
    column-gap: 0;
}

.col-gap-1 {
    column-gap: .375rem;
}

.col-gap-2 {
    column-gap: .75rem;
}

.col-gap-3 {
    column-gap: 1rem;
}

.col-gap-4 {
    column-gap: 1.5rem;
}

.col-gap-5 {
    column-gap: 2.75rem;
}

.row-gap-0 {
    row-gap: 0;
}

.row-gap-1 {
    row-gap: .375rem;
}

.row-gap-2 {
    row-gap: .75rem;
}

.row-gap-3 {
    row-gap: 1rem;
}

.row-gap-4 {
    row-gap: 1.5rem;
}

.row-gap-5 {
    row-gap: 2.75rem;
}

.gap-0 {
    gap: 0;
}

.gap-1 {
    gap: .375rem;
}

.gap-2 {
    gap: .75rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 2.75rem;
}

.gap-gs {
    gap: 28px;
}

.gap-sm {
    gap: .75rem;
}

.gap-md {
    gap: 1.25rem;
}

.gap-lg {
    gap: 2rem;
}

.gap-xl {
    gap: 2.5rem;
}

.gap-10px {
    gap: 10px;
}

.gap-20px {
    gap: 20px;
}

.gap-30px {
    gap: 30px;
}

.gap-40px {
    gap: 40px;
}

.gap-50px {
    gap: 50px;
}

.gap-60px {
    gap: 60px;
}

.gap-70px {
    gap: 70px;
}

.gap-80px {
    gap: 80px;
}

.gap-90px {
    gap: 90px;
}

.gap-100px {
    gap: 100px;
}

.news-container .post-box {
    background-color: rgba(255, 255, 255, .107);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    border-radius: 1.8vh;
    position: relative;
    width: calc((100% / 2) - 0.8rem);
    height: 35vh;
    margin-bottom: 0;
}

.posts .post-box:first-child {
    width: 100%;
}

.posts .post-box .news-date {
    position: absolute;
    top: -1.2vh;
    right: 2.8vh;
    height: 9.2vh;
    border-radius: 1.2vh;
    width: 7.5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(var(--news--primary2), var(--news--gradient));*/
    background: #2b6ad9;
}

.posts .post-box .news-date p {
    text-align: center;
    color: #fff;
    font-family: "America";
    font-size: 1.6vh;
}

.posts .post-box .post-data {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: start;
    justify-content: end;
    flex-direction: column;
    padding: 3.5vh;
    position: relative;
    overflow: hidden;
    border-radius: 1.8vh;
}

.posts .post-box .post-data::before {
    content: "";
    width: 100%;
    height: 100%;
    background: url(../images/shadow.png) top / cover no-repeat;
    position: absolute;
    opacity: .9;
    left: 0;
    top: 0;
}

.posts .post-box .post-data h1 {
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    text-transform: uppercase;
    font-size: 2.5vh;
    margin-bottom: .5vh;
}

.posts .post-box .post-data p {
    z-index: 1;
    font-family: "Intro";
    color: #c6c4c5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 2.2vh;
    font-size: 1.6vh;
    line-height: 2.2vh;
}

.posts .post-box .post-data a {
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "America";
    text-transform: uppercase;
    font-size: 1.6vh;
    color: #fff;
    background: linear-gradient(var(--news--primary2), var(--news--gradient));
    border-radius: 1.1vh;
    transition: .5s;
    width: 18vh;
    height: 5vh;
}

.posts .post-box .post-data a:hover {
    filter: brightness(120%);
}

.posts .post-box:first-child .post-data h1 {
    font-size: 3vh;
    letter-spacing: .2vh;
    margin-bottom: 1.3vh;
}

.posts .post-box:first-child .post-data p {
    width: 80%;
}

.posts .post-box:first-child .post-data a {
    width: 21vh;
    height: 5.2vh;
}

article h1 {
    font-size: 2.5vh;
    text-transform: uppercase;
    margin-bottom: 2vh;
}

article p {
    color: #7e7975;
    font-size: 1.4vh;
    font-family: "Intro";
    margin-bottom: 3.7vh;
}

h3 {
    color: #fff;
}

.donation-method {
    background-color: var(--content2);
    border-radius: 20px;
    padding: 20px;
    gap: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 250px;
    height: 100%;
    justify-content: space-between;
}

.list-group-item {
    background-color: var(--content2);
    color: #fff;
}

.list-group-item:first-child:first-child {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.list-group-item:first-child:last-child {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.list-group-item-action:focus, .list-group-item-action:hover {
    background-color: var(--content);
    color: var(--h1);
}

.list-group-item.active {
    background-color: var(--content);
    border: none;
    color: var(--h1);
    z-index: 2;
}

.main-btn-holder {
    background-color: rgba(255, 255, 255, .107);
    border-radius: 1.8vh;
    position: relative;
    width: 100%;
    display: flex;
    height: 6vh;
}

.news-container .hbtn {
    font-family: "America";
    color: #84706f;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    text-transform: uppercase;
    font-size: 2vh;
    border-radius: 1.2vh;
    transition: .5s;
    margin: 0;
}

.news-container .hbtn.hbtn-default {
    background-color: var(--content2);
}

.news-container .hbtn:hover {
    color: #fff;
}

.download-card {
    min-height: 150px;
    height: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

.download-card img {
    max-height: 100%;
    min-height: auto;
    margin: auto;
}

.text-primary {
    color: var(--primary) !important;
}

a.text-primary:focus, a.text-primary:hover {
    color: var(--primary2) !important;
}

.text-secondary {
    color: var(--h1) !important;
}

.btn-primary {
    background: linear-gradient(var(--a7a), #000000);
    border-color: #ffd907;
    transition: --a7a .2s, --a7a .2s, all .5s;
}

.btn-primary:hover {
    --primary: var(--news--primary2);
    --a7a: #1c1c1c;
    border-color: #ffd907;
    color: #fff;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    --primary: var(--news--primary2);
    --primary2: var(--news--gradient);
    border-color: var(--news--gradient);
    color: #fff;
}

.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(228, 143, 54, .5);
}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(228, 143, 54, .5);
}

.btn-secondary {
    background: linear-gradient(var(--secondary), var(--secondary2));
    border-color: var(--content);
    transition: --secondary .2s, --secondary2 .2s, all .5s;
}

.btn-secondary:hover {
    --secondary: var(--content3);
    --secondary2: var(--content2);
    border-color: var(--content);
    color: #fff;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
    --secondary: var(--content3);
    --secondary2: var(--content2);
    border-color: var(--content);
    color: #fff;
}

.btn-secondary.focus, .btn-secondary:focus {
    box-shadow: 0 0 0 .2rem rgba(30, 20, 19, .5);
}

.btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(30, 20, 19, .5);
}

.btn-outline-dark {
    background-color: var(--content3);
    border-color: var(--content);
    color: #d5b35f;
}

.btn-outline-dark:hover {
    background-color: var(--content3);
    border-color: var(--content);
    color: #fff;
}

.btn-outline-dark:not(:disabled):not(.disabled).active, .btn-outline-dark:not(:disabled):not(.disabled):active, .show > .btn-outline-dark.dropdown-toggle {
    background-color: var(--content3);
    border-color: var(--content);
    color: #fff;
}

.btn-outline-dark.focus, .btn-outline-dark:focus {
    box-shadow: 0 0 0 .2rem rgba(30, 20, 19, .5);
}

.btn-outline-dark:not(:disabled):not(.disabled).active:focus, .btn-outline-dark:not(:disabled):not(.disabled):active:focus, .show > .btn-outline-dark.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(30, 20, 19, .5);
}

.dataTables_wrapper {
    color: #fff;
}

.page-link {
    background: var(--secondary);
    border-color: #edd973;
    color: #edd973;
    transition: --secondary .2s, --secondary2 .2s, all .5s;
    font-family: "America";
    font-size: 1.2rem;
}

.page-link:hover {
    border-color: #ec4f11;
    background: var(--secondary2);
    color: #ee3110;
    text-decoration: none;
    z-index: 2;
}

.page-item.active .page-link {
    background: #5a4723;
    border-color: #b29249;
    color: #ffffff;
    z-index: 1;
}

.page-item.disabled .page-link {
    background: #5a4723;
    border-color: #b29249;
    color: #ffffff;
    cursor: auto;
    pointer-events: none;
}

.nav-tabs {
    border-bottom: 1px solid #ffcb58;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background: #a98a44;
    border-color: #fa5210 #fa5210 #fa5210;
    color: #ffffff;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #ec4f05 #f35811 #f7560b;
}

.character-equipment td {
    border: none;
}

.box-description {
    color: #7e7975;
}

.box-icon-outline {
    -webkit-text-stroke: 1px var(--h1);
    -webkit-text-fill-color: transparent;
}

.box-icon-outline:hover {
    -webkit-text-fill-color: var(--h1);
}

.box-small-icon-alt .box-icon {
    border: 1px solid var(--h1);
}

.character-list {
    color: #fff;
}

.row-bordered:after {
    border-bottom: 1px solid #ffcb58;
}

.text-body, .text-muted {
    color: #7e7975 !important;
}

.server-event-timers, .server-unique-kills {
    max-height: 325px;
    overflow-y: auto;
}

.uniques, .globals {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.uniques .unique-image, .globals .player-image {
    background: transparent url("assets/images/latest-uniques-bg.png") round;
    border-radius: 5px;
    height: 100%;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unique-image:after {
    content: "";
    background: transparent url("../images/latest-uniques-bg-after.png") round;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.uniques .unique-data {
    font-size: .8rem;
}

.uniques .killed-at {
    display: block;
    font-size: 0.6rem;
}

.globals .global-data {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    gap: 5px;
    overflow: hidden;
}

.globals .global-data .global-message {
    height: 64px;
}

.globals .global-message {
    display: flex;
    align-items: center;
    gap: .75rem;
    /*max-width: 280px;*/
}

.globals .global-message .message {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.globals .player-name, .globals .player-name a {
    color: #fff;
}

.main-content .uniques .unique-name,
.main-content .globals .player-name {
    font-size: 1.3em;
}

.img-fluid-reverse {
    max-height: 100%;
    width: auto;
}

.file-size {
    color: var(--h1);
}

.file-size span {
    color: #fff;
}

.character-panel {
    border-radius: calc(1.25rem - 1px);
    border: #a58a43 2px solid;
}

.player-icon {
    width: calc(150px + calc(2vh * 2));
}

.table-bordered.character-information, .table-bordered.character-information td, .table-bordered.character-information th {
    border-color: #a58a43;
}

.border-radius-even {
    border-radius: calc(1.25rem - 1px);
}

.border-1 {
    border: #edd973 1px solid;
}

table.character-information {

}

.character-information td:first-child {
    width: 55%;
}

.character-equipment {
    width: 60%;
    margin: auto;

    .nav-tabs {
        border-bottom: 0;
        margin-bottom: 1rem;

        .nav-link {
            border: 1px solid transparent;
            border-radius: 0 0 .35rem .35rem;
        }
    }
}

.inventory-slots {
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center;
}

.inventory-slots .slots.right {
    width: auto !important;
}

.slots-items {
    display: flex;
    align-items: center;
    gap: 5px;
}

.slots-items .slots {
    clear: both;
    margin: 0;
    float: none;
    width: 100% !important;
}

.alert-danger {
    background: linear-gradient(to bottom, rgba(201, 54, 100, 0.93), rgba(191, 62, 57, 0.93));
    color: #fff;
    border: none;
}

.alert-success {
    background: linear-gradient(to bottom, rgba(206, 253, 70, 0.93), rgba(60, 254, 66, 0.93));
    color: #fff;
    border: none;
}

.h-100vh {
    height: 100vh;
}

.news-image {
    max-height: 100vh;
}

.professional-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.professional-modal.visible {
  display: flex;
}

.professional-modal-content {
  --farm-border-color: #9eb5ff; /* ← Change this to any color you like */
  background-color: #0000007a;
  color: #ffffff;
  border-radius: 40px;
  padding: 25px;
  max-width: 500px;
  width: 90%;
  margin: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

.professional-modal-content::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: linear-gradient(
    135deg,
    var(--farm-border-color),
    #000000,
    var(--farm-border-color)
  );
  border-radius: 45px;
  z-index: -1;
  background-size: 300% 300%;
  animation: borderAnimation 6s ease infinite;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

@keyframes borderAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header Section */
.professional-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.professional-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.modal-close-btn {
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: #222;
}

/* Body Section */
.professional-modal-body {
  font-size: 1rem;
  line-height: 1.7;
  overflow-y: auto;
  max-height: 60vh;
  -webkit-overflow-scrolling: touch;
}

.professional-modal-body ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.professional-modal-body li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.check-icon {
  color: #ffcc00;
  margin-right: 10px;
  font-size: 1rem;
}

/* Footer Buttons */
.professional-modal-footer {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-discord,
.btn-cancel {
  font-weight: 500;
  border-radius: 20px;
  font-size: 15px;
  padding: 12px 66px; /* Default for desktop */
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  min-width: 120px;
}




/* Responsive adjustment for mobile */
@media (max-width: 767px) {
  .btn-discord,
  .btn-cancel {
    padding: 12px 20px;
    font-size: 14px;
  }
}

.btn-discord {
  background-color: #5865F2;
  color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.btn-discord:hover {
  background-color: #9eb5ff;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

a.btn-discord:hover {
    color: #ffffff;
}

.btn-cancel {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ccc;
  box-shadow: none;
}

.btn-cancel:hover {
  background-color: #f5f5f5;
  color: #333;
  border-color: #bbb;
}


@media (min-width: 1200px) {
    .container {
        max-width: 1640px;
    }

    .col-xl-5 {
        flex: 0 0 38.666667%;
        max-width: 38.666667%;
    }

    .col-xl-7 {
        flex: 0 0 61.333333%;
        max-width: 61.333333%;
    }
}

@media (max-width: 991px) {
    .navbar {
        height: auto;
        align-items: start;
        background: linear-gradient(to bottom, rgba(44, 31, 30, 0.8), rgba(30, 20, 19, 0.8));
    }

    .nav-item {
        display: block;
        text-align: center;
        font-size: 0.9rem;
    }

    .character-information td:first-child {
        width: auto;
    }
}

@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
    }

    header {
        width: 90%;

        div:Nth-child(1) {
            margin-bottom: 7vh;

            img {
                width: 40vh;
            }
        }
    }

    .hidden-header {
        height: 200px;
    }

    footer {
        .content {
            width: 100%;
            flex-direction: column-reverse;
            align-items: center;
            justify-content: center;

            .branding {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;

                a {
                    justify-content: center;
                    text-align: left;
                }
            }

            .footer-items {
                flex-direction: column;
                align-items: center;
                text-align: center;
                justify-content: center;
                margin-bottom: 4vh;

                ul {
                    width: 40%;
                    margin-left: 0;
                    padding: 2vh;
                    display: flex;
                    align-items: center;
                    justify-content: start;
                    flex-direction: column;
                    text-align: center;
                }
            }
        }
    }

    .social {
        .content {
            width: 100%;

            div {
                flex-direction: column;
            }
        }

        .bg {
            img {
                width: 200%;
            }
        }
    }

    main {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .effect {
        display: none;
    }

    body {
        background-size: auto;
    }

    .news--page {
        width: 90%;
        margin: 0 auto;
    }

    .article {
        width: 90%;
        text-align: center;
        margin: 0 auto;

        ul {
            li {
                justify-content: center;
            }
        }
    }

    .news-container .post-box {
        width: 100%;
    }

    .character-equipment {
        width: 80%;
        margin: auto;
    }
}

.full-viewport-bg {
    /* This forces the image to stretch and cover the entire screen */
    background-size: cover !important;
    
    /* This centers the Silkroad characters so they don't slide to the left */
    background-position: center center !important;
    
    /* Prevents the image from repeating if the content is long */
    background-repeat: no-repeat !important;
    
    /* Keeps the background "stuck" to the screen while you scroll */
    background-attachment: fixed !important;
    
    /* Ensures the body actually fills the screen height */
    min-height: 100vh;
}