html {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
body {
margin: 0;
font-size: 16px;
line-height: 1;
color: #2a464d;
background-color: rgb(255, 239, 226);
}
.container {
max-width: 1000px;
padding: 0 15px;
margin: 0 auto;
}
.form-wrapper {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 30px;
}
.form {
display: flex;
flex-direction: column;
justify-content: center;
margin-bottom: 15px;
text-align: center;
}
.input {
padding: 10px 10px;
border: none;
border-radius: 3px;
}
.input:hover {
outline: rgb(255, 223, 195) solid 1px;
outline-offset: 0;
}
.input:focus {
outline: rgb(255, 210, 170) solid 1px;
outline-offset: 0;
}
.submit-btn {
padding: 5px 15px;
border: none;
border-radius: 3px;
background-color: #fff;
cursor: pointer;
outline: rgb(255, 210, 170) solid 1px;
transition: 0.3s;
margin-bottom: 25px;
}
.submit-btn:hover {
box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.096);
}
#login-error,
#password-error {
margin-top: 7px;
font-size: 12px;
padding: 5px 25px;
color: rgb(255, 79, 79);
background: rgba(255, 79, 79, 0.1);
text-align: center;
border-radius: 3px;
border: 1px solid #ef9a9a;
display: none;
}
.error,
.success {
width: 350px;
height: 150px;
display: flex;
justify-content: center;
padding: 15px;
font-weight: bold;
text-transform: uppercase;
border-radius: 5px;
align-items: center;
}
.error {
background-color: rgba(255, 79, 79, 0.1);
border: 3px solid rgb(255, 79, 79);
color: rgb(255, 79, 79);
}
.success {
background-color: rgb(82, 245, 150);
border: 3px solid rgb(35, 150, 64);
color: rgb(35, 150, 64);
}