@charset "utf-8";
body {
    background-color: #f9f9f9;
    padding: 0;
    margin: 0;
    font-family: Helvetica, sans-serif;
}

a {
    text-decoration: none;
    font-size: 13px;
    color: #000;
}

form {
    text-align: left;
    background-color: white;
    border-radius: 8px;
    border: solid 1px #dbdbdb;
    padding: 30px;
    display: inline-block;
    max-width: 500px;
    font-size: 15px;
}

input[type="text"],
input[type="password"] {
    min-width: 300px;
    padding: 10px;
    border-radius: 5px;
    border: solid 1px #dbdbdb;
    outline: 0;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: rgb(173, 173, 173);
}

input[type="submit"],
button {
    background: linear-gradient(to bottom left, #000046, #1CB5E0);
    padding: 8px 25px 8px 25px;
    border-radius: 5px;
    width: 100%;
    outline: 0;
    border: none;
    color: white;
    cursor: pointer;
}

.overlay {
    display: none;
    z-index: 100;
    background-color: white;
    color: black;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.loading {
    font-size: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.error {
    display: none;
    text-align: center;
    padding: 8px;
    background-color: rgb(201, 52, 52);
    color: white;
    font-size: 14px;
    margin-top: 15px;
    border-radius: 5px;
}

@media(max-width:500px){
    form{
        border-radius:0;
        border:none;
    }
}