main img{
    width: 200px;
    height: 200px;
    transition: transform 0.5s ease-in-out ;
}

#boat:hover{
 transform: translateX(800px);    
}