@import url('../login_asset/fonts.css');
/* FONT WEIGHT ATE 900 */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    font-size: 100%;
    font-family: 'Raleway', sans-serif !important;
    line-height: 1.2rem;
    font-weight: 400;
    font: inherit;
    color: #000000;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;    
    height: 100%;
}

body {
    height: 100%;
}

i {
    color: currentColor;
}

ol,ul {
    list-style: none;
}

img,svg {
    display: block;
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.txt_g3 h1,
.txt_g3 p {
    text-shadow: 0px 4px 4px #00000040;
    text-align: center;
    color: #ffffff;
}

.txt_g3 h1 {
    font-size: 3.5rem;
    font-weight: bold;
}

.txt_g3 p {
    font-size: 1.2rem;
}

#tela_fundo {
    position: relative;
    overflow: hidden;    
    background: #ffffff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fundo {
    position: absolute;
    top: 0;bottom: 0;left: 0;right: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fundo.ativo {
    opacity: 1;    
    z-index: 2;
}

#fundo_1 {
    background-image: url("./imagens/fundo/fundo.png");
}

#fundo_2 {
    background-image: url("./imagens/fundo/fundo2.png");
}

#fundo_3 {
    background-image: url("./imagens/fundo/fundo3.png");
}

#tela_fundo  .txt_g3 {
    z-index: 3;
}

#engrenagem1,
#engrenagem2 {
    position: absolute;
    z-index: 2;
}

#engrenagem1 {
    top: 0;
    left: 0;
    transform: translate3d(-50%, -50%, 0);
}

#engrenagem2 {
    bottom: 0;
    right: 0;
    transform: translate3d(50%, 50%, 0);
}

.engrenagem::after {
    content: "";
    display: block;
    width: 50vw;
    max-width: 25rem;
    height: 50vw;
    max-height: 25rem;
    background-image: url("../login_asset/imagens/icons/icon_engrenagem.svg");
    background-repeat: no-repeat;
    background-size: cover;
    animation: rotate 3s linear infinite;
}

@-webkit-keyframes rotate {
    to {
        transform: rotate(1turn);
    }
}

@keyframes rotate {
    to {
        transform: rotate(1turn);
    }
}

#section_login {
    width: 100%;
    max-width: 25rem;
    padding: 1.5rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

#logo {
    width: 100%;
    height: 10rem;
    background-image: url("./imagens/logos/logo_black.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
}

#form {
    width: 100%;
}

#form .txt {
    font-weight: 500;
    margin-bottom: 0.7rem;
}

#form .div_input {
    position: relative;
    width: auto;
    height: auto;
    margin-bottom: 1.3rem;
}

#form .div_input i,
#form .div_input input::placeholder {
    color: #00000040;
}

#form .div_input i {
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transition: 200ms ease-in-out;
}

#form .div_input input::placeholder {
    font-weight: 500;
}

#form .div_input input {
    width: 100%;
    height: 2.5rem;
    padding: 0.5rem;
    padding-left: 2.5rem;
    background: #f7f7f7;
    border: 2px solid transparent;
    border-radius: 5px;
    box-shadow: 2px 2px 4px #0000001a;
    font-size: 1rem;
    transition: 200ms ease-in-out;
}

#form .div_input input:focus-visible,
#form .div_input input:focus {
    outline: none;
    border-color: #EAC34E;
}

#form .div_input input:focus + i,
#form .div_input input:focus + i {
    color: #EAC34E;
}

#form .div_checkbox {
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1.3rem;
}

#form .div_checkbox input {
    position: relative;
    top: 1px;
    left: 1px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#form .div_checkbox input:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: -1px;
    left: -1px;
    background-color:#f7f7f7;
    border-radius: 5px;
    border: 1px solid #0000001a;
}

#form .div_checkbox input:checked:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: -1px;
    left: -1px;
    background-color:#EAC34E;
    border-radius: 5px;
    box-shadow: 2px 2px 4px #0000001a;
    border: 1px solid #0000001a;
}

#form .div_checkbox input:checked:after {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    border: solid #252525;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 6px;
}

#form .div_checkbox label {
    font-weight: 400;
    margin-left: 0.5rem;
}

#form .div_checkbox label i {
    color: #00000040;
}

#form .acao {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#form .acao a {
    margin-right: auto;
    transition: 200ms ease-in-out;
    color: #00000090;
    font-weight: 500;
}

#form .acao a:hover {
    color: #EAC34E;
}

#form .acao button {
    width: 9.5rem;
    padding: 1rem;
    background: #EAC34E;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #252525;
    transition: 200ms ease-in-out;
}

#form .acao button:hover {
    background: #252525;
    color: #EAC34E;
}

#erro_msg {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    color: #000000;
    background-color: #ffd0cd;
}

#erro_msg i {
    color: #ff493c;
    margin-right: 0.2rem;
}

#bma {
    display: block;
    margin: 0 auto;
    margin-top: 2rem;
}

#bma img {
    max-width: 7rem;
}

.block_m {
    display: none;
}

@media screen and (max-width: 1000px){
    #section_login {
        border-radius: 5px;
        box-shadow: 2px 2px 4px #0000001a;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
        z-index: 999;
    } 

    .block_m {
        display: block;
    }

    .txt_g3 h1,
    .txt_g3 p {
        color: #252525;
        text-shadow: none;
    }
    
    .txt_g3 h1 {
        font-size: 2rem;
    }
    
    .txt_g3 p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 400px){ 
    #section_login {
        height: 100%;
    } 
}