 /* IMPORTACAO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

/* VARIAVEIS GLOBAIS */

:root {
    --default-font: "Sora", sans-serif;
}

/* CONFIGURACAO GERAL */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--default-font);
}

body, html {
    overflow: hidden;
}

/* ESTILO */

.hidden {
    display: none;
}

main {
    width: 100%;
    height: 100%;
}

main section {
    width: 50%;
}

.loading-screen {    
    background-image: linear-gradient(to bottom, #0075FF80, #ffffff, #0075FF80);
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.loading-screen img {
    width: 100px;
    opacity: 0.7;
}

.imagem-principal {
    height: 100vh;
    background-image: url(../imgs/bg_register.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.titulo {
    width: 90%;
    font-size: 22px;
    padding: 30px 0 15px 0;
}

.formulario {
    height: 100vh;
    background-image: linear-gradient(to bottom, #0075FF80, #ffffff, #0075FF80);
}

.formulario form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 30px;
    width: 55%;
}

.input-text {
    width: 90%;
    padding: 10px 10px;
    margin: 10px 0;
    outline: none;
    border-radius: 14px;
    border: 1.3px solid #000000;
    transition: linear background-color 0.2s;
}

.fake-input {
    width: 90%;
    border-radius: 14px;
    border: 1.3px solid #000000;
    transition: linear background-color 0.2s;
    margin: 10px 0;
}

.fake-input input {
    background-color: transparent;
    outline: none;
    padding: 10px 10px;
    border-radius: 14px;
    border: 0;
    width: 90%;
}

.fake-input img{
    width: 30px;
    margin-right: 5px;
    transition: linear transform 0.1s;
}

.fake-input img:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.input-text:hover, .fake-input:hover {
    background-color: #e6f9ff;
}

.submit-input {
    color: #FFFFFF;
    font-weight: 600;
    background-image: linear-gradient(to right, #0075FF, #02C2FF);
    font-size: 20px;
    padding: 12px 16px;
    border: 0;
    border-radius: 14px;
    margin: 25px 0 0 0;
    transition: linear transform 0.1s, box-shadow 0.2s;
}

.submit-input:hover {
    cursor: pointer;
    transform: scale(1.02);
    box-shadow: 3px 3px 5px #0075FF;
}

.errorMessage {
    background-color: #ff5252;
    margin: 20px 0 -10px 0;
    border-radius: 14px;
    padding: 10px 5px;
    color: #FFFFFF;
    font-weight: 700;
    display: none;
}

.have-account {
    padding: 40px 0 10px 0;
    font-weight: 600;
}

.have-account a {
    color: #0178FF;
}

.copy {
    font-size: 12px;
    margin: 50px 0 0 0;
}

/* RESPONSIVIDADE */

@media (max-width: 1200px) {
    .formulario form {
        width: 70%;
    }
}

@media (max-width: 850px) {
    .formulario form {
        width: 80%;
    }

    .titulo {
        font-size: 14px;
    }

    .input-text {
        padding: 8px 8px;
        margin: 5px 0;
        border-radius: 14px;
    }

    .fake-input {
        margin: 5px;
    }

    .fake-input input{
        padding: 8px 8px;
    }

    .fake-input img {
        width: 25px;
    }

    .submit-input {
        font-size: 14px;
        padding: 10px 10px;
    }

    .have-account {
        font-size: 12px;
    }

    .copy {
        font-size: 10px;
    }
}

@media (max-width: 700px) {
    .imagem-principal {
        display: none;
    }

    .formulario {
        width: 100%;
    }

    .formulario form {
        width: 50%;
    }
}

@media (max-width: 580px) {
    .formulario form {
        width: 70%;
    }
}

@media (max-width: 400px) {
    .formulario form {
        width: 90%;
    }
}