* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
        'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
        'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 8px;
    background-color: white;
    overflow: auto;
}

.wrapper {
    width: 80vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo {
    display: flex;
    justify-content: center;
    height: 25px;
}

h3 {
    font-size: medium;
    text-align: center;
}

p {
    font-size: small;
    font-style: italic;
    color: gray;
    text-align: center;
}

.link {
    font-size: smaller;
    color: gray;
    text-decoration: none;
    font-weight: bold;
    margin-top: 5px;
}

.link:hover {
    color: rgb(49, 49, 122);
}

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.input {
    width: 100%;
    font-size: small;
    padding: 10px 12px;
    border: 1px solid rgba(128, 128, 128, 0.5);
    border-radius: 5px; 
}

.input:focus {
    outline: none;
    border-color: #A90226;
}

.input.invalid{
    border-color: red;
}

.input.invalid:focus{
    border-color: red;
}

.error {
    font-size: x-small;
    color: red;
    font-weight: bold;
}

.btn {
    width: 100%;
    padding: 10px 12px;
    text-align: center;
    border: none;
    border-radius: 5px; 
    background-color: gray;
    color: white;
    font-weight: bolder;
    margin-top: 20px;
}

.btn:hover {
    background-color: #A90226;
    cursor: pointer;
}

@media (min-width:640px) {
	.wrapper {
        width: 50vw;
    }
}

@media (min-width:1024px) {
	.wrapper {
        width: 30vw;
    }
    .h3 {
        font-size: larger;
    }
}