:root {
    font-size: 10px;
}

* {
    padding: 0;
    margin: 0;
}

body {
    background-color: black;
    font-size: 5.5rem;
    font-family: arial, sans;
}

#banner {
    box-sizing: border-box;
    height: 10rem;
    color: white;
    margin: 0.8rem;
}

#banner img {
    height: 7rem;
    margin: 1.5rem;
    float: left;
}

#banner .text {
    padding-top: 1.8rem;
    margin-left: 1rem;
    float: left;
}

#banner .time {
    padding-top: 1.8rem;
    margin-right: 1rem;
    float: right;
}

.route {
    margin: 0.8rem;

}

.route img {
    height: 10rem;
    float: left;
}

.destination {
    box-sizing: border-box;
    height: 10rem;
    background-color: white;
    padding-top: 1.4rem;
    padding-left: 11rem;
    white-space: nowrap;
    overflow: clip;
}

.destination:first-child {
    border-radius: 5rem 5rem 0 0;
}

.destination:last-child {
    border-radius: 0 0 5rem 5rem;
}

.destination:only-child {
    border-radius: 5rem 5rem 5rem 5rem;
}

.destination .text {
    color: black;
    margin-right: 1.6rem;
}

.destination .seperator {
    color: grey;
    display: none;
}

.destination .combined {
    display: inline-block;
    color: white;
    min-width: 8rem;
    padding: 0.4rem;
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    background-color: #777;
    box-sizing: border-box;
    border-radius: 0.4rem;
    text-align: center;
}

.destination .combined:first-child {
    background-color: #333;
}

.combined.rainbow {
    background: linear-gradient(180deg, rgb(255, 80, 80), rgb(255, 194, 80), rgb(255, 255, 80), rgb(80, 255, 80), rgb(80, 80, 255), rgb(182, 80, 255));
    color: black;
}

#footer {
    text-align: center;
    font-size: 1.4rem;
    color: grey;
    margin-top: 2rem;
    padding: 2rem 0;
}

#footer a {
    color: grey;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

#footer a:hover {
    text-decoration: underline;
}


@keyframes rainbowBackground {
    0% { background-color: rgb(100, 0, 0); }
    8% { background-color: rgb(99, 64, 0); }
    16% { background-color: rgb(99, 99, 0); }
    25% { background-color: rgb(64, 99, 0); }
    33% { background-color: rgb(0, 100, 0); }
    41% { background-color: rgb(0, 100, 64); }
    50% { background-color: rgb(0, 100, 100); }
    58% { background-color: rgb(0, 64, 100); }
    66% { background-color: rgb(30, 30, 107); }
    75% { background-color: rgb(72, 26, 99); }
    83% { background-color: rgb(100, 0, 100); }
    91% { background-color: rgb(100, 0, 64); }
    100% { background-color: rgb(100, 0, 0); }
}

body.rainbow-alert {
    animation: rainbowBackground 10s linear infinite;
}