.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: -100px;
    left: 100%;
    height: 100%;
    display: flex;
    will-change: transform;
    overflow: hidden !important;
}

.building {
    height: 100%;
    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: 0px;
    z-index: 3;
    width: 150px;
}



.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;
}


@keyframes element_car_tour {
    0% {


        opacity: 0;
        transform: scale(0.4);
    }

    100% {

        transform: scale(1.1);
        opacity: 1;
    }
}


#startTourButton {
    background-color: #0062cc;
    /* Azul mais suave e elegante */
    color: white;
    border: none;
    border-radius: 8px;
    /* Bordas mais arredondadas */
    padding: 10px 20px;
    /* Mais espaçamento para um botão mais confortável */
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    /* Suavidade na transição */
}

#closePopupButton {
    background-color: #dc3545;
    /* Vermelho refinado */
    margin-top: 10px;
    /* Espaçamento maior entre os botões */
    color: white;
    border: none;
    border-radius: 8px;
    /* Bordas arredondadas */
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.tour-popup_carro div:hover {
    background-color: #004a99;
    /* Cor de hover mais suave e harmoniosa */
}

.tour-popup_carro button:hover {
    background-color: #c82333;
    /* Suavidade no hover do botão vermelho */
}









/* CSS */
.__watch_yt_button-pushable {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: filter 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.__watch_yt_button-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: hsl(0deg 0% 0% / 0.25);
    will-change: transform;
    transform: translateY(2px);
    transition:
        transform 600ms cubic-bezier(.3, .7, .4, 1);
}

.__watch_yt_button-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(to left,
            #5a0901,
            #5a0800,
            #850c01,
            #6d0900)
}

.__watch_yt_button-front {
    display: block;
    position: relative;
    padding: 12px 27px;
    border-radius: 12px;
    font-size: 1.4rem;
    color: white;
    background: #400601;
    will-change: transform;
    transform: translateY(-4px);
    transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
}

@media (min-width: 768px) {
    .__watch_yt_button-front {
        font-size: 1.25rem;
        padding: 12px 42px;
    }
}

.__watch_yt_button-pushable:hover {
    filter: brightness(110%);
    -webkit-filter: brightness(110%);
}

.__watch_yt_button-pushable:hover .__watch_yt_button-front {
    transform: translateY(-6px);
    transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.__watch_yt_button-pushable:active .__watch_yt_button-front {
    transform: translateY(-2px);
    transition: transform 34ms;
}

.__watch_yt_button-pushable:hover .__watch_yt_button-shadow {
    transform: translateY(4px);
    transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.__watch_yt_button-pushable:active .__watch_yt_button-shadow {
    transform: translateY(1px);
    transition: transform 34ms;
}

.__watch_yt_button-pushable:focus:not(:focus-visible) {
    outline: none;
}