/*FORMATAÇÃO GERAL*/

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

html {
  transition: all linear 0.2s;
}

body {
  height: 100vh;
  background-color: rgb(9, 9, 11);
}

section {
  margin: 40px;
}

input {
  outline: none;
}

.image {
  width: 300px;
  height: 300px;

  border: 2px solid rgb(30, 30, 30);
  border-radius: 10px;
  /*visibility: hidden;*/
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.btn {
  padding: 5px 10px 5px 10px;
  border: 0px solid transparent;
  border-radius: 10px;
  background-color: transparent;
  color: rgb(174, 174, 174);
}

/*FONTES*/
.title {
  color: white;
  font-weight: 800;
  font-size: 2.5rem;
}

.subtitle {
  color: rgb(250, 115, 22);
  font-weight: 600;
  font-size: 1.5rem;
}

.text {
  color: rgb(174, 174, 174);
  font-size: 1rem;
}

/*CABEÇALHO*/
#header {
  position: sticky;
  top: 0;
  z-index: 1;

  padding: 10px;

  background-color: rgb(9, 9, 11);
  display: flex;
  justify-content: space-between;
  align-items: center;

  height: 60px;
  border-bottom: 1px solid rgb(50, 50, 50);
}

.logo-area {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.logo-title {
  font-size: 1rem;
}

.logo-title span {
  color: rgb(250, 115, 22);
}

.logo-subtitle {
  font-size: 0.7rem;
}

.btn-area {
  display: flex;
}

.dashboard {
  margin: 10px;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 10px 20px 10px 20px;
  white-space: nowrap;
}

.ativo {
  color: rgb(255, 132, 0);
  background-color: rgba(255, 132, 0, 0.2);
}

.home {
  text-decoration: none;
  font-size: 0.8rem;
  margin: 10px;
  padding: 10px 20px 10px 20px;
}

/*ÁREA DO HERO*/
#hero {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  margin-bottom: 40px;

  align-items: center;
  justify-content: space-around;
}

#hero-content {
  display: flex;
  flex-direction: column;
  margin: 10px;
}

.hero-btn-area {
  margin: 25px 0px 25px 0px;
  padding: 10px;
  gap: 10px;
  display: flex;
  flex-direction: row;
}

.dashboard-btn {
  transition: linear 0.2s;
  text-decoration: none;
  padding: 10px;
  background-color: rgb(250, 115, 22);
  color: white;
  border-radius: 8px;
  font-weight: 600;
}

.dashboard-btn:hover {
  background-color: rgb(207, 83, 0);
}

.talk-us {
  transition: linear 0.2s;
  text-decoration: none;
  padding: 10px;
  border: 1px solid rgb(50, 50, 50);
  color: rgb(174, 174, 174);
  border-radius: 8px;
  font-weight: normal;
}

.talk-us:hover {
  color: white;
  border-color: rgb(174, 174, 174);
}

.hero-extra {
  display: flex;
  flex-direction: row;
}

.hero-extra-content {
  margin: 10px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.hero-extra-text {
  font-size: 0.8rem;
  margin: 5px;
}

.hero-extra-subtitle {
  margin: 5px;
}

.hero-popup {
  margin: 10px;
  padding: 4px 10px 4px 7px;
  width: fit-content;
  border: 1px solid rgb(174, 174, 174);
  border-radius: 100px;
  background-color: rgb(30, 30, 30);
}

.hero-popup span {
  color: rgb(250, 115, 22);
}

.hero-title {
  margin: 10px;
}

.hero-title span {
  color: rgb(250, 115, 22);
}

.hero-main-text {
  margin: 10px;
}

/*IMAGENS DO HERO*/
#hero-image {
  position: relative;

  width: fit-content;
  max-width: 1200px;
  margin: 0 60px;
  padding: 0 20px;
}

#main-image {
  display: block;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

#float-image {
  position: absolute;
  max-width: 40%;
  height: auto;

  bottom: 0;
  left: 0;

  transform: translate(-40%, 20%);
}

/*SERVIÇOS*/
#services {
  display: flex;
  flex-direction: column;
  background-color: rgb(15, 15, 17);
  align-items: center;
  margin: 40px 0px;
}

#section-header {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 10px;
  padding: 30px;
}

.services-subtitle {
  padding: 10px;
  font-size: 0.8rem;
}

.services-title {
  padding: 5px;
  font-size: 2rem;
}

.services-text {
  padding: 2px;
}

/*GRID DE CARDS DA SEÇÃO 'SERVICES'*/
#services-grid {
  display: grid;
  padding: 20px;

  width: 100%;
  height: 100%;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 20px;

  background-color: rgb(20, 20, 20);
  border: 1px solid rgb(40, 40, 40);
  border-radius: 5px;

  align-items: start;
  transition: all linear 0.2s;
}

