html, body {
    min-height: 100dvh;
    scroll-behavior: smooth;
}


.background {
    background-image: var(--background);
    background-repeat: no-repeat;
    background-size: cover;
}
* {
    font-family: 'prompt';
    font-size: 15px;
}
::-webkit-scrollbar {
    width: 6px;
    height: 2px;

}
::-webkit-scrollbar-thumb {
    background-color: rgb(var(--gray-color),.6);
    border-radius: .5rem;
    background-color: #CA3000;
}

.breadcrumb-list::-webkit-scrollbar {
    display: none;
}
.breadcrumb-list {
    cursor: default;
    list-style: none;
    display: flex;
    white-space: nowrap;
    overflow: auto;
    align-items: center;
    height: 45px;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}
.breadcrumb-item:nth-child(n + 2)::before {
    content: ">";
    padding-right: 0.25rem;
}
/* .breadcrumb-item */
.breadcrumb-item a {
    text-decoration: none;
}
.breadcrumb-item.active a {
    color: #00a3ff;
}

.checkbox {
    display: none;
}

.slider {
    width: 60px;
    height: 30px;
    background-color: lightgray;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 4px solid transparent;
    transition: .3s;
    box-shadow: 0 0 10px 0 rgb(0, 0, 0, 0.25) inset;
    cursor: pointer;
}

.slider::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateX(-30px);
    border-radius: 20px;
    transition: .3s;
    box-shadow: 0 0 10px 3px rgb(0, 0, 0, 0.25);
}

.checkbox:checked ~ .slider::before {
    transform: translateX(30px);
    box-shadow: 0 0 10px 3px rgb(0, 0, 0, 0.25);
}

.checkbox:checked ~ .slider {
    background-color: #2196F3;
}

.checkbox:active ~ .slider::before {
    transform: translate(0);
}

/* DATATABLE */
.dataTable .dt-column-title {
    font-weight: normal;
    font-size: 1rem;
}
.dataTable tr {
    border-bottom: 1px solid rgb(0, 0, 0, 0.1);
}
.jcr-game-image {
    aspect-ratio: 1 / 1;
}

.jcr-bg-selection::after {
    z-index: -1;
    position: absolute;
    content: '';
    width: 4000px;
    height: 2000px;
    right: -40%;
    background-color: #CA3000;
}

.disable-util::-webkit-inner-spin-button,
.disable-util::-webkit-outer-spin-button
{
    display: none;
}

@keyframes FadeOut {
    from {
        opacity: .5;
        transform: scale(.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.jcr-fade-out {
    animation: FadeOut 1s;
    transition-timing-function: cubic-bezier(0, 0, 0, 1.73);
}

.jcr-gradient-news {
    background: linear-gradient(black, black) padding-box,
        linear-gradient(to bottom, #FF0000, #FF4C25, #FFBE5D) border-box;
    border: 4px solid transparent;
}

.jcr-navbar {
    position: relative;
    /* overflow: hidden; */
    display: grid;
    justify-content: space-between;
    grid-template-areas:
    'button logo user'
    'search search search'
    'menu menu menu';
    max-width: 1024px;
    margin-inline: auto;
}
.jcr-navbar-btn {grid-area: button;}
.jcr-navbar-logo {grid-area: logo;}
.jcr-navbar-search {grid-area: search;}
.jcr-navbar-user {grid-area: user;}
.jcr-navbar-menu {
    grid-area: menu;
}

/* Game */
.jcr-game-banner {
    background-image: var(--url);
    background-repeat: no-repeat;
    background-position: bottom center;
    border-radius: 1rem;
}

@keyframes navbar-slide {
    from {
        display: none;
        width: 0;
        margin-right: 1rem;
    }
    to {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .user-menu.open {
        transform: translateX(0);
    }
    .user-menu {
        display: none;
        transition: .2s;
    }
    /* .navbar.oepn {
        position: fixed;
    } */
    .jcr-navbar-menu.open {
        --tw-gradient-from: #CA3000 var(--tw-gradient-from-position);
        width: 100%;
        display: block;
        animation: navbar-slide .2s ease-in;
    }
    .navbar-menu-open {
        width: 100%;
        display: block;
        animation: navbar-slide .2s ease-in;
    }
    /* .navbar .jcr-navbar-menu {
        display: none;
        grid-area: menu;
        width: 100%;
        overflow: hidden;
        text-wrap: nowrap;
        transition: .2s;
    } */
    .jcr-navbar-menu {
        display: none;
        grid-area: menu;
        width: 100%;
        overflow: hidden;
        text-wrap: nowrap;
        transition: .2s;
    }
}
@keyframes expand {
    from {
      opacity: 0;
      max-height: 0;
      margin-top: -10px;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      margin-top: 0;
      max-height: 100vh;
      transform: scale(1);
    }
  }

@media (min-width: 768px) {
    .user-menu.open {
        display: block;
    }
    .user-menu {
        display: none;
        animation: expand 0.3s ease;
    }

    .jcr-bg-selection::before {
        z-index: -1;
        position: absolute;
        content: '';
        width: 4000px;
        height: 2000px;
        top: 20%;
        left: -20%;
        background-color: #CA3000;
        transform: rotate(5deg);
    }
    .jcr-bg-selection::after {
        top: 35%;
        right: -40%;
        transform: rotate(-10deg);
    }

    .jcr-navbar {
        display: grid;
        justify-content: space-between;
        grid-template-areas:
        'logo search user'
        'menu menu menu';
    }
    .jcr-navbar-btn {display: none;}
}
@media (min-width: 1200px) {
    .jcr-bg-selection::before {
        top: 25%;
        left: -20%;
        background-color: #CA3000;
    }
    .jcr-bg-selection::after {
        top: 45%;
        right: -40%;
    }
}
@media (min-width: 1600px) {
    .jcr-bg-selection::before {
        top: 25%;
        left: -15%;
    }
    .jcr-bg-selection::after {
        top: 45%;
        right: -20%;
    }
}
@media (min-width: 2000px) {
    .jcr-bg-selection::before {
        top: 20%;
        left: -6%;
    }
    .jcr-bg-selection::after {
        top: 30%;
        right: -25%;
    }
}
