You are confusing the CSS syntax. The ID selector is #, not the .. The names are case sensitive.
You have to write #Button1
, not .button1
#Button1 {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}