@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Roboto", sans-serif;
    background-color: #18181b;
    margin: 0;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.auth {
    font-size: 20px;
    background-color: #1e1e21;
    border-color: rgba(255, 255, 255, 0.493);
    border-style: solid;
    box-sizing: border-box;
    border-width: 0.1px;
    padding: 25px;
    border-radius: 10px;
    width: 26%;
}
.auth>.error{
    text-align: center;
    color: red;
    font-size: 15px;
}
.auth>.title {
    text-align: center;
}

form input {
    display: block;
    margin: 10px auto;
    width: 55%;
    padding: 10px;
    background-color: #2a2a2e;
    color: white;
    border: none;
    border-radius: 3px;
    border-color: rgba(255, 255, 255, 0.493);
    border-style: solid;
    box-sizing: border-box;
    border-width: 0.1px;
}

form input::placeholder {
    text-align: left;
    color: #aaa;
}

form input[type="button"] {
    display: block;
    padding-left: 10%;
    padding-right: 10%;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    position: relative;
    margin-top: 10px;
    height: 30px;
    border-radius: 5px;
    width: auto;
    background-color: #18181b;
    border-width: 0.1px;
}

form input[type="button"]:hover {
    transition: 0.3s;
    -webkit-transition: 0.3s;
    opacity: 70%;
    cursor: pointer;
}

.links {
    margin-top: 10px;
    color: #ccc;
    text-align: center;
}

.links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 0.9em;

}

.links a:hover {
    text-decoration: underline;
}

h2 {
    color: white;
}

.copyright {
    position: fixed;
    color: grey;
    left: 0px;
    width: 100%;
    bottom: 30px;
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
}
@media (min-width: 2000px) {
    .auth {
        font-size: 25px;
        width: 20%;
    }

    form input {
        width: 55%;
    }
    .auth>.error{
        font-size: 18px;
    }
}
@media (max-width: 1300px) {
    .auth {
        font-size: 18px;
        width: 30%;
    }

    form input {
        width: 65%;
    }
}

@media (max-width: 1000px) {
    .auth {
        font-size: 18px;
        width: 35%;
    }

    form input {
        width: 65%;
    }
}

@media (max-width: 850px) {
    .auth {
        font-size: 18px;
        width: 45%;
    }

    form input {
        width: 75%;
    }
}

@media (max-width: 700px) {
    .auth {
        font-size: 18px;
        width: 60%;
    }

    form input {
        width: 85%;
    }
}

@media (max-width: 500px) {
    .auth {
        font-size: 18px;
        width: 75%;
    }

    form input {
        width: 95%;
    }
}