@font-face {
  font-family: 'Superstar';
  src: url('../font/superstar.ttf') format('ttf'),
        url('../font/superstar.woff2') format('woff2'), /* Best for modern browsers */
       url('../font/superstar.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body{
    background-image: url('../img/bg-leaderboard-website.gif');
    font-family: "Superstar", serif;
}

.color-white{
    color: white;
}

.color-haru{
    color: #ff40ab
}

.f-4{
    font-size: 3.5em;
}

.f-55{
    font-size: 3em;
}


.f-45{
    font-size: 2.5em;
}

.color-top1{
    color:#f3c325 !important;
}

.color-top2{
    color:#f39325 !important;
}

.color-top3{
    color:#f35f25 !important;
}

.color-normal-score{
    color:#37df3f !important;
}

.color-console{
    background-color:#080a08 !important;
}

.w-50{
    width: 50%;
}

.w-40{
    width: 40%;
}

.w-5{
    width: 5%;
}


.w-10{
    width: 10%;
}

.text-left{
    text-align: left !important;
}

.w-20{
    width: 20%;
}

.leader-container{
    margin: 0 auto;
    display: flex;
    text-align: center;
    background-color: #0f0e0f;
    flex-direction: column;
    justify-content: center;
    padding-left: 5px;
    width: 90%;
}

.leader-container > h1{

    font-size: 65px;
}

.leader-scores-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    color: white;
    height: 80px;
}

#dv-scores {
    position: relative; /* Needed for pseudo-elements or accurate animation */
}

/* Keyframes for the pulse effect */
@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 223, 79, 0.7); /* Starting color/intensity */
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); /* Expanding and fading out */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); /* Reset for next loop */
    }
}

/* Apply the animation to the container (or a specific indicator div) */
#dv-scores.refresh-indicator {
    animation: pulse-border 2s infinite; /* 2s duration, infinite loop */
    /* You might want a slightly thicker border or different base style */
    border: 2px solid rgba(39, 223, 79, 0.7); /* A subtle base border */
}

/* Example for a specific div if you don't want to animate the whole container */
.refresh-status-indicator {
    position: absolute; /* Position it relative to the parent */
    top: -5px; /* Adjust to sit just outside the container */
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 5px solid transparent; /* The animated border thickness */
    border-radius: 10px; /* Match parent's border-radius or make it slightly larger */
    pointer-events: none; /* Make sure it doesn't interfere with clicks */
    animation: pulse-border 2s infinite;
}

  @media (max-width: 767px) {
        
        .leader-container > h1{

            font-size: 45px;
        }    
        .f-55{
            font-size: 1.5em;
        }


        .f-45{
            font-size: 1em;
        }

        .leader-container{
            width: 95%;
        }
        .f-4{
            font-size: 1.3em;
        }

    }