@import url('https://fonts.googleapis.com/css2?family=Mohave:ital,wght@0,700;1,700&display=swap');


body {
    margin: 0;
}

input {
    width: 100%;
}

.main-login {
    width: 100vw;
    min-height: 100vh;
    background: rgb(65, 45, 194);
    background: linear-gradient(90deg, rgba(65, 45, 194, 1) 25%, rgba(43, 151, 194, 1) 80%, rgba(0, 242, 177, 1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.left-login {
    width: 50vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.left-login>h1 {
    color: #ffffff;
    font-family: 'Mohave', sans-serif;
    font-size: 42px;
    text-transform: uppercase;
    text-align: center;
}

.left-image {
    width: 25vw;
}

.left-login>p {
    padding: 0px 125px 10px 125px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align: center;
}

.right-login {
    width: 50vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-login,
.card-cadastro {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px 35px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 10px 40px #00000056;
}

.card-login,
.card-cadastro>h1 {
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    font-weight: 800;
    margin: 0;
}


.card-cadastro {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px 35px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 10px 40px #00000056;
}


.textfield {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.textfield>input {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 15px;
    background: #514869;
    color: #f0ffffde;
    font-size: 12pt;
    /*box-shadow: 0px 10px 40px #00000056; */
    /*outline: none;*/
    box-sizing: border-box;
}

.textfield>input::placeholder {
    color: #f0ffffde;
}

.textfield>label {
    font-family: Arial, Helvetica, sans-serif;
    color: #000000de;
    margin-bottom: 10px;
    margin-top: 10px;
}

.textfield>button {

    width: 100%;
    padding: 15px;
    margin: 0 0 0 0;
    border: none;
    border-radius: 8px;
    outline: none;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    color: #2f2841;
    /* background: #77ff88; */
    cursor: pointer;
    box-shadow: 0px 10px 40px -12x #00ff8052;
    border-color: #77ff88;
    color: #000000;
    background-image: -webkit-linear-gradient(45deg, #77ff88 50%, transparent 50%);
    background-image: linear-gradient(45deg, #77ff88 50%, transparent 50%);
    background-position: 100%;
    background-size: 400%;
    -webkit-transition: background 600ms ease-in-out;
    transition: background 600ms ease-in-out;

}

.textfield>button:hover {
    /*  background: #412DC2;
    cursor: pointer;
    box-shadow: 0px 10px 40px -12x #00ff8052;
    color: #ffffff;*/
    background-position: 0;
}


.fourth {
    border-color: #f1c40f;
    color: #fff;
    background-image: -webkit-linear-gradient(45deg, #f1c40f 50%, transparent 50%);
    background-image: linear-gradient(45deg, #f1c40f 50%, transparent 50%);
    background-position: 100%;
    background-size: 400%;
    -webkit-transition: background 300ms ease-in-out;
    transition: background 300ms ease-in-out;
}

.fourth:hover {
    background-position: 0;
}


@media only screen and (max-width:950px) {

    .card-login,
    .card-cadastro {
        width: 85%;
    }
}

@media only screen and (max-width:950px) {
    .main-login {
        flex-direction: column;
    }

    .right-login {
        width: 95%;
        height: auto;
    }

    .left-login {
        width: 95%;
        height: auto;
    }

    .left-login p {
        margin: 10px;
        padding: 10px;
    }

    .left-image {
        width: 50%;
    }

    .main-login {
        height: auto;
        min-height: 100vh;
        padding: 40px 20px 80px;
    }
}

.textfield span,
.textfield a {
    font-weight: 400;
    margin: 0px 0px 0 0;
    font-family: Arial, Helvetica, sans-serif;
}

.textfield a {
    font-weight: 700;
    color: rgb(65, 45, 194);
    cursor: pointer;
    text-decoration: none;
}

/* caixa de erro abaixo do input */
.error {
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #ffe6e6;
    /* fundo suave */
    color: #b00020;
    /* vermelho fechado */
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #ffb3b3;
    width: 100%;
    box-sizing: border-box;
}

.input-error {
    border: 2px solid #b00020 !important;
    background: #fff5f5;
}