The signup button get messed up when I add the gap or margin to add space between the two buttons. Here is a link to the code. https://jsfiddle.net/0wunbxvp/7/
The picture of the problem at hand:

.header-buttons {
max-width: 24.9rem;
display: flex;
flex-grow: 1;
gap: 24px;
}
.btn-login {
padding: 12px;
border: 2px solid #ffc305;
color: #ffc305;
background-color: transparent;
flex: 1 0 50%;
}
.btn-signup {
flex: 1 0 50%;
color: #010101;
background-color: #ffc305;
border-bottom: 4px solid #c79800;
border-right: 4px solid #c79800;
}