.card:hover {
  border-color: rgb(70, 70, 70);
}

.card h3 {
  margin: 4px;
  font-size: 1rem;
}

.card p {
  margin: 4px;
  font-size: 0.8rem;
}

/*ÁREA DE ÍCONES*/
svg {
  color: rgb(250, 115, 22);
}

.icon {
  margin: 5px;
  padding: 5px 5px 0px 5px;
  width: fit-content;
  background-color: rgba(250, 115, 22, 0.1);
  border-radius: 10px;
}

/*LOYALTY*/
#loyalty {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;

  align-items: center;
  justify-content: space-around;
}

#loyalty-main-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: fill;
  display: block;
}

.loyalty-image {
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  max-width: 350px;
}

.loyalty-text {
  color: rgb(60, 60, 60);
  margin: 15px;
  font-size: 0.8rem;
}

#loyalty-text-area h1 {
  font-size: 1.5rem;
  margin: 15px;
}

.loyalty-subtitle {
  font-size: 0.8rem;
  margin: 15px;
}

#loyalty-list {
  list-style: none;
  margin: 15px;
  align-items: center;
}

#loyalty-list li {
  color: rgb(174, 174, 174);
  padding: 5px;
}

/*ÁREA DO POPUP DO DASHBOARD*/
#dashboard-popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 20px;
  background-color: rgb(15, 15, 17);
}

#popup-btn {
  transition: linear 0.2s;
  margin: 20px;
  padding: 15px;
  text-decoration: none;
  background-color: rgb(250, 115, 22);
  color: white;
  font-weight: bold;
}

#popup-btn:hover {
  background-color: rgb(207, 83, 0);
}

#popup-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#popup-text h1 {
  font-size: 1.8rem;
  padding: 10px;
}

#popup-text p {
  font-size: 0.9rem;
  padding: 0px 10px 10px 10px;
}

#dashborad-popup button {
  margin: 5px;
  padding: 13px;

  color: white;
  font-weight: bold;
  background-color: rgb(250, 115, 22);
  border-radius: 5px;
}

#arrow-right-icon {
  color: white;
}

/*ÁREA DE CONTATOS*/
#contacts {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 40px;
}

#contact-text-area {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 20px;
  padding: 40px 20px 40px 20px;
}

.contact-subtitle {
  font-size: 0.8rem;
  padding: 10px;
}

.contact-title {
  font-size: 1.5rem;
  padding: 10px;
}

.contact-text {
  font-size: 0.8rem;
  padding: 5px;
}

/*GRID DE CARDS DA SEÇÃO 'CONTACTS'*/
#contacts-grid {
  display: grid;
  justify-content: center;
  width: 100%;

  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;

  margin: 20px;
  padding: 20px;
}

#contacts-grid .icon {
  border-radius: 100px;
  padding: 10px 10px 5px 10px;
}

#contacts-grid .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

/*RODAPÉ*/
#footer-area {
  display: flex;
  justify-content: space-between;

  padding: 30px;

  background-color: black;
  border-top: 1px solid rgb(20, 20, 20);
}

#footer-area span {
  color: rgb(250, 115, 22);
}

#footer-area h1 {
  font-size: 1rem;
}

#footer-area p {
  font-size: 0.6rem;
  color: rgb(60, 60, 60);
}

/*=====================AREA DO DASHBOARD=====================*/
#dashboard {
  display: flex;
  flex-direction: column;

  align-items: center;
}

#dashboard-header {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 20px;
  padding: 15px;

  text-align: center;
}

.dashboard-header-subtitle {
  font-size: 1rem;
}

.dashboard-header-title {
  padding: 20px;
}

/*BARRA DE BUSCA DO DASHBOARD*/

#dashboard-search {
  display: flex;
  flex-direction: column;
  padding: 20px;
  align-items: center;
  margin: 30px;

  min-width: 250px;

  background-color: rgb(20, 20, 20);
  border: 1px solid rgb(40, 40, 40);
  border-radius: 15px;
}

#dashboard-search-input {
  display: flex;
  align-items: center;
  width: 50%;

  color: rgb(60, 60, 60);
  margin: 5px;

  background-color: rgb(9, 9, 11);
  border: 1px solid rgb(60, 60, 60);
  border-radius: 10px;
}

#dashboard-search-input svg {
  margin: 8px;
}

.dashboard-input {
  height: 100%;
  width: 100%;

  border: none;
  background: none;

  font-size: 0.8rem;
  color: rgb(174, 174, 174);
}

.dashboard-input-text {
  margin: 5px;
  color: rgb(60, 60, 60);

  font-size: 0.8rem;
}

