@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --cor1: #B2A7B8;
    --cor2: #AD88C6;
    --cor3: #4C4452;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.fundo {
    background: rgb(76, 68, 82);
    background: linear-gradient(180deg, rgba(76, 68, 82, 1) 0%, rgba(173, 136, 198, 1) 100%);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
}

.containers {
    width: 50%;
    height: 450px;
    background-color: var(--cor2);
    display: flex;
    border: 5px solid rgba(173, 136, 198, 1);
    border-radius: 36px;
}

.container-direita {
    background-color: rgba(173, 136, 198, 1);
    width: 45%;
    height: 100%;
    border-top-right-radius: 29px;
    border-bottom-right-radius: 29px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-esquerda {
    background: rgb(76, 68, 82);
    background: linear-gradient(0deg, rgba(76, 68, 82, 1) 0%, rgba(173, 136, 198, 1) 100%);
    width: 55%;
    height: 100%;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}




/* esquerda */
.container-esquerda h1 {
    font-family: "Roboto", sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
    width: 100%;
}

label {
    font-size: 24px;
}

.div-email,
.div-lembrar,
.div-senha {
    width: 90%;
}

.div-email,
.div-senha {
    border-image: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%) 1;
    border-width: 1px;
    border-style: solid;
    border-top: 0;
    border-right: 0;
    border-left: 0;
}

.div-senha {
    margin-top: 30px;
}

.input-tipo {
    width: 70%;
    height: 24px;
    font-size: 24px;
    border: none;
    background-color: unset;
    color: #FFFFFF;
    outline: none;
}

.div-lembrar {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.input-lembrar {
    width: 16px;
    height: 16px;
    appearance: none;
}

.input-lembrar {
    appearance: none;
    position: relative;
    border-radius: 4px;
    line-height: 0.9;
    background: #FFFFFF;
    display: flex;
}

input[type="checkbox"]::before {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    white-space: pre;
    content: " ";
}

input[type="checkbox"]:checked::before {
    content: "✓";
    color: var(--cor2);
    font-size: 16px;
    font-weight: 800;
}


.label-lembrar {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-align: center;
    margin-left: 8px;
}

.esqueceu-senha {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 300;
    margin-top: 16px;
    text-align: center;
    text-decoration: none;
    color: #FFFFFF;
    position: relative;
}

.esqueceu-senha::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #FFFFFF;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.esqueceu-senha:hover::before {
    transform: scaleX(1);
}

.botao-acessar {
    font-family: "Roboto", sans-serif;
    text-decoration: none;
    color: var(--cor3);
    font-weight: 700;
    border: 1px solid #FFFFFF;
    border-radius: 30px;
    width: 120px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.botao-acessar:hover {
    background-color: var(--cor2);
    color: #FFFFFF;
    border-color: var(--cor2);
}


/* direita */


.botao-voltar {
    align-self: flex-end;
    place-self: flex-end start;
    justify-self: start;
    position: relative;
    right: 0;
    top: 0;
}

.botao-voltar:hover {
    scale: 1.1;
}

.img-fechar {
    width: 50px;
    height: 50px;
    margin: 4px;
}

.logo {
    margin-top: 32px;
    width: 150px;
    height: 150px;
}

.container-direita h2 {
    font-family: "Roboto", sans-serif;
    font-size: 28px;
    font-weight: 500;
    margin-top: 16px;
}

.container-direita h3 {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 300;
    margin-top: 16px;
    text-align: center;
}

.botao-cadastro {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    border: 1px solid #FFFFFF;
    border-radius: 30px;
    width: 120px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    font-size: 16px;
}

.botao-cadastro:hover {
    background-color: #FFFFFF;
    color: var(--cor3);
}

/* Responsividade */


@media (max-width: 1026px) {
    .containers {
        width: 60%;
    }
}


@media (max-width: 831px) {
    .containers {
        width: 70%;
    }
}

@media (max-width: 733px) {
    .containers {
        width: 80%;
    }
}

@media (max-width: 641px) {
    .containers {
        width: 90%;
    }
}

@media (max-width: 570px) {
    .containers {
        width: 95%;
    }
}

@media (max-width: 540px) {
    .containers {
        width: 100%;
    }
}

@media (max-width: 523px) {
    .fundo {
        background: rgb(76, 68, 82);
        background: linear-gradient(0deg, rgba(76, 68, 82, 1) 0%, rgba(173, 136, 198, 1) 100%);
    }

    .containers {
        background: transparent;
        width: 100%;
        flex-direction: column-reverse;
        height: auto;
        border: none;
        right: 0;
        top: 0;
    }

    .container-direita {
        background: transparent;
        width: 100%;
        height: auto;
        border: none;
        border-radius: 0;
    }

    .container-esquerda {
        background: transparent;
        width: 100%;
        height: auto;
        border: none;
        border-radius: 0;
    }

    form {
        border: none;
        border-radius: 0;
        margin-top: 32px;
    }

    .botao-voltar {
        position: fixed;
        right: 0;
        top: 0;
    }

    .logo {
        padding-top: 64px;
    }

    .containers h1 {
        display: none;
    }

    .botao-acessar {
        margin-bottom: 64px;
    }

}