@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --Cor-Logo: #F7941D; /*#ff8c6b*/
    --Cor-Logo-Forte: #EF7E2D; /*#ff8c6b*/
    --Cor-Morna: #CCC;
    --Cor-FundoMorno: #DDD;
    --Cor-TextoEscuro: #3C3C3B;
}

*,*::before,*::after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body, input{
    font-family: "Poppins",sans-serif;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    height: 100vh; /* Garante que o body ocupe 100% da altura da viewport */
}


.container {
    max-width: 100vw; /* Limita a largura máxima a 80% da largura da viewport */
    margin: 15px auto;
    background: #fff; /* Fundo branco para o container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adiciona sombra ao container */
    border-radius: 15px; /* Adiciona bordas arredondadas */
    padding: 20px; /* Adiciona padding ao container */
    display: flex;
    flex-direction: column; /* Adiciona flexbox e centraliza conteúdo */
}

#chart1 {
    width: 100% !important; /* Garante que o gráfico ocupe 100% da largura do container */
    height: 45vh !important; /* Define a altura do gráfico como 25% da altura da viewport */
}

.row .col-md-4 > div {
    width: 100% !important; /* Garante que os gráficos ocupem 100% da largura da coluna */
    height: 22vh !important; /* Define a altura dos gráficos */

}

.chart-container {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}
.rounded-border {
    border: 3px solid rgba(245, 245, 245, 0.6);
    border-radius: 15px;
    padding: 1px;
    margin-bottom: 3px;
}

h1 {
    color: #333;
}

form {
    margin-bottom: 20px; /* Espaço entre o formulário e o gráfico */
    width: 100%; /* Garante que o formulário ocupe 100% da largura do container */
}

/* Hide the ApexCharts menu icons
.apexcharts-pan-icon, 
.apexcharts-menu-icon,
.apexcharts-zoomout-icon,
.apexcharts-zoomin-icon,
.apexcharts-zoom-icon, */
.apexcharts-menu-icon {
    display: none !important;
}

.hide-x-labels .apexcharts-xaxis text {
    display: block;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    #chart1 {
        width: 95% !important; /* Garante que os gráficos ocupem 100% da largura do container */
    }
    .row .col-md-4 > div {
        width: 90% !important; /* Garante que os gráficos ocupem 100% da largura da coluna */
        height: 25vh !important; /* Define a altura dos gráficos */
    }
    .hide-x-labels .apexcharts-xaxis text {
        display: none;
    }

    
    /* Hide the ApexCharts menu icons*/
    .apexcharts-pan-icon, 
    .apexcharts-zoomout-icon,
    .apexcharts-zoomin-icon,
    .apexcharts-zoom-icon, 
    .apexcharts-menu-icon, 
    .apexcharts-reset-icon {
        display: none !important;
    }
}

main{
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--Cor-FundoMorno);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box{
    position: relative;
    width: 100%;
    max-width: 1020px;
    height: 640px;
    background-color: #fff;
    border-radius: 3.3rem;
    box-shadow: 0 60px 40px -30px rgba(0, 0, 0, 0.27);
}

.inner-box{
    position: absolute;
    width: calc(100% - 3.1rem);
    height: calc(100% - 3.1rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.form-wrap{
    position: absolute;
    height: 100%;
    width: 45%;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    transition: 0.8s ease-in-out;
}

form{
    max-width: 260px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    transition: opacity 0.02s 0.4s;
}

form.sign-up-form{
    opacity: 0;
    pointer-events: none;
}

/* metodo teste para verificar outro form
form.sign-in-form{
    display: none;
}*/

.logo{
    display: flex;
    align-items: center;

}
.logo img{
    width: 75%;
    margin: 0.3rem;
}

.logo h4 {
    font-size: 1.1rem;
    margin-top: -9px;
    letter-spacing: -0.5px;
    color: #151111
}

.heading h2{
    font-size: 2.1rem;
    font-weight: 600;
    color: #151111;
}

.textoEscuro {
    color: var(--Cor-TextoEscuro) !important;
}

.heading h6 {
    color: #bababa;
    font-weight: 400;
    font-size: 0.75rem;
    display: inline;
}

.textoClaro {
    color: #bababa !important;
    font-weight: 400;
    font-size: 0.75rem;
    display: inline;
    line-height: 1.0; /* Adiciona espaçamento entre as linhas */
}

.textoClaro .mudar-cor {
    color: var(--Cor-Morna) !important;  /* Cor padrão */
    font-weight: 400;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center; /* Alinha itens verticalmente ao centro */
    text-decoration: none; /* Remove o sublinhado */
    transition: color 3.0s ease, transform 3.0s ease; /* Adiciona transição para cor e transformação */
}

.textoClaro .mudar-cor .fi {
    font-size: 1.25rem;
}

.textoClaro .mudar-cor:hover {
    color: var(--Cor-Logo); /* Cor quando o mouse passa por cima */
}

.textoClaro .mudar-cor:hover i {
    color: var(--Cor-Logo); /* Cor do ícone quando o mouse passa por cima */
    transform: scale(1.1); /* Aumenta o tamanho do ícone */
}

.simulado-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.simulado-selector .btn {
    width: 100%;
    text-align: center;
    border-radius: 5rem;
}

.toggle{
    color: #151111;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: 0.3s;
}

.toggle:hover {
    color:  var(--Cor-Logo-Forte);/*#8371fd;*/
}

.chama-url{
    color: #151111;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.chama-url:hover {
    color:  var(--Cor-Logo-Forte);/*#8371fd;*/
}

.input-wrap{
    position: relative;
    height: 37px;
    margin-bottom: 2rem;
}

.input-field{
    position: absolute;
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    outline: none;
    border-bottom: 1px solid #bbb;
    padding: 0;
    font-size: .95rem;
    color: #151111;
    transition: 0.4s;
}

label{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--Cor-Morna);
    pointer-events: none;
    transition: 0.4s;
}

.input-field.active {
    border-bottom-color: var(--Cor-Logo-Forte);/*#151111;*/
}

.input-field.active + label {
    font-size: 0.75rem;
    top: -2px;
    color: var(--Cor-Logo);
}

.sign-btn {
    display: inline-block;
    width: 100%;
    height: 43px;
    background-color: #151111;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5rem;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    transition: 0.3s;
}

.sign-btn:hover {
    background-color: var(--Cor-Logo-Forte);/*#8371fd*/
}

.text{
    color: #bbb;
    font-size: 0.7rem;
}

.text a {
    color: #bbb;
    transition: 0.3s;
}

.text a:hover {
    color:  var(--Cor-Logo-Forte);/*#8371fd;*/
}

main.sign-up-mode form.sign-in-form{
    opacity: 0;
    pointer-events: none;
}
main.sign-up-mode form.sign-up-form{
    opacity: 1;
    pointer-events: all;
}

main.sign-up-mode .form-wrap{
    left: 55%;
}
main.sign-up-mode .carousel{
    left: 0%;
}

.carousel{
    position: absolute;
    height: 100%;
    width: 55%;
    left: 45%;
    top: 0;
    background-color: #ffe0d2;
    border-radius: 2rem;
    display: grid;
    grid-template-rows: auto 1fr;
    padding-bottom: 2rem;
    overflow: hidden;
    transition: 0.8s ease-in-out;
}

.images-wrapper{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.image{
    width:100%;
    grid-column: 1 / 2;
    grid-Row: 1 / 2;
    opacity: 0;
    border-radius: 2rem;
    transition: opacity 0.3s, transform 0.5s;
}

.img-1{
    transform: translate(0, -50px);
}
.img-2{
    transform: scale(0.4, 0.5);
}
.img-3{
    transform: scale(0.3) rotate(-20deg);
}
.img-4{
    transform: scale(0.3) rotate(-20deg);
}

.image.show {
    opacity: 1;
    transform: none;
}

.text-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; 
}

.text-wrap {
    max-height: 2.2rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.text-group {
    display: flex;
    flex-direction: column;
    text-align: center;
    transform: translateY(0);
    transition: 0.5s;
}

.text-group h2 {
    line-height: 2.2rem;
    font-weight: 600;
    font-size: 1.0rem;
}

.bullets {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bullets span {
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #aaa;
    margin: 0 0.25rem;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.bullets span.active {
    width: 1.1rem;
    background-color: var(--Cor-Logo-Forte);
    border-radius: 1rem;    
}

@media (max-width: 850px) {
    .box{
        height: auto;
        max-width: 550px;
        overflow: hidden;
    }
    .inner-box{
        position: static;
        transform: none;
        width: revert;
        height: revert;
        padding: 2rem;
    }
    .form-wrap{
        position: revert;
        width: 100%;
        height: auto;
    }
    form{
        max-width: revert;
        padding: 1.5rem 2.5rem 2rem;
        transition: transform 0.8s ease-in-out, opacity 0.45s linear;
    }
    .heading {
        margin: 2rem 0;
    }
    form.sign-up-form{
        transform: translateX(100%);
    }
    main.sign-up-mode form.sign-in-form{
        transform: translateX(-100%);
    }
    main.sign-up-mode form.sign-up-form{
        transform: translateX(0%);
    }
    .carousel{
        position: revert;
        height: auto;
        width: 100%;
        padding: 3rem 2rem;
        display: flex;
    }
    .images-wrapper{
        display: none;
    }
    .text-slider{
        width: 100%;
    }
    .text-group h2 {
        font-size: 0.8rem;
    }
}

@media (max-width: 530px) {
    main {
        padding: 1rem;
    }
    .box {
        border-radius: 2rem;
    }

    .inner-box {
        padding: 1rem;
    }
    .carousel {
        padding: 1.5rem 1rem;
        border-radius: 1.6rem;
    }
    .text-wrap {
        margin-bottom: 1rem;
    }
    .text-group h2 {
        font-size: 0.6rem;
    }
    form {
        padding: 1rem 2rem 1.5rem;
    }
}

.message {
    padding: 19px 60px;
    position: fixed;
    top: 0%; /* Alinha verticalmente no meio */
    left: 50%; /* Alinha horizontalmente no meio */
    transform: translate(-50%, -50%); /* Centraliza a mensagem */
    background-color: var(--Cor-Logo-Forte);
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
    border-left: 5px solid #fff;
    border-right: 5px solid #fff;
    color: #fff;
    animation: slide-in-right 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    border-radius: 20px;
    z-index: 9999; /* Coloca a mensagem por cima de outros elementos */
}

@keyframes slide-in-right {
    0%{
        transform: translateX(1000px);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

.message::before {
    content: "";
    position: absolute;
    left: 0;    
    bottom: 6px;
    width: 0;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.15);
    animation: time 3s forwards;
    border-radius: 5px;
}

@keyframes time {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}



