/* Importar fontes */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans:wght@700&display=swap');

/* Definições gerais do body */
body {
    margin: 0;
    font-family: 'Noto Sans', sans-serif;
    box-sizing: border-box;
    background: #201b2c;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

/* Herdar box-sizing do body para todos os elementos */
body * {
    box-sizing: inherit;
}

/* Layout principal */
.main-login {
    width: 100vw;
    height: 100vh;
    background: #201b2c;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Lado esquerdo do login */
.left-login {
    width: 40vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Estilização do título */
.left-login > h1,
h1 {
    color: #77ffc0;
    font-size: 2.5em;
    margin-bottom: 20px;
}


.left-login > h1 {
    font-size: 3vw;
}

/* Imagem do lado esquerdo */
.left-login-image {
    width: 30vw;
    height: auto;
    margin-bottom: 20px;
}

/* Lado direito do login */
.right-login {
    width: 40vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cartão de login */
.card-login,
.box {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px 35px;
    background: #2f2841;
    border-radius: 20px;
    box-shadow: 0px 10px 40px #00000056;
}

/* Título dentro do cartão de login */
.card-login h1 {
    color: #00ff88;
    font-weight: 800;
    margin: 0;
}

/* Campos de preenchimento */
.textfield {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 10px 0px;
}

.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;
    margin-bottom: 15px;
}

.textfield > label {
    color: #f0ffffde;
    margin-bottom: 10px;
}

.textfield > input::placeholder {
    color: #f0ffffde;
}

/* Estilização do botão de login */
.btn-login,
.box a {
    width: 100%;
    padding: 15px 0px;
    margin: 10px 0px;
    border: none;
    border-radius: 8px;
    outline: none;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    color: #2b134b;
    text-decoration: none;
    background: #00ff88;
    cursor: pointer;
    box-shadow: 0px 10px 40px -12px #00ff0052;
    transition: background-color 0.3s, color 0.3s;
}

.box a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box a:hover {
    background-color: #514869;
    color: #f0ffffde;
}

/* Estilos para labels */
label {
    color: #fff;
    font-weight: bold;
}

/* Estilos para inputs */
input[type="text"],
input[type="date"],
input[type="time"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    background: #514869;
    color: #f0ffffde;
    font-size: 12pt;
    box-shadow: 0px 10px 40px #00000056;
    outline: none;
    box-sizing: border-box;
}

/* Estilos para textarea */
textarea {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    background: #514869;
    color: #f0ffffde;
    font-size: 12pt;
    box-shadow: 0px 10px 40px #00000056;
    outline: none;
    box-sizing: border-box;
}

/* Estilo para os títulos das seções */
h2, h4 {
    color: #77ffc0;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Outros estilos */

/* Regra de mídia para telas de até 600px */
@media (max-width: 1000px) and (orientation: portrait){
    /* Estilos para telas menores */
    .card-login, /* REMOVA A VÍRGULA AQUI */
    .box {
        width: 100%;
    }
    .main-login {
        flex-direction: column;
    }
    .left-login,
    .right-login {
        width: 100%;
        height: auto;
    }
    .left-login-image {
        width: 50vw;
    }
    input[type="text"],
    input[type="date"],
    input[type="time"],
    input[type="tel"],
    input[type="email"],
    select,
    textarea {
        width: 100%;
    }
}
/* Fechamento da regra @media */