html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
  }

.formContainer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    * {
        font-size: 1.25rem;
    }

    .mainform {
        width: 90% !important;
        max-width: none !important;
    }
}

.mainform {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 50%;
    height: fit-content;
    margin: 0;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 4px lightgray;
}

h1 {
    margin-top: 0;
    margin-bottom: 0px;
}

input {
    display: block;
    padding: 1rem;
    margin: 1rem 0;
    width: 100%;
    height: 3rem;
    border: 1px solid lightgray;
    border-radius: 5px;
}

button {
    display: block;
    border: 0;
    border-radius: 5px;
    background-color: rgb(2, 155, 222);
    color: white;
    width: 100%;
    height: 3rem;
}

img {
    max-width: 250px;
    margin: auto;
    padding: 10px;
}

.header {
    position: fixed;
    left: 50%;
    transform: translate(-50%);
}

#test {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error {
    color: red;
    margin: 5px;
}