body {
    font-family: Arial, sans-serif;
    background: url('./assets/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #F8F4F1;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    background-blend-mode: multiply;
    background-color: rgba(6, 10, 61, 0.8);
    height: 100vh!important;
    padding-top: 20px;
    min-height: 100vh;
    max-height: 100vh;
}


h1 {
    font-size: 3vw;
    color: #FF6E00;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}


table {
    border: 2px solid #F8F4F1;
    border-radius: 10px;
    padding :10px;
    border-collapse: separate;
    background-color: #4e92ff43;
    border-spacing: 0 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
    max-width: 1000px;
    width: 100%;
}

tr {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    border-radius: 100vw;
    overflow: hidden;
}

th, td {
    padding: 10px;
    text-align: center;
    font-size: 1rem;
    color: #060A3D;
    flex: 1;
}

th {
    background-color: #044ED7;
    color: #F8F4F1;
    height: 100%;
    letter-spacing: 0.1em;
    font-size: 1.1rem;
}

.headerTable{
    background-color: #044ED7!important; }

tr{
    background-color: rgba(248, 244, 241, 0.7); }


td {
    border-bottom: 1px solid transparent;
}

td:first-child {
    font-weight: bold;
    font-size: 1rem;
    color: #060A3D;
}



.numberPlayer{
    font-weight: bold;
    font-size: 1.5vw;
    margin-bottom: 1rem;
}

.logo {
    width: 100vw;
    display: flex;
    text-align: center;
    position: relative;

}

.logo img {
    width: 10vw;
}

.svg-container {
 width: 90vw;
 margin-left: -5vw;
 z-index: 1000;
}

.svg-container h1 {
  text-align: center;

}

.svg-container h1 {
    position: relative;
    z-index: 1;
    margin: 0;
}

p{
    margin: 0;
    font-size: 1vw;
}


@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background:transparent;
    overflow: hidden;
}

.background span {
    width: 7vmin;
    height: 7vmin;
    border-radius: 7vmin;
    backface-visibility: hidden;
    position: absolute;
    animation: move;
    animation-duration: 45;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


.background span:nth-child(0) {
    color: #0d27cd;
    top: 81%;
    left: 79%;
    animation-duration: 48s;
    animation-delay: -38s;
    transform-origin: -15vw 8vh;
    box-shadow: 14vmin 0 2.659679591298369vmin currentColor;
}
.background span:nth-child(1) {
    color: #ff6e00;
    top: 48%;
    left: 31%;
    animation-duration: 38s;
    animation-delay: -45s;
    transform-origin: -13vw -12vh;
    box-shadow: -14vmin 0 1.9304305709067373vmin currentColor;
}
.background span:nth-child(2) {
    color: #ff6e00;
    top: 55%;
    left: 30%;
    animation-duration: 6s;
    animation-delay: -3s;
    transform-origin: 16vw -15vh;
    box-shadow: -14vmin 0 2.7288506156713077vmin currentColor;
}
.background span:nth-child(3) {
    color: #ff6e00;
    top: 67%;
    left: 91%;
    animation-duration: 30s;
    animation-delay: -5s;
    transform-origin: -9vw 5vh;
    box-shadow: 14vmin 0 2.6177301521948273vmin currentColor;
}
.background span:nth-child(4) {
    color: #ff6e00;
    top: 33%;
    left: 54%;
    animation-duration: 35s;
    animation-delay: -13s;
    transform-origin: -9vw -6vh;
    box-shadow: -14vmin 0 2.0767857144069373vmin currentColor;
}
.background span:nth-child(5) {
    color: #ff6e00;
    top: 11%;
    left: 38%;
    animation-duration: 46s;
    animation-delay: -49s;
    transform-origin: 0vw -1vh;
    box-shadow: -14vmin 0 1.7545189885639794vmin currentColor;
}
.background span:nth-child(6) {
    color: #ff6e00;
    top: 52%;
    left: 44%;
    animation-duration: 26s;
    animation-delay: -20s;
    transform-origin: 21vw 15vh;
    box-shadow: -14vmin 0 2.2748766741730897vmin currentColor;
}
.background span:nth-child(7) {
    color: #ff6e00;
    top: 87%;
    left: 48%;
    animation-duration: 10s;
    animation-delay: -38s;
    transform-origin: -18vw -13vh;
    box-shadow: 14vmin 0 1.7650051247395278vmin currentColor;
}
.background span:nth-child(8) {
    color: #faf3ed;
    top: 70%;
    left: 29%;
    animation-duration: 36s;
    animation-delay: -16s;
    transform-origin: -7vw 23vh;
    box-shadow: 14vmin 0 2.344311021896589vmin currentColor;
}
.background span:nth-child(9) {
    color: #faf3ed;
    top: 23%;
    left: 76%;
    animation-duration: 49s;
    animation-delay: -22s;
    transform-origin: -16vw -21vh;
    box-shadow: 14vmin 0 2.4693159604561705vmin currentColor;
}
.background span:nth-child(10) {
    color: #0d27cd;
    top: 95%;
    left: 96%;
    animation-duration: 53s;
    animation-delay: -11s;
    transform-origin: 2vw -9vh;
    box-shadow: -14vmin 0 2.1264192709007443vmin currentColor;
}
.background span:nth-child(11) {
    color: #faf3ed;
    top: 6%;
    left: 29%;
    animation-duration: 27s;
    animation-delay: -47s;
    transform-origin: -9vw 17vh;
    box-shadow: 14vmin 0 2.680386116609607vmin currentColor;
}
.background span:nth-child(12) {
    color: #faf3ed;
    top: 73%;
    left: 63%;
    animation-duration: 13s;
    animation-delay: -29s;
    transform-origin: 6vw 25vh;
    box-shadow: -14vmin 0 2.3980086753291223vmin currentColor;
}
.background span:nth-child(13) {
    color: #faf3ed;
    top: 75%;
    left: 45%;
    animation-duration: 29s;
    animation-delay: -42s;
    transform-origin: 19vw 16vh;
    box-shadow: -14vmin 0 1.9439502058263973vmin currentColor;
}
.background span:nth-child(14) {
    color: #0d27cd;
    top: 57%;
    left: 4%;
    animation-duration: 8s;
    animation-delay: -14s;
    transform-origin: -7vw -13vh;
    box-shadow: -14vmin 0 2.251296746560431vmin currentColor;
}
.background span:nth-child(15) {
    color: #ff6e00;
    top: 19%;
    left: 9%;
    animation-duration: 32s;
    animation-delay: -36s;
    transform-origin: -2vw -8vh;
    box-shadow: -14vmin 0 2.7093343524185345vmin currentColor;
}
.background span:nth-child(16) {
    color: #0d27cd;
    top: 50%;
    left: 48%;
    animation-duration: 44s;
    animation-delay: -41s;
    transform-origin: 23vw -24vh;
    box-shadow: 14vmin 0 2.3982835212785663vmin currentColor;
}
.background span:nth-child(17) {
    color: #faf3ed;
    top: 16%;
    left: 82%;
    animation-duration: 27s;
    animation-delay: -36s;
    transform-origin: 0vw 3vh;
    box-shadow: -14vmin 0 2.1733108298756774vmin currentColor;
}
.background span:nth-child(18) {
    color: #0d27cd;
    top: 46%;
    left: 16%;
    animation-duration: 29s;
    animation-delay: -15s;
    transform-origin: 19vw -3vh;
    box-shadow: -14vmin 0 2.1179752272529795vmin currentColor;
}
.background span:nth-child(19) {
    color: #ff6e00;
    top: 1%;
    left: 94%;
    animation-duration: 10s;
    animation-delay: -18s;
    transform-origin: 19vw 16vh;
    box-shadow: -14vmin 0 1.9025014837909509vmin currentColor;
}


/* Reset Button */

.reset-button {
    background-color: #044ED7;
    color: #FFF;
    border: none;
    padding: 1vh 2vw;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 5rem;
}

/* ----------------------------------
   FLEX LAYOUT FOR VIDEO & LEADERBOARD
-------------------------------------*/

.main-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    z-index: 2;
}

/* Video column
.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-container video {
    width: 40vw;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.35);
} */

/* Leaderboard column */
.leaderboard-container {
    width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 10vw;
    max-width: 120px;
}

/* Make the table naturally shrink inside the column */
.leaderboard-container table {
    width: 100vw;
}

/* ----------  Responsive Adjustments  ---------- */
@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
        height: auto;
    }

    .video-container video,
    .leaderboard-container table {
        /* width: 80vw;
        max-width: 90vw; */
    }

    .logo-img {
        width: 20vw;
    }

    .numberPlayer {
        font-size: 3.5vw;
    }
}