@keyframes movecar {
    0%      { left: 0px; }
    50%     { left: 60%; }
    100%    { left: 0px; } 
}

    @-webkit-keyframes movecar {
        0%      { left: 0px; }
        50%     { left: 60%; }
        100%    { left: 0px; } 
    }

    @-moz-keyframes movecar {
        0%      { left: 0px; }
        50%     { left: 60%; }
        100%    { left: 0px; } 
    }

.sky {
    background: #afedf4;    
    margin-top: 50px;
    margin-bottom: 50px;
    border: 2px solid black;
    overflow: hidden;   /* this keeps car inside sky div */
}

.sky .car {
    margin-top: 50px;          
    position: relative;
    display: inline;

    animation: movecar 10s linear 1s infinite alternate; 
        -webkit-animation: movecar 10s ease-in-out 1s infinite alternate;
        -moz-animation: movecar 10s ease-in-out 1s infinite alternate;
}
.weel1 {
    position: absolute;
    top: -10px;
    left: -10px;
    animation: 1s linear 0s normal none infinite running rot;
    -webkit-animation: 1s linear 0s normal none infinite running rot;
    width: -200px;
}

@keyframes rot {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes rot {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.sun {
    background: #ffe252;    
    width: 85px;
    height: 85px;
    border: 2px solid black; 
    border-radius: 50px;
    float: left;
    margin-top: 10px;
    margin-left: 10px;
}

.rode1, .rode2 {
    width: 100%;
    height: 20px;
    background: #808080;
    margin: 0;
}

.rode1 {
    border-top: 2px solid #000000;
}

.rode2 {
    border-top: 2px dashed #ffffff;
}