* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    font-size: 62.5%;
    font-family: 'Titillium Web', sans-serif;
}

body {
    font-size: 1.6rem;
}

button {
    all: unset; /* tira todas as propriedades de botao */
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #070158;
    font-weight: 700;
}

#container {
    height: 100vh;
}

.flex {
    display: flex;
}

#container > * {
    width: 50%;
}

img {
    width: 100%;
    object-fit: cover;
}

header img {
    width: 16rem;
    height: 5.4rem;
}

#container > div {
    padding: 4rem 11.2rem;
}

main {
    margin-top: 4rem;
    max-width: 38.4rem;
}

.page {
    max-width: 35rem;
}

h1 {
    font-size: 3.6rem;
    line-height: 5.5rem;
    color: #1e293b;
}

h1 + p {
    color: #475569;
    margin-top: 1.2rem;
}

form {
    margin-top: 2rem;
}


.form {
    position: relative;
}

form .form + .form {
    margin-top: 1.6rem;
}

label {
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 2.1rem;
    color: #070158;
}

.label {
    justify-content: space-between;
}

/* anterior ao "a" tem o "label" */
label + a {
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 2.1rem;
    color: #070158;
}

input::placeholder {
    color: #94a3b8;
}

form input {
    width: 100%;
    background: #ffffff;
    border: 0.1rem solid #e2e8f0;
    border-radius: 0.4rem;
    padding: 1.6rem 1.2rem;
    margin-top: 0.8rem;
    font-size: 1.4rem;
    line-height: 2.1rem;
    color: #1e293b;
}

input:focus, input:hover {
    border: 1px solid #070158;
    outline: 0;
}

::-ms-reveal {
    display: none;
}

.eye {
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 55%;
    right: 5%;
}

.hide {
    display: none;
}

form button {
    all: unset; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.6rem 2.4rem;
    background: #070158;
    border-radius: 0.4rem;
    width: 100%;
    font-weight: bold;;
    color: #ffffff;
    margin-block: 2.5rem;
}

form button:focus {
    outline: 2px solid black;
    border-radius: 0.2rem;
}

form button:hover {
    background: #3c396a;
}

.submit {
    color: #475569;
}




@media (max-width: 900px) {
    #container > * {
        width: 100%;
    }

    #container > img {
        display: none;
    }

    #container > div {
        padding: 11rem;
    }

    main {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    #page > div {
        padding: 4rem;
    }
}