* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Inter", sans-serif;
}

:root {
  --gray-800: #4b4c4b;
  --gray-700: #7b7c7f;
  --gray-600: #616467;
  --gray-500: #5b6065;
  --gray-400: #a7a7a7;
  --neutral-200: #e5e5e5;
  --white-900: #ffffff;
  --zinc-900-70: #00000070;
  --zinc-800-ab: #000000ab;
  --zinc-800: #262626;
  --teal-900: #008F83;
  --teal-600: #008F83;
  --yellow-700: #f4c109;

  font-size: 62.5%;
}

/* BODY */
body {
  height: 100%;

  font-size: 1.5rem;
  overflow: hidden;
 
  background: var(--zinc-800);

  display: flex;
  justify-content: center;
  align-items: center;
}
.app_container {
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  display: grid;
  grid-template-areas:
    "header-area header-area"
    "content-area content-area"
    "nav-area footer-area"
  ;
  grid-template-rows: min-content auto min-content;
}
.slider {
  color: var(--white-900);
}
/* NAV */
.nav {
  width: 100%;

  grid-area: nav-area;

  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}

main {
  width: 100%;
  overflow-y: auto;
  grid-area: content-area;
}
.nav #screen-00,
#screen-01,
#screen-02,
#screen-03,
#screen-04,
#updatedata,
#exitapp,
.qrcode {
  width: auto;
  min-width: 110px;

  font-size: 1.2rem;
  font-weight: 500;
  padding: 1rem;
  margin: 1.2rem;

  display: flex;
  text-align: center;
  flex-flow: column;
  align-items: center;
  text-transform: uppercase;

  border: 2px solid var(--yellow-700);
  border-radius: 0.5rem;
  background: var(--teal-900);
  color: var(--white-900);
  cursor: pointer;
}
.nav #screen-00 img,
#screen-01 img,
#screen-02 img,
#screen-03 img,
#screen-04 img,
#updatedata img,
#exitapp img,
.qrcode img {
  width: 32px;
  height: 32px;
  margin: 0.5rem;
}
/* ICONS NAVEGAÇÃO */
.ph-chart-line,
.ph-map-trifold,
.ph-qr-code,
.ph-cube {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-size: 3rem;
  padding-bottom: 0.5rem;
}

/* HEADER */
.content {
  gap: 4rem;
  max-height: 1125px;
  margin-left: 130px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}
