body, html {
    scroll-behavior: smooth;
    background-color: #1C241D;
    font-family: "Instrument Sans", sans-serif;
}
.heart-color {
    color: rgb(244, 124, 124);
}
.twitch-color {
    color: #fff;
}

#navbar a.active-tab .heart-color, #navbar a.active-tab .twitch-color {
    color: black;
}
.orange-title {
    font-family: "Tektur", sans-serif;
    font-size:54px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(87.509deg, #F5990F 20%, #EA2D01 100%), linear-gradient(#F4900E, #EA2D01);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    box-shadow: 0px 16px 32px -4px rgba(12, 12, 13, 10%), 0px 4px 4px -4px rgba(12, 12, 13, 5%);
    line-height: 1em;
}
.zindex {
     z-index: 9999;
}
#navbar {
    font-family: "Tektur", sans-serif;
    font-weight: 200;
    font-size:14px;
    background-color: rgba(10, 10, 10, 0.9);
    color: white;
    border-radius: 99px;
    z-index: 9999;
    margin-top: 20px;
}
#navbar a {
    padding: 0px 14px 1px;
}
#navbar .active-tab {
    font-weight: 600;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 6.6%, rgba(0, 0, 0, 0.6) 88.47%), #F4900E;
    background-blend-mode: overlay, normal;
    border-radius: 44px;
    color: black;
}
.section-main {
    background: url("../img/v2/Background-Hero.jpg");
    background-size: cover;
    background-position: center top;
    margin-top: -75px;
}
.main-text {
    font-size: 22px;
    color: #E5E1C4;
}
.section-scroller {
    font-family: "Tektur", sans-serif;
    background-color: #415541;
    background-image: url(../img/v2/scroll-bg.png);
    background-repeat: repeat;
    background-size: 720px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 25%);
}

.section-scroller-bottom {
    font-family: "Tektur", sans-serif;
    background-image: url(../img/v2/scroll-bg-40.png);
    background-repeat: repeat;
    background-size: 720px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.section-scroller img {
    max-width: 20px;
    max-height: 20px;
    margin-bottom: 3px;
}
.scroll-container {
    display: inline-block; /* Keep all scroll items on the same line */
    animation: scrollLeft 15s linear infinite; /* 10s is the speed of the scroll */
}
.scroll-item {
    color: white;
    display: inline-block;
    margin-right: 50px; /* Space between the items */
    white-space: nowrap; /* Ensure text doesn't break */
    font-size: 27px;
}

.scroll-item-bottom {
    color: #858785;
    display: inline-block;
    margin-right: 50px; /* Space between the items */
    white-space: nowrap; /* Ensure text doesn't break */
    font-size: 27px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(100vw); /* Start outside the right edge */
    }
    100% {
        transform: translateX(-65%); /* Move outside the left edge */
    }
}

