I changed the position from absolute to relative in both the menu and the image, and then I positioned it the way I wanted it in top and left. Thanks for the help community stackoverflowBR
nav#menu {
display: block;
}
nav#menu ul {
list-style: none;
text-transform: none;
position: absolute;
left: 900px;
top: -20px;