body{
    padding: 0;
    margin: 0;
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;

}

.road{
    background-color: black;
    color: white;
    height: 70px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.text1{
    position: absolute;
    color: white;
    left: 50px;
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;

    transition: all 1s;
}

.text{
    position: absolute;
    left: 70px;
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    opacity:0;
    transition: all 1s;
}
.road-marker{
    height: 10px;
    width: 700px;
    background-color: black;
    position:absolute;
    left:100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    transition: all 4s;
   
}

.seto{
    background-color: white;
    height: 7px;
    width: 25px;
}

.tadack{
    display: flex;
    color: white;
    gap: 5px;
    z-index: 2;
    transition: all 3s;
    position: relative;
    opacity: 0;
}

.dhoka{
    position: absolute;
   left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    
}
.top{
    height: 25px;
    width: 5px;
    background-color: brown;
    transition: all 0.5s;
}

.bottom{
    height: 25px;
    width: 5px;
    background-color: brown;
    transition: all 0.5s;    
}

.front{
    height: 50px;
    width: 20px;
    background-color: orange;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items:flex-end;
    gap: 10px;
}

.headlight{
    height: 5px;
    width: 5px;
    border-radius: 30%;
    background-color: yellow;
}
.back{
    height: 50px;
    width: 100px;
    border-radius: 5px;
    background-color: green;
}
.light{
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: all 0.5s;
}
.batti{
    height: 20px;
    width: 20px;
    background-color: yellow;
    rotate: 45deg;
    border-top-right-radius: 40px;
    box-shadow: 0 0 30px 7px yellow;
    
}
.package{
    height: 20px;
    width: 20px;
    background-color: yellow;
    z-index: 1.5;
    transition:all 1s;
    opacity: 0;
}

.packageactive{
    translate: 60px;

}


.markeractive{
    translate: -950px;
}

.tadackpachadiaayo{
    translate: -100px;
}

.tadackchalyo{
    translate: 200px;
}


.dekhyo{
    opacity: 1;
}

.harayo{
    opacity: 0;
}

.opentop{
    transform-origin: top center;
    rotate: 90deg;
}

.openbottom{
    transform-origin: bottom center;
    rotate: -90deg;
}

.closetop{
    transform-origin: top center;
    rotate:0deg;
}

.closebottom{
    transform-origin: bottom center;
    rotate: 0deg;
}