.section-rules {
    background: url("../img/pattern-swatch.png");
}
.rules-header {
    font-size: 20px;
    font-family: "Instrument Sans", sans-serif;
}
.rules-subtext {
    color: #E5E1C4;
    font-size: 22px;
}
.section-hof {
    background: url("../img/v2/Background-Fame.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1793px;
    background-color: #161D17;
}

.section-spreadsheet {
    background: url("../img/v2/Background-Sheet.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1793px;
    background-color: #151B16;
}
.section-donate {
    background: url("../img/video-games-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.section-bottom-bar-scroller {
    background-color: #0B0F0C;
    box-shadow: inset 0px 3px 8px 0px rgba(0, 0, 0, 75%);
}
.section-legends-scroller {
    background-color: #F4900F;
}
.section-legends {
    background: url("../img/v2/Background-Legends.jpg");
   background-repeat: no-repeat;
    background-position: center top;
    background-size: 1793px;
    background-color: #1C241D;
}
.section-clips, .bg-swatch {
    background: url("../img/pattern-swatch-dark.png");
}
.ugc-footer {}

/* Container for the entire scroller, including arrows */
.hof-scroller-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%; /* Set to the width of the parent container */
}

.hof-scroller {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Optional, for smooth snapping between cards */
    -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on mobile */
    scroll-behavior: smooth;
    gap: 20px; /* Space between cards */
}

.hof-card {
    flex: 0 0 auto; /* Prevent cards from shrinking or stretching */
    width: 240px;
    margin: 0 20px;
    display: flex;  /* Set the card as a flex container */
    flex-direction: column; /* Stack the child elements vertically */
    //height: 100%; /* Allow the card to take up the full height of its parent */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.scroll-arrow.left {
    left: 10px;
}

.scroll-arrow.right {
    right: 10px;
}

.scroll-arrow i {
    font-size: 24px;
}

/* Optional: add hover effects for the arrows */
.scroll-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gradient-border {
    background: linear-gradient(90deg,
    #F4F3E7 0%,
    #F4900E 18%,
    #FFE7BE 50%,
    #F4900E 75%,
    #F8E2A6 100%
    );
    border-radius: 15px; /* Rounded corners */
    padding: 3px; /* Creates the border thickness */
    position: relative; /* Allows inner content positioning */
    display: inline-block; /* Ensures proper sizing */
}

.gradient-border > div {
    border-radius: 5px; /* Match the outer border-radius minus padding */
}
.hof-card {
    display: inline-block;
    width: 254px;
    margin: 0 20px;
}
.card-img {}
.card-img img.card-img {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    height: 377px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}
.card-img .trophy {
    bottom: 170px;
}
.card-data {
    background-color: #000;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    padding: 20px;
    background-size: cover;
}
.card-title {
    font-family: "Tektur", sans-serif;
    font-weight: 500;
    color: #E5E1C4;
    margin-bottom: 4px;
}
.card-datum {
    border-top: 1px solid #191919;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
}
.card-datum span.card-sub {
    color: #E5E1C4;
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
}
.dark-org {
    color: #F4900E !important;
}
.card-datum span {}

.custom-table {
    border-collapse: separate;
    border-spacing: 0 5px;
    color: #E5E1C4;
}
.custom-table thead {
    border-radius: 15px;
}
.custom-table thead tr {
    border: none !important;
}
.custom-table th {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: 200;
}
.custom-table td {
    padding: 10px;
}
.custom-table th:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.custom-table th:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.custom-table td {
    border-top: 2px solid rgba(255, 255, 255, .15);
    border-bottom: 2px solid rgba(255, 255, 255, .15);
}

.custom-table td:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-left: 2px solid rgba(255, 255, 255, .15);
}

.custom-table td:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-right: 2px solid rgba(255, 255, 255, .15);
}

.custom-table tr {
    background-color: rgba(0, 0, 0, 0.10);
}
.custom-table tr.alt {
    background-color: rgba(0, 0, 0, 0.5);
}
.custom-table tr.load-more {
    background-color: rgba(255, 255, 255, 0.05);
}

@media screen and (max-width: 1000px) {
    #navbar {
        display: none !important;
    }
}
.donate-input {
    background-color: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
    color: rgba(229, 225, 196, 0.4);
    border-radius: 5px;
    text-align: center;
}
.ugc-btn {
    background-color: #E6E2C6;
    color: black;
    border-radius: 50px;
    padding: 10px;
    font-weight: bold;
}
.donate-color {
    color: #E5E1C4;
}
.subtext-header {
    font-size: 20px;
    font-family: "Instrument Sans", sans-serif;
    font-weight: 600;
}
.subtext {
    color: #E5E1C4;
    font-size: 20px;
    margin-bottom: 80px;
}
.subtext-sm {
    font-size: 14px;
    color: #E5E1C4;
}

.form-elm {
    display: block;
}
.form-elm label {
    display: block;
}
.game-preview .hof-card {
    height: 430px;
}

.td.game-title [
    font-family: "Tektur", sans-serif;
]

.ugc-footer-days {
    color: #858785;
    background-color: #0B0F0C;
    font-size: 27px;
}

.dt-layout-row:has(.dt-search),
.dt-layout-row:has(.dt-length),
.dt-layout-row:has(.dt-paging) {
    display: none !important;
}

#table_filter {
    float: right;
}
#table_paginate {
    float: right;
}
.sheet-bg {
    background-color: rgba(65, 85, 65, 0.95);
}
.dt-column-order::before {
    margin-bottom: 4px;
}

.ql-toolbar {
    background-color: white;
    border-top-right-radius: .75rem;
    border-top-left-radius: .75rem;
}

.cursor {
    cursor: pointer; /* Changes the cursor to a hand icon */
}

.viewbox {
    ul {
        list-style-type: disc !important;
        margin-block-start: 1em !important;
        margin-block-end: 1em !important;
        padding-inline-start: 40px !important;
    }
    ol {
        list-style-type: decimal !important;
        margin-block-start: 1em !important;
        margin-block-end: 1em !important;
        padding-inline-start: 40px !important;
    }
    h1 {
        font-size: 2em !important;
        font-weight: bold !important;
    }
    h2 {
        font-size: 1.5em !important;
        font-weight: bold !important;
    }
    h3 {
        font-size: 1.17em !important;
        font-weight: bold !important;
    }
    a {
        text-decoration: underline !important;
    }
}