*, body {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #C1C6CD;
    font-family: PingFang SC;
}

body {
    background: #021B3A;
}

.container {
    width: 94%;
    margin-left: 3%;
    margin-right: 3%;
    /*margin-top: 1rem;*/
}

ul {
    width: 100%;
    height: 100%;
}

li {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    height: 3rem;
    line-height: 3rem;
}

li:nth-child(even) {
    background: #1D2D4D;
    border-radius: 0.1rem;
}


li:nth-child(1) {
    background: #021B3A;
    border-radius: 0.1rem;
}

li:nth-child(2) {
    margin-top: 3rem;
}

li > div:nth-child(1) {
    flex: 3;
    font-size: 1.33rem;
    text-align: left;
    margin-left: 0.5rem;
}

li > p {
    /*flex: 3;*/
    font-size: 0.55rem;
    text-align: left;
    margin-left: 0.5rem;
    width: 60%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

li > div:nth-child(2) {
    flex: 3;
    text-align: center;
    font-size: 1.33rem;
}

li:last-child {
    margin-bottom: 6rem;
}

div > img {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    transform: translateY(-10%);
    margin-left: .3rem;
}

.line-name, .speed {
    font-size: 0.55rem;
}


.speed-start {
    position: fixed;
    left: 0;
    right: 0;
    border: 0;
    bottom: 1.5rem;
    width: 50%;
    margin: auto;
    height: 3rem;
    background: #00BB8C;
    border-radius: 0.2rem;
    font-size: 1.2rem;
    box-shadow: 0 0 1rem rgba(6, 16, 29, 0.52);
}

.connect {
    display: inline-block;
    border-radius: 0.1rem;
    border: 0;
    background: #00BB8C;
    padding-left: .5rem;
    padding-right: .5rem;
    margin-left: .3rem;
    float: right;
    margin-top: 1rem;
    margin-right: .5rem;
}

.loading {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 14.17rem;
    height: 8.67rem;
    background: #26375A;
    opacity: 1;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    justify-items: center;
    align-items: center;
}

.loading > div > img {
    width: 3rem;
    height: 3rem;
    animation: loop 2s linear infinite;
}

@keyframes loop {
    0% {
        transform:rotate(0deg);
    }

    100% {
        transform:rotate(360deg);
    }
}

.loading > p {
    margin-top: .5rem;
    text-align: center;
}