body {
    overflow: hidden;
    background: #000000;
    color: #fff;
    font-family: Cousine;
}

thead {
    color: #fff;
}

.errorbar {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    margin: 0;
    padding: 5px;
    font-size: 60px;
    display: none;
}

.backups td:nth-child(1),
.backups td:nth-child(2) {
    white-space: nowrap;
}

.backups td:nth-child(3) {
    white-space: normal;
}

#legend {
    position: fixed;
    top: 0;
    left: 0;
    font-size: 24px;
}

#legend .badge {
    margin-right: 5px;
}

#clock {
    position: fixed;
    bottom: 87px;
    right: 0;
    width: 500px;
    height: 80px;
    color: #fff;
    font-size: 60px;
    text-align: center;
    padding-top: 0px;
    font-family: 'Courier New', Courier, monospace;
}

#clock small {
    font-size: 35px;
    position: relative;
    top: -5px;
}

#astronaut {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 500px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.running .badge {
    font-size: 21px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.overdue .badge {
    font-size: 14px;
    margin-right: 6px;
    margin-bottom: 6px;
}

.blink {
    animation: blinker 3s linear infinite;
}

.flash {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.creply {
    color: #fff;
    animation: flasher 0.5s linear infinite;
    font-weight: 900;
}

.scoreboard {
    width: 40%;
    bottom: 0;
    position: absolute;
    left: 30%
}

.scoreboard h1 {
    font-size: 50px;
    margin-bottom: 0;
    margin-top: 0;
}

#incomingcall {
    background: #FF0000;
    animation: flasher 0.5s linear infinite;
    color: #FFFFFF;
    font-size: 60px;
    text-decoration: italic;
    position: absolute;
    bottom: 0;
    height: 75px;
    width: 100%;
}

@keyframes flasher {
    0% {
        background: red;
    }

    14% {
        background: red;
    }

    15% {
        background: black;
    }

    24% {
        background: black;
    }

    25% {
        background: red;
    }

    34% {
        background: red;
    }

    35% {
        background: black;
    }

    49% {
        background: black;
    }

    50% {
        background: blue;
    }

    64% {
        background: blue;
    }

    65% {
        background: black;
    }

    74% {
        background: black;
    }

    75% {
        background: blue;
    }

    84% {
        background: blue;
    }

    85% {
        background: black;
    }

    100% {
        background: black;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.badge-pulse {
    display: inline-block;
    animation: pulse 1s infinite;
}
.bg-perfect {
    background: linear-gradient(45deg, #d4af37, #ffd700, #b8860b);
    background-size: 400% 400%;
    color: black;
    animation: shine 5s linear infinite;
    border: 2px solid #ffd700;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.8);
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}