.fond_route {
    max-width: 500px;
    min-width: 300px;
    max-height: 500px;
    min-height: 300px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 40px 0 #ffffffaf;


}

.fond_route {
    position: relative;
    background: #000;

}

.fond_route .route .ligne {
    width: 100%;
    height: 100%;


}

.fond_route .route .ligne .dot {
    width: 15px;
    height: 50px;
    background: #fff;
    border-radius: 20px;
    margin: 50px;

}

.fond_route .bus {
    position: absolute;
    bottom: 50px;
    animation: bus_arrival 4s ease;
}

.fond_route .bus span {

    z-index: 9;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(0, 0, 0);
    animation: time 2s linear infinite 4s both;



}

@keyframes time {
    0% {
        color: rgb(0, 0, 0);
    }

    45% {
        color: rgba(255, 255, 255, 0);
    }

    55% {
        color: rgb(0, 0, 0);
    }

    100% {
        color: rgb(0, 0, 0);
    }

}

.fond_route .bus img {
    width: auto;
    height: 140px;
    left: auto;
    right: auto;
    filter: drop-shadow(2px 2px 2px gray);



}


@keyframes bus_arrival {
    0% {
        transform: rotate(10deg) scale(1);
        left: 100px;
        bottom: -150px;
    }

    50% {
        left: 70%;
        transform: rotate(-10deg) scale(1);
        bottom: 0px;
    }

    100% {
        transform: rotate(0deg) scale(1);
        left: 50%;
        transform: translateX(-50%);
        bottom: 50px;
    }
}

/*
        animate dot infinity
        */

.fond_route .route .ligne {
    animation: dot .5s infinite linear;
}

@keyframes dot {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(100px);
    }
}


.arrets {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 90%;
    margin-top: 0px;
    animation: arrets 5s linear;
    padding-bottom: 100px;
}

.arrets .arrets_range {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: -100px;
}

.arrets .arrets_range .arret {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    color: #fff;
    background-color: #4a5181;
    border-radius: 10px;
    box-shadow: inset 0 0 40px 0 #000000af;
    padding: 10px;
}

.current_arret {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    background-color: #fff;
    color: #000;
    border-radius: 10px;
    box-shadow: inset 0 0 40px 0 #000000af;
    padding: 10px;
    animation: current_iluminate 6s linear;
}

@keyframes current_iluminate {
    0% {
        color: #fff;
        background-color: #4a5181;
    }

    90% {
        color: #fff;
        background-color: #4a5181;
    }

    100% {
        background-color: #fff;
        color: #000;
    }
}

.arrets .arrets_range .arret h2 {
    font-size: 20px;
    text-align: center;
}

.arrets .arrets_range .arret:first-child {
    margin-top: 150px;
}

.arrets .arrets_range .current_arret:first-child {
    margin-top: 150px;
}

.break-flex {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

@keyframes arrets {
    0% {
        margin-top: -1000px;
    }

    50% {
        margin-top: -1000px;

    }

    100% {
        margin-top: 0px;


    }
}