header {
  background: var(--zinc-800);
  margin-bottom: 1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.screen-00 .text {
  color: var(--white-900);
  
  font-size: 2rem;
  font-weight: 600;

  text-align: center;
  text-transform: uppercase;
}

.screen-00 {
  height: 100%;
  width: 100%;
  display: flex;
  background: url("../screen.png") no-repeat;
  background-size: cover;
}
.devby {
  text-transform: uppercase;
  text-align: right;
  font-weight: 600;
  font-size: 1rem;
  
  top: 0;
  right: 0;
  gap: 0.5rem;
  
  display: flex;
  align-items: center;
  justify-content: flex-end;

  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 4rem;
  padding-right: 4rem;

  grid-area: footer-area;
  color: var(--white-900);
}

.devby img{
  width: 12rem;
  height: 3.5rem;
}
/* FORM */

.form form {
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 1.5rem;
  color: var(--white-900);
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
label p {
  padding-bottom: 0.6rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white-900);
}
.input {
  width: 35rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.3125rem;
  background: var(--zinc-900-70);
  font-size: 1.5rem;
  outline: none;
  color: var(--white-900);
  border: 0.1rem solid var(--yellow-700);
  border-radius: 5px;
}
.input:hover {
  background: var(--zinc-800-ab);
  transition: all 0.1s ease-in-out;
}
input::placeholder{
  color: var(--gray-400);
}

/* BUTTON */
.btn {
  width: 35rem;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  border: 0.1rem solid var(--yellow-700);
  background: var(--zinc-900-70);
  color: var(--white-900);
  cursor: pointer;
  border-radius: 5px;
}
.btn:hover {
  transition: all 0.1s linear;
  background: var(--teal-900);

}

/* SLIDER CONTAINER */
.slider-container {
  width: 100%;
}

.owl-carousel .owl-item img {
  display: block;
  width: auto;
  margin: auto;
}
.image-slider {
  width: auto;
  height: 42rem;
  background-repeat: no-repeat;
  background-position: initial;
}

.maps-container {
  position: relative;
  height: 100%;
  color: var(--white-900);
  display: flex;
  width: 100%;
  max-width: 100%;
}
.ar-container {
  color: var(--white-900);
  display: flex;
  margin-left: 1rem;
}
.home-container {
  color: var(--white-900);
  display: flex;
  align-items: center;
  gap: 3rem;
}
.home-info {
  flex: 1;
  text-align: center;
}
.home-info p {
  flex: 1;
  color: var(--gray-400);
  font-size: 1.5rem;
  text-align: justify;
  margin-bottom: 2rem;
}
.home-info h3 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--gray-400);
}
.home-info img {
  margin-top: 1rem;
  max-width: 100%;
  margin: auto;
  height: 90%;
}
.home-table {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.home-table table {
  color: var(--neutral-200);
  font-size: 1.5rem;
  border: 1px solid var(--gray-500);
  border-spacing: 0;
  width: 90%;
}
.home-table th {
  text-align: center;
  background: var(--teal-600);
  border: 1px solid var(--gray-400);
  padding: 0.5rem;
}
.home-table td {
  border: 1px solid var(--gray-400);
  padding: 0.5rem;
}
/* VIDEO QRCODE */
#video-container {
  line-height: 0;
  width: 100%;
  margin-top: 0;
  position: relative;
  background: var(--zinc-800);
  display: none;
}
#video-container.style-2 {
  position: relative;
  width: max-content;
  height: max-content;
  overflow: hidden;
}
#video-container.style-2 .scan-region-highlight {
  border-radius: 30px;
  outline: var(--zinc-900-70) solid 50vmax;
}
#video-container.style-2 .scan-region-highlight-svg {
  display: none;
}
#video-container.style-2 .code-outline-highlight {
  stroke: #ffffff80 !important;
  stroke-width: 15 !important;
  stroke-dasharray: none !important;
}
#stop-button {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 999;
  background-color: var(--teal-900);
  border: 2px solid var(--yellow-700);
  color: var(--white-900);
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}
#qr-video {
  width: 100%;
  height: 100%;
}
.screen {
  padding-left: 4rem;
  padding-right: 4rem;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}
.screen-02 {
  display: none;
}
.screen-03 {
  display: none;
}
.screen-04 {
  display: none;
}

#map {
  border-radius: 5px;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.selector {
  margin-bottom: 3rem;
}
.owl-nav {
  font-size: 6rem;
  color: #6c7175;
  position: relative;
  top: -290px;
}
.owl-prev {
  position: absolute;
  left: -3rem;
}
.owl-next {
  position: absolute;
  right: -3rem;
}
.owl-carousel .owl-item img {
  max-width: 100%;
  height: auto;
  max-height: 600px;
}
.item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-height: 600px;
}
.item img {
  height: 100%;
  max-height: 100%;
}
#select_instrumentos {
  width: 20rem;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 0.5rem;

  border: 2px solid var(--yellow-700);
  border-radius: 0.5rem;
  background: var(--teal-900);
  color: var(--white-900);
  border-radius: 5px;
}
.vale {
  padding-left: 4rem;
  padding-right: 4rem;

  grid-area: header-area;
  text-align: right;
}
.vale img {
  width: 120px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.loading-container {
  color: var(--white-900);
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.legend {
  background: rgba(255, 255, 255);
  color: black;
  margin: 5px;
  padding: 5px;
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.8) 0px 2px 8px 0px;
}

@media only screen and (max-height: 780px) {
  .app_container {
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    display: grid;
    grid-template-areas:
      "nav-area header-area"
      "nav-area content-area"
      "nav-area footer-area"
    ;
    grid-template-rows: min-content 1fr min-content;
    grid-template-columns: min-content 1fr;
  }
  .nav{
    display: flex;
    flex-flow: column nowrap;
  }
}