2. boarder:3px solid black; This will change the boarder of the image to be solid black. The border shorthand property sets all the border properties in one declaration.
3. } ends the input styling
4. Everything inside the input:hover{ is declaring the styling for the user event
5. boarder:3px solid blue; This will change the boarder of the image to be solid blue. The border shorthand property sets all the border properties in one declaration.
6. } ends the hover stylings applied to img
7. Everything inside the input:focus{ is declaring the styling for the user input
8. boarder:3px solid red; This will change the boarder of the image to be solid red. The border shorthand property sets all the border properties in one declaration.
9. } ends the hover stylings applied to img