#dashboard-search-top {
  display: flex;
  flex-wrap: wrap;
  width: 100%;

  align-items: center;
  justify-content: space-around;
}

#dashboard-search-top button {
  transition: all linear 0.2s;
}

#dashboard-search-top button:hover {
  color: white;
  border-color: rgb(120, 120, 120);
}

#dashboard-search-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 20px 5px;
}

#search-icon {
  color: rgb(60, 60, 60);
}

/*FILTRO DE BUSCA DO DASHBOARD*/
.dashboard-filter-btn {
  border: 1px solid rgb(60, 60, 60);
  border-radius: 10px;
  margin: 5px 5px 5px 5px;
  padding: 12px 16px 12px 16px;
}

/*GRID DE CARDS DA SEÇÃO 'DASHBOARD'*/
#dashboard-grid {
  display: grid;
  width: 80%;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;

  justify-content: center;
}

.dashboard-grid-title {
  font-size: 1rem;
  margin: 4px;
}

.card-text-column {
  display: flex;
  flex-direction: column;

  padding: 2px;
}

.dashboard-card {
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: all linear 0.2s;
  cursor: pointer;
}

.dashboard-card:hover {
  background-color: rgb(30, 30, 30);
}

.categoria {
  border-radius: 100px;
  padding: 3px 8px 3px 8px;

  font-size: 0.75rem;
}

.categoria::before {
  content: "●";
  margin-right: 5px;
  font-size: 0.75rem;
}

.dashboard-acessar {
  color: rgb(70, 70, 70);
  font-size: 0.8rem;
}

.dashboard-acessar-right {
  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: center;
  gap: 10px;
}

.acessar-icon svg {
  padding-top: 8px;
  color: rgb(70, 70, 70);
  width: 12px;
}

.dashboard-icons-row {
  padding: 5px;
  color: inherit;
  border-radius: 5px;
}

.card-text-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  margin: 4px;
}

/*CATEGORIAS*/
.dashboard-card.federal .dashboard-icons-row {
  background-color: rgba(147, 197, 253, 0.1);
}

.dashboard-card.federal .dashboard-icons-row svg {
  color: rgb(147, 197, 253);
}

.dashboard-card.estadual .dashboard-icons-row {
  background-color: rgba(186, 171, 240, 0.1);
}

.dashboard-card.estadual .dashboard-icons-row svg {
  color: rgb(186, 171, 240);
}

.dashboard-card.trabalhista .dashboard-icons-row {
  background-color: rgba(134, 239, 172, 0.1);
}

.dashboard-card.trabalhista .dashboard-icons-row svg {
  color: rgb(134, 239, 172);
}

.dashboard-card.consultas .dashboard-icons-row {
  background-color: rgba(252, 197, 44, 0.1);
}

.dashboard-card.consultas .dashboard-icons-row svg {
  color: rgb(252, 197, 44);
}

.dashboard-card.ferramentas .dashboard-icons-row {
  background-color: rgba(255, 154, 46, 0.1);
}

.dashboard-card.ferramentas .dashboard-icons-row svg {
  color: rgb(255, 154, 46);
}

.categoria.federal {
  color: rgb(147, 197, 253);
  background-color: rgba(147, 197, 253, 0.2);
}

.categoria.estadual {
  color: rgb(186, 171, 240);
  background-color: rgba(186, 171, 240, 0.2);
}

.categoria.trabalhista {
  color: rgb(134, 239, 172);
  background-color: rgba(134, 239, 172, 0.2);
}

/*código satânico*/

.categoria.consultas {
  color: rgb(252, 197, 44);
  background-color: rgba(252, 197, 44, 0.2);
}

.categoria.ferramentas {
  color: rgb(255, 154, 46);
  background-color: rgba(255, 154, 46, 0.2);
}

/*AVISO NO FOOTER  DO DASHBOARD*/
#advice {
  display: flex;
  align-items: start;
  justify-content: center;

  background-color: rgb(20, 20, 20);
  border: 1px solid rgb(40, 40, 40);
  border-radius: 15px;

  padding: 10px;
}

#advice .icon {
  padding: 10px 10px 5px 10px;
  margin: 15px;
}

.advice-title {
  font-size: 1.3rem;
}

.advice-text {
  font-size: 0.8rem;
}

/*MEDIA QUERIES*/

/*<========== CELULARES ==========>*/

@media (max-width: 1043px) {
  #hero-content {
    text-align: center;
    align-items: center;
  }

  .hero-title {
    text-align: justify;
  }

  .hero-btn-area {
    justify-content: center;
    align-items: center;
  }

  .hero-extra {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-main-text {
    text-align: justify;
  }
}

@media (min-width: 480px) and (max-width: 900px) {
  html {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 0.7rem;
  }

  #main-image {
    display: none;
  }
}
