html {
    scrollbar-width: none;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    animation: flashEffect 0.2s linear;
    overflow-y: scroll;
}

body::-webkit-scrollbar {
    width: 0.1px;
}


@keyframes flashEffect {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar,
body {
    background: #369;
}


.navbar-brand {
    color: white;
    font-size: 27px;
    text-align: center;
    margin: auto;
    transition: transform 0.3s ease-in-out;
}

.navbar-brand:hover {
    color: white;
    transform: scale(1.1);
}

.nav-link:hover {
    color: white;
}

.nav-link {
    color: rgb(255, 255, 255);
}

.nav-link.active {
    color: #369 !important;
}

.tab-content {
    width: 70vw;
    align-content: center;
    margin: 20px auto;
}

.tab-content .list-group-item {
    color: #369;
}

@media (min-width:1200px) {
    .tab-content {
        width: 60vw;
    }

    .nav-link {
        font-size: larger;
    }

    .tab-content .list-group-item {
        background-color: #369;
        color: white;
        border: #369;
        font-size: large;
    }

    .tab-content .list-group-item:hover {
        background-color: white;
        color: #369;
    }

    .tab-pane .list-group-item{
        margin-bottom: 15px !important;
    }
}


@media (min-width:679px) and (max-width:1200px) {

    .tab-content .list-group-item {
        background-color: #369;
        color: white;
        border: #369;
        font-size: medium;
    }

    .nav-link {
        font-size: large;
    }

    .tab-content {
        width: 65vw;
    }

    .tab-content .list-group-item:hover {
        background-color: white;
        color: #369;
    }
    
    .tab-pane .list-group-item{
        margin-bottom: 13px !important;
    }
}

@media (max-width:678px) {

    .tab-content{
        width: 80vw;
    }

    .tab-pane .list-group-item{
        margin-bottom: 10px !important;
    }
}
.rank-number {
    position: absolute;
    left: 280px;          /* 控制数字距离左边的偏移，可根据视觉再微调，比如 10px 或 20px */
    font-weight: 800;    /* 加粗 */
    font-size: 1.2em;    /* 稍微大一点 */
}
