
.road-container {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.buildings-container {
    position: absolute;
    bottom: -150px;
    left: 100%;
    height: 100%;
    display: flex;
    will-change: transform;
    overflow: hidden !important;
}

.building {
    height: 70%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    /* Para evitar distorção */
}

.road {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 50px;
    background: repeating-linear-gradient(90deg, #444 0%, #444 20%, #666 20%, #666 40%);
    background-size: 50px 100%;
    animation: roadMove 0.5s linear infinite;
    z-index: 2;
    will-change: transform;
}


@keyframes roadMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50px);
    }
}

.road.paused {
    animation: none;
    display: none;
    /* Para a animação */
}

.carro {
    position: absolute;
    bottom: -30px;
    z-index: 3;
    width: 170px;
}



.car_container_popup{
    position: absolute;
    transform:  translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 320px;
    display: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}



.tour-popup_carro {
    padding: 20px;
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: auto;
    font-family: 'Arial', sans-serif;
    text-align: center;
    animation: element_car_tour 0.7s ease-in-out;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}


.__car_container{
 
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


