:root {
    --smaller-font: 0.7rem;
    --small-font: 0.87rem;
    --normal-font: 1rem;
    --medium-font: 1.1rem;
    --large-font: 1.7rem;
    --x-large-font: 2rem;
    --bg-color: #131313;
    --text-first: #fafafa;
    --text-second: #0a0a0a;
    
    --first-color: #005499;
    --second-color: #003968;
    --third-color: #0053a0;
    --fourth-color: #003e86;
    --fifth-color: #002550;
    --g1: #0053a0;
    --g2: #003e86;
    --slider-background: #003e86;
}

body {
    background: var(--bg-color);
    color: var(--text-first);
}

.floating-buttons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

.floating-buttons .btn {
  width: 70px;
  height: 70px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
    width: 19rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.9rem;
    margin-bottom: 1rem;
}

.rtp-card {
    background: linear-gradient(0deg, var(--first-color) 0%, var(--fifth-color) 100%);
    padding: 0.7rem;
    text-align: center;
    width: 24rem;
    max-width: 100%;
    height: 100%;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 1;
}

.rtp-card-img {
    max-width: 100%;
    width: 29rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

.place-img-rtp {
    width: 100%;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-items: center;
    border-radius: 5px;
    box-shadow: 1px 0px 4px 2px #131313 inset;
}

.place-img-rtp:hover {
    cursor: pointer;
}

.btn-play {
    position: absolute;
    top: 50%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
    z-index: 10;
    border: none;
    border-radius: 5px;
    padding: 0.3rem;
    width: 12rem;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: capitalize;
    max-width: 70%;
    border: 2px solid var(--first-color);
    background: linear-gradient(0deg, var(--g1) 0%, var(--g2) 100%);
    color: var(--text-first);
}

.btn-play:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.pola-wrapper {
    background: var(--text-second);
    padding: 0.9rem;
    width: 14rem;
    max-width: 100%;
    border-radius: 5px;
    position: relative;
}

.pola-wrapper h4 {
    font-size: 0.9rem;
}

.pola-wrapper h5 {
    font-size: 0.7rem;
}

.pola-wrapper h4 i, .pola-wrapper h5 i {
    color: var(--first-color);
}

.jam-wrapper {
    background: #131313;
    border-radius: 50%;
    padding: 0.6rem;
}

.table-pola {
    max-width: 100%;
    width: 9rem;
}

.table-pola tr td {
    text-align: center;
    font-size: 0.7rem;
}

.top-game, .hot-game {
    background-repeat: no-repeat !important;
    position: absolute;
    width: 3rem;
    top: 0rem;
    height: 2.9rem;
    left: 0.4rem;
    z-index: 2;
}

.top-game {
    background: url('/images/top.gif');
}

.hot-game {
    background: url('/images/hot.gif');
}

.provider-scroll-wrapper {
    white-space: nowrap;
    padding: 10px 0;
}

.provider-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .provider-img {
        width: 60px;
        height: 60px;
    }
}

#provider-items::-webkit-scrollbar {
  height: 6px; /* smaller height for horizontal scroll */
}

#provider-items::-webkit-scrollbar-thumb {
  background: #ccc;       /* thumb color */
  border-radius: 10px;    /* rounded thumb */
}

#provider-items::-webkit-scrollbar-track {
  background: transparent; /* or a light color if needed */
}

.swiper {
    width: 100%;
    height: 250px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .swiper {
        height: 500px; /* for tablets and desktops */
    }
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--slider-background);
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Optional: Navigation and pagination styles */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet {
    background: #fff;
}

.running-text {
    background: var(--g1);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--text-first);
    padding: 0.1rem;
}

.icon-prov {
    background: linear-gradient(0deg, var(--first-color) 0%, var(--g2) 100%);
    display: flex;
    justify-content: center;
    position: relative;
    overflow: auto !important;
}

.icon-card-bg {
    cursor: pointer;
    padding: 0.1rem !important;
    color: var(--text-first);
}

.icon-card-bg p {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--text-first);
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
}

.img-prov {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.item-prov {
    padding: 0 0.5rem;
}

.nav-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index: 11;
    overflow: hidden;
    width: 100%;
    border-top: 3px solid var(--second-color);
}

.item-nav-bottom {
    background: linear-gradient(0deg, var(--g2) 0%, var(--first-color) 100%);
    color: var(--text-first);
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.3rem;
}

.item-nav-bottom:hover {
    background: linear-gradient(0deg, var(--first-color) 0%, var(--g2) 100%);
    cursor: pointer;
}

.item-nav-bottom p {
    margin: 0;
    padding: 0;
    margin-bottom: 0;
}

.btn-up {
    display: none;
    position: fixed;
    bottom: 3.8rem;
    right: 0;
    z-index: 99;
    font-size: 0.9rem;
}

/* Percentage */
.percent{
    height: 19px;
    margin-top: 10px !important;
    display: flex;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    /* border-radius: .25rem; */
    position: relative;
    z-index: 1;
    border-radius: 5px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.percent p{
    z-index: 15;    
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 13px;
    top: -15px;
    font-weight: bold;
    transform: translateY(14px);
    color: black;
}

.percent-bar{
    /* background-color: #ffc107; */
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-size: 1rem 1rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    /* background-color: #007bff; */
    transition: width .6s ease;
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 1s linear infinite;
    /* animation: ; */
    z-index: 10;
}

.good{
    background-color: #ffc107;
}

.great{
    background-color: #28a745;
}

.bad{
    background-color: #dc3545;
}

.content-home {
    padding: 1rem;
    margin-bottom: 4rem;
    background: var(--text-first);
    color: var(--text-second);
}

.icon-providers {
    position: absolute;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 2rem;
    top: 0.5rem;
    right: 0.5rem;
}

.icon-providers img {
    width: 1.7rem;
}

.loader {
  border: 8px solid #f3f3f3; /* Light grey background */
  border-top: 8px solid #3498db; /* Blue color for the top section */
  border-radius: 50%; /* Make it circular */
  width: 50px; /* Width of the spinner */
  height: 50px; /* Height of the spinner */
  animation: spin 2s linear infinite; /* Rotate animation */
  margin: auto; /* Center the loader */
  position: fixed; /* Fix the loader in place */
  top: 50%; /* Center vertically */
  left: 43%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Fine-tune centering */
  z-index: 1000;
}

/* Animation for spinning */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.provider-item.active {
  background-color: #3498db; /* Change this to your preferred color */
  color: white; /* Optional, to change text color */
  border-radius: 8px; /* Optional, to make it rounded */
}