@charset "UTF-8";

@font-face {
    font-family: 'vw';
    src: url('../fonts/VW/VWHead-Regular.otf');
}

@font-face {
    font-family: 'vw';
    src: url("../fonts/VW/VWHead-Bold.otf");
}

@font-face {
    font-family: 'vw';
    src: url('../fonts/VW/VWText-Regular.otf');
}

@font-face {
    font-family: 'vw';
    src: url("../fonts/VW/VWText-Bold.otf");
}

* {
    font-family: 'vw';
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    list-style: none;
}

a {
    text-decoration: none;
}

:root {
    --claro: #D00B12;
    --escuro: #9A1C1F;
}

body {
    background-image: url("../imgs/fabrica-min-min.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow-y: hidden;
}
/*============================================================================================================*/
main {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #08033b45;
}

form {
    background-color: rgba(232, 232, 233, 0.75);
    backdrop-filter: blur(3px);
    border-radius: 30px;
    display: flex;
    width: 40rem;
    height: 25rem;
    max-width: 95%;
    max-height: 95%;
    overflow: auto;
}

input {
    width: 100%;
    height: 100%;
    padding: 5px;
    border-radius: 7px;
    border: 1px solid lightgrey;
}

/*============================================================================================================*/

.titulo { 
    grid-area: titulo;
    background-color: var(--escuro);
    color: white;
    padding: 10px;
    text-align: center;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px; 
}

#empresa{
    width: 100%;
}

#area{
    width: 100%;
}

.submit { 
    grid-area: submit; 
}

.submit input {
    width: 100%;
    height: 100%;
    background-color: var(--escuro);
    color: white;
}

.submit input:hover {
    transition-duration: 0.3s;
    background-color: #0b3986;
}

.submit input:not(:hover) {
    transition-duration: 0.3s;
}

/*============================================================================================================*/

.ret {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 35%;
    height: 100%;
    background-color: #ffffff82;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    padding: 15px;
    text-align: center;
}

.ret .titulos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.ret .titulos h1 {
    color: var(--escuro);
}

.ret .titulos h3 {
    color: var(--claro)
}

.preenchimento{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
    width: 65%;
    height: 100%;
    padding: 10px;
}

.titulo-login { 
    color: var(--escuro);
    text-align: center;
    font-size: 1.2rem;
}

.campos {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.botoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.campo_div {  
    display: flex;
    flex-direction: row;
    padding: 5px 0;
    gap: 5px 5px;
    width: 90%;
}

.campo_div a{
    color: var(--escuro);
    font-size: 12px;
    cursor: pointer;
}

.campo_div a:hover{
    text-decoration: underline;
    color: var(--claro);
}

.campo_input {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 15px;
    padding: 5px;
    width: 100%;
}

.login-input{
    font-size: 18px;
    border: none;
}

.img_icon{
    position: relative;
    top: 2px;
    margin-right: 5px;
    width: 18px;
    height: 18px;
}

input:focus {
    outline: none;
}

.cadastrar {
    border-radius: 20px;
}

.cadastrar button {
    width: 100%;
    height: 100%;
    background-color: var(--escuro);
    color: white;
    border: none;
    font-size: 20px;
    padding: 8px 12px;
    width: fit-content;
    border-radius: 20px;
    cursor: pointer;
    transition-duration: 0.3s;
    box-shadow: #5f5f5f 1px 1px 4px;
}

.cadastrar button:hover {
    background-color: var(--claro);
    transform: translateY(-2px);
    box-shadow: #636363 3px 3px 6px;
}

.cadastrar button:active {
    transform: translateY(2px);
    box-shadow: #303030 0px 0px 4px;
}

.submit-login {
    background-color: var(--escuro);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 22px;
    padding: 10px;
    width: fit-content;
    border-radius: 25px;
    transition-duration: 0.3s;
    box-shadow: #5f5f5f 1px 1px 4px;
}

.submit-login:hover {
    background-color: var(--claro);
    transform: translateY(-2px);
    box-shadow: #636363 3px 3px 6px;
}

.submit-login:active {
    transform: translateY(2px);
    box-shadow: #303030 0px 0px 4px;
}

#formToken {
    display: flex;
    width: 100%;
}

.label_text {
    display: flex;
    width: 100%;
    flex-direction: column;
    color: var(--escuro);
}

.label_text h3 {
    word-break: break-all;
}

.campo_input hr {
    width: 3px;
    height: 30px;
    background-color: var(--escuro);
    border: none;
}

/*============================================================================================================*/

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    padding: 20px;
    width: 30rem;
    height: max-content;
    position: relative;
    animation-name: bounceIn;
    animation-duration: 0.8s;
    max-width: 100vw;
    max-height: 100vh;
}

.close {
    color: #727272;
    float: right;
    font-size: 50px;
    font-weight: bold;
    top: 0px;
    position: absolute;
    right: 20px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@keyframes bounceIn {
    0% {
        transform: translateY(-200%);
    }

    60% {
        transform: translateY(10%);
    }

    80% {
        transform: translateY(-5%);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 700px) {
    form {
        flex-direction: column;
        height: fit-content;
    }

    .ret {
        width: 100%;
        border-radius: 30px;
        gap: 20px;
        box-shadow: #00000082 0px 5px 15px -5px;
    }

    .ret img {
        width: 140px;
    }

    .preenchimento {
        width: 100%;
    }
}