@charset "utf-8";
/* CSS Document */

.country-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.push-bottom {
    position: absolute;
    bottom: 0;
    height: 100%;
}

.bottom-ground {
    background: #8d773e;
    width: 102%;
    left: -1%;
    height: 60px;
    bottom: 0;
    position: absolute;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2) inset;
}

.street {
    background: #7a7a7a url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpg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rQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
    height: 80px;
    width: 102%;
    position: absolute;
    bottom: 0;
    box-shadow: 0 1px 16px rgba(111, 35, 51, 0.4) inset;
}

.street:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 10px;
    background: #cdbcb4;
    bottom: 0;
    border-bottom: 3px solid #72625a;
    z-index: 1;
}

.street:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 7px;
    background: #c2a99d;
    bottom: -7px;
    z-index: 1;
}

.street-stripe {
    background: #d4d4d4;
    height: 8px;
    width: 100px;
    position: absolute;
    bottom: 44px;
    border-radius: 2px;
    box-shadow: 200px 0 0 #d4d4d4, 400px 0 0 #d4d4d4, 600px 0 0 #d4d4d4, 800px 0 0 #d4d4d4, 1000px 0 0 #d4d4d4, 1200px 0 0 #d4d4d4, 1400px 0 0 #d4d4d4, 1600px 0 0 #d4d4d4, 1800px 0 0 #d4d4d4, 2000px 0 0 #d4d4d4;
}

.grass {
    height: 40px;
    width: 100%;
    background-color: #dbcac2;
    position: absolute;
    bottom: 60px;
}

.grass:before {
    position: absolute;
    content: '';
    top: 14px;
    left: 0;
    height: 8px;
    width: 100%;
    background-color: #b99f93;
}

.grass:after {
    position: absolute;
    content: '';
    top: -4px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #0aa;
    background: linear-gradient(135deg, transparent 25%, #0aa 25%);
    background-size: 10px 10px;
}

/*styles for car*/
.car {
    position: absolute;
    top: -35%;
    left: -25%; /* Define a posição inicial aqui */
    z-index: 10;
    
    /* Força a aceleração por hardware para evitar bugs de renderização */
    transform: translateZ(0); 
    -webkit-transform: translateZ(0);

    /* Animação padrão para navegadores modernos */
    animation: drive-car 10s linear infinite;
    /* Animações com prefixo para compatibilidade */
    -moz-animation: drive-car 10s linear infinite;
    -webkit-animation: drive-car 10s linear infinite;
}

/* Keyframes para a animação do carro usando TRANSFORM */
@keyframes drive-car {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move 100% da largura da tela + 25% do ponto de partida */
        transform: translateX(125vw); 
    }
}

@-moz-keyframes drive-car {
    0% {
        -moz-transform: translateX(0);
    }
    100% {
        -moz-transform: translateX(125vw);
    }
}

@-webkit-keyframes drive-car {
    0% {
        -webkit-transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(125vw);
    }
}

.tyre {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #3f3f40;
    position: absolute;
    z-index: 2;
    left: 9px;
    top: 20px;
    -moz-animation: tyre-rotate 1s infinite linear;
    -webkit-animation: tyre-rotate 1s infinite linear;
}

@-moz-keyframes tyre-rotate {
    from {
        -moz-transform: rotate(-360deg);
    }

    to {
        -moz-transform: rotate(0deg);
    }

}

@-webkit-keyframes tyre-rotate {
    from {
        -webkit-transform: rotate(-360deg);
    }

    to {
        -webkit-transform: rotate(0deg);
    }

}

.tyre:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #bdc2bd;
    position: absolute;
    top: 5px;
    left: 5px;
}

.gap {
    background: #3f3f40;
    width: 2px;
    height: 4px;
    position: absolute;
    left: 14px;
    top: 8px;
    box-shadow: 0 9px 0 #3f3f40;
}

.gap:before {
    content: '';
    display: block;
    width: 2px;
    height: 4px;
    position: absolute;
    background: #3f3f40;
    box-shadow: 0 12px 0 #3f3f40;
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: 0 7px;
    -moz-transform: rotate(-90deg);
    -moz-transform-origin: 0 7px;
    z-index: 3;
}

.car-base {
    position: absolute;
    display: block;
    width: 125px;
    height: 30px;
    background: #000000;
    border-radius: 10% 10% 50% 50% / 60% 100% 20% 10%;
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
    border: solid;
    border-color: #000000;
}

.back-bonet {
    background: #4c4b4b;
    border-radius: 54% 25% 0 0;
    height: 22px;
    left: 11px;
    position: absolute;
    top: 8px;
    width: 40px;
}

.tyre.front {
    left: 94px;
}

.car-body {
    /*width:125px;
	height:24px;
	background:#d1352b;
	border-top:1px solid #a82e27;*/
    border-bottom: 24px solid #d1352b;
    height: 0;
    top: 10px;
    width: 120px;
    position: relative;
}

.car-body:before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 24px;
    position: absolute;
    right: -5px;
    background: #d1352b;
    border-top-right-radius: 4px;
    z-index: 1;
}

.car-body:after {
    content: '';
    display: inline-block;
    width: 121px;
    border-bottom: 1px solid #942b25;
    border-right: 2px solid transparent;
    height: 0;
    z-index: 2;
    position: absolute;
}

.car-gate {
    width: 32px;
    height: 20px;
    background: #d1352b;
    border-radius: 0 0 2px 8px / 0 0 2px 8px;
    box-shadow: 0 0 0 1px #892924;
    position: absolute;
    left: 48px;

}

.car-gate:before {
    content: '';
    width: 8px;
    height: 2px;
    background: #4c4b4b;
    position: absolute;
    top: 2px;
    left: 4px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.car-top-back {
    background: none repeat scroll 0 0 #4C4B4B;
    border-radius: 5px 0 0 0;
    height: 20px;
    left: 4px;
    position: absolute;
    top: -20px;
    width: 58px;
}

.car-top-back:before {
    width: 30px;
    height: 15px;
    background: #736f6f;
    content: '';
    position: absolute;
    top: 3px;
    left: 8px;
    border-radius: 2px;
}

.car-top-back:after {
    content: '';
    background: #4c4b4b;
    border-radius: 30%;
    height: 5px;
    left: 3px;
    position: absolute;
    top: -1px;
    width: 62px;
}

.car-top-front {
    top: -19px;
    position: absolute;
    left: 47px;
    width: 20px;
    height: 20px;
    background: #dc4630;
    border-left: 1px solid #892924;
    border-radius: 2px 0 0 0;

}

.car-top-front:after {
    width: 26px;
    height: 20px;
    -webkit-transform: skew(37deg);
    -moz-transform: skew(37deg);
    background: #dc4630;
    content: '';
    position: absolute;
    top: 0;
    left: 6px;
    border-radius: 4px 0 4px 4px;
}

.car-top-front:before {
    width: 12px;
    height: 5px;
    background: #dc4630;
    content: '';
    position: absolute;
    top: 14px;
    left: 28px;
    z-index: 1;
    border: solid #a82e27;
    border-width: 0 1px 1px 0;
}

.wind-sheild {
    top: 3px;
    left: 3px;
    position: absolute;
    z-index: 3;
    width: 18px;
    height: 12px;
    background: #f5e7e7;
    border-radius: 0 3px 0 0;
}

.wind-sheild:after {
    width: 12px;
    height: 12px;
    -webkit-transform: skew(25deg);
    -moz-transform: skew(25deg);
    background: #f5e7e7;
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    border-radius: 3px;
}

.boundary-tyre-cover {
    position: absolute;
    top: 14px;
    left: 10px;
    border-bottom: 20px solid #4c4b4b;
    border-right: 10px solid transparent;
    height: 0;
    width: 20px;
}

.boundary-tyre-cover:before {
    content: '';
    position: absolute;
    display: inline-block;
    background: #4c4b4b;
    height: 20px;
    width: 15px;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    border-radius: 3px;
    left: -6px;
    top: 0;
}

.boundary-tyre-cover:after {
    content: '';
    position: absolute;
    display: inline-block;
    background: #4c4b4b;
    height: 20px;
    width: 20px;
    -webkit-transform: skewx(40deg);
    -moz-transform: skewX(40deg);
    border-radius: 3px;
    right: -14px;
    top: 0;
}

.boundary-tyre-cover-inner {
    position: absolute;
    top: 4px;
    left: 4px;
    border-bottom: 16px solid black;
    border-right: 10px solid transparent;
    height: 0;
    width: 15px;
    z-index: 2;
}

.boundary-tyre-cover-inner:before {
    content: '';
    position: absolute;
    display: inline-block;
    background: black;
    height: 16px;
    width: 15px;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    border-radius: 3px 3px 0 0;
    left: -6px;
    top: 0;
}

.boundary-tyre-cover-inner:after {
    content: '';
    position: absolute;
    display: inline-block;
    background: black;
    height: 16px;
    width: 20px;
    -webkit-transform: skewx(40deg);
    -moz-transform: skewX(40deg);
    border-radius: 3px 3px 0 0;
    right: -11px;
    top: 0;
}

.boundary-tyre-cover-back-bottom {
    position: absolute;
    width: 14px;
    height: 8px;
    background: #4c4b4b;
    top: 12px;
    left: -19px;
}

.bonet-front {
    background: #d1352b;
    border-radius: 5px 258px 0 38px / 36px 50px 0 0;
    height: 4px;
    position: absolute;
    right: 0;
    top: -4px;
    width: 40px;
    z-index: 0;
}

.back-curve {
    background: none repeat scroll 0 0 #4C4B4B;
    border-radius: 960% 100% 0 0;
    height: 20px;
    left: -3px;
    position: absolute;
    top: 1px;
    transform: rotate(6deg);
    width: 5px;
}

.stepney {
    height: 6px;
    left: -4px;
    position: absolute;
    top: 6px;
    width: 8px;
    z-index: -1;
    background: #3f3f40;
}

.stepney:before {
    width: 8px;
    height: 12px;
    background: #3f3f40;
    content: '';
    position: absolute;
    top: -10px;
    left: -7px;
    border-radius: 3px 3px 0 0;
}

.stepney:after {
    width: 8px;
    height: 12px;
    background: #0d0c0d;
    content: '';
    position: absolute;
    top: 0px;
    left: -7px;
    border-radius: 0 0 3px 3px;
}

.tyre-cover-front {
    background: #4c4b4b;
    height: 4px;
    left: 97px;
    position: absolute;
    top: 13px;
    width: 22px;
    z-index: 1;
}

.tyre-cover-front:before {
    background: none repeat scroll 0 0 #4c4b4b;
    content: "";
    display: inline-block;
    height: 21px;
    left: -10px;
    position: absolute;
    top: 0;
    transform: skewX(-30deg);
    width: 10px;
    z-index: 6;
    border-radius: 4px 0 0 0;
}

.tyre-cover-front:after {
    background: none repeat scroll 0 0 #4c4b4b;
    content: "";
    display: inline-block;
    height: 6px;
    left: 14px;
    position: absolute;
    top: 0;
    transform: skewX(30deg);
    width: 17px;
    z-index: 6;
    border-radius: 0 4px 2px 0;
}

.boundary-tyre-cover-inner-front {
    position: absolute;
    top: 4px;
    left: 4px;
    border-bottom: 16px solid black;
    border-right: 10px solid transparent;
    height: 0;
    width: 15px;
    z-index: 7;
}

.boundary-tyre-cover-inner-front:before {
    background: none repeat scroll 0 0 #000000;
    border-radius: 3px 3px 0 0;
    content: "";
    display: inline-block;
    height: 17px;
    left: -10px;
    position: absolute;
    top: 0;
    transform: skewX(-30deg);
    width: 15px;
}

.boundary-tyre-cover-inner-front:after {
    content: '';
    position: absolute;
    display: inline-block;
    background: black;
    height: 16px;
    width: 20px;
    -webkit-transform: skewx(25deg);
    -moz-transform: skewX(25deg);
    border-radius: 3px 3px 0 0;
    right: -12px;
    top: 0;
}

.base-axcel {
    background: none repeat scroll 0 0 black;
    bottom: -15px;
    height: 10px;
    left: 30px;
    position: absolute;
    transform: rotate(-2deg);
    width: 70px;
    z-index: -1;
}

.base-axcel:before {
    background: none repeat scroll 0 0 black;
    border-radius: 0 0 0 10px / 0 0 0 5px;
    content: "";
    height: 10px;
    left: -35px;
    position: absolute;
    top: -2px;
    transform: rotate(6deg);
    width: 30px;
}

.base-axcel:after {
    background: none repeat scroll 0 0 black;
    border-radius: 0 0 0 10px / 0 0 0 5px;
    content: "";
    height: 10px;
    right: -33px;
    position: absolute;
    top: -1px;
    transform: rotate(-4deg);
    width: 40px;
    border-radius: 0 10px 5px 0;
}

.front-bumper {
    background: none repeat scroll 0 0 #4c4b4b;
    border-radius: 0 2px 2px 0;
    height: 8px;
    position: absolute;
    right: -15px;
    width: 11px;
    z-index: 1;
    -moz-transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
}

.front-bumper:before {
    background: none repeat scroll 0 0 #000000;
    content: "";
    height: 10px;
    left: -7px;
    position: absolute;
    transform: rotate(-22deg);
    width: 9px;
    z-index: 1;
}

.car-shadow {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: -15px;
    box-shadow: -5px 10px 15px 3px #000000;
    left: -7px;
    position: absolute;
    width: 136px;
}

/* Adicione esta regra para pausar a animação do carro */
.country-wrap.animation-paused .car,
.country-wrap.animation-paused .tyre {
    animation-play-state: paused;
    -webkit-animation-play-state: paused; /* Para compatibilidade com navegadores mais antigos */
}

/* ============================================= */
/* == ESTILOS PARA O BAGAGEIRO DO CARRO == */
/* ============================================= */

.luggage-rack {
    position: absolute;
    width: 45px;
    height: 10px;
    background-color: #3f3f40; /* Usando a mesma cor escura dos pneus */
    top: -12px; /* Posiciona o bagageiro um pouco acima do teto do carro */
    left: 6px;  /* Centraliza no teto */
    border-radius: 4px 4px 2px 2px; /* Cantos superiores mais arredondados */
    box-shadow: 0 -1px 2px rgba(0,0,0,0.2) inset; /* Sombra interna para dar volume */
    z-index: 15; /* Garante que fique acima de outros elementos do teto */
}

/* Criamos as barras de suporte usando pseudo-elementos ::before e ::after */
.luggage-rack::before,
.luggage-rack::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 12px; /* Um pouco mais alto que o bagageiro para "conectar" ao teto */
    background-color: #2b2b2b; /* Um tom um pouco mais escuro que o bagageiro */
    bottom: 0;
    z-index: -1; /* Posiciona as barras atrás da caixa do bagageiro */
}

/* Posição da barra de suporte da frente */
.luggage-rack::before {
    left: 8px;
}

/* Posição da barra de suporte de trás */
.luggage-rack::after {
    right: 8px;
}