@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');
@import url('https://fonts.googleapis.com/css2?family=Ponomar&display=swap');

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

:root {
  --vermelho: #76282a;
  --verde-claro: #6e8e1e;
  --verde-escuro: #394e3b;
  --azul: #122e36;
  --marrom-escuro: #523a28;
  --marrom-claro: #a47551;
  --cor-mais-escura: #220f0a; /* vinho */
  --cor-mais-clara: #fef1e8; /* beje */
  --branco: #ffffff;
  --amarelo: #e0cf0ecb;
  --vermelho: #d32f2f;
  --font-secundaria: 'Poppins', sans-serif;
  --font-primaria: 'Ponomar', sans-serif;
}

html {
  font-size: 62.5%;
  font-family: var(--font-secundaria);
}

h1 {
  font-family: var(--font-primaria);
  font-size: 5rem;
}

h2,
p {
  font-family: var(--font-secundaria);
}

body {
  margin: 0;
  font-size: 1.5rem;
  background-image: url(../img/icone-6-transparente.png),
    linear-gradient(90deg, var(--azul), var(--verde-escuro));
  background-repeat: repeat-y;
  background-size: 90% auto, cover;
  background-position: 300% 30%;
}

.painel-superior {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header {
  background-color: var(--verde-claro);
  color: white;
  padding: 2 rem;
  text-align: center;
  font-size: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

header button {
  background: none;
  border: none;
  color: white;
  padding: 1rem 20px;
  cursor: pointer;
  font-size: 12px;
  display: inline-block;
}

header .logo {
  margin: 0;
  padding: 0;
}

header .logo img {
  width: 35rem;
  height: auto;
}

nav {
  background-color: var(--verde-escuro);
  display: flex;
  justify-content: center;
  position: sticky;
}

nav button {
  background: none;
  border: none;
  color: white;
  padding: 15px 30px;
  cursor: pointer;
  font-size: 16px;
}

nav button:hover {
  background-color: #a47551;
}

.titulo-login {
  color: white;
  margin-bottom: 1rem;
}

#conteudo {
  padding: 2rem;
  background-color: white;
  margin: 2rem auto;
  max-width: 150rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  border-radius: 0.8rem;
  min-height: 60rem;
  text-align: center;
  padding-bottom: 4rem;
}

.container {
  text-align: left;
  padding: 2rem;
}

.container-login {
  margin: 15%;
  text-align: center;
  border-radius: 0.8rem;
}

.botoes {
  text-align: right;
  border-radius: 20rem;
}

form {
  background: white;
  padding: 2rem;
  border-radius: 0.8rem;
  max-width: 40rem;
  margin: auto;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  text-align: left;
}

input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
}

.sugestoes {
  display: block;
  /* border: 1px solid #ccc; */
  max-height: 15rem;
  overflow-y: auto;
  position: absolute;
  background: white;
  z-index: 1000;
  cursor: pointer;
}
.sugestoes li {
  padding: 8px;
  cursor: pointer;
}
.sugestoes li:hover {
  background-color: #eee;
}

#cadastroForm li {
  list-style: none;
  padding: 0;
}

button {
  padding: 1rem;
  background-color: var(--marrom-claro);
  color: white;
  border: none;
  cursor: pointer;
}
button:hover {
  background-color: var(--marrom-escuro);
}

footer {
  background-color: var(--verde-escuro);
  color: white;
  text-align: center;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 4rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}

.tabela {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.tabela th {
  background-color: var(--verde-escuro);
  color: white;
  text-align: left;
  font-size: 1.5rem;
  padding: 1rem;
}

.tabela .acoes {
  text-align: center;
}

.tabela .acoes button {
  width: 90%;
  border-radius: 0.5rem;
  padding: 0.8rem;
  margin: 0.9rem;
}

/*Projeção*/

.conteudo-projecao {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 1rem;
  width: 100%;
}

.divisao-conteudo {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 90%;
}

.conteudo-projecao-tabelas {
  margin: 0 2rem 0 2rem;
}

.tabela-projecao {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.tabela-projecao .coluna-titulo {
  background-color: var(--verde-claro);
  color: white;
  text-align: center;
  font-size: 1.5rem;
  padding: 1rem;
}

.tabela-projecao td {
  border: 1px solid #ccc;
  padding: 1rem;
  width: 20rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-conteudo {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 50%;
  box-shadow: 0 0 10px #000;
}

.botoes {
  text-align: right;
}

.quadro-formulario {
  margin-bottom: 1rem;
  border: 0.5rem solid var(--verde-claro);
  padding: 1rem;
  border-radius: 1rem 1rem;
  width: 100%;
}

.fechar {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.grafico-barra {
  display: inline-block;
  margin: 2rem;
  width: 40rem;
  height: auto;
  background-color: var(--azul);
  background-image: url(../img/Logotipo-Circular-6.png);
  background-blend-mode: overlay;
  background-size: 25% auto, cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0.8rem;
  color: var(--branco);
}

.grafico-rosquinha {
  width: 100%;
  max-width: 20rem;
  height: auto;
}
