:root {
  --primary-color: #0b323c;
  --bg-color: white;
}
::-moz-selection {
  /* Code for Firefox */
  color: var(--primary-color);
  background: black;
}
::selection {
  color: var(--primary-color);
  background: black;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #555;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(44, 44, 44);
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  background: white;
}
body {
  overflow-x: hidden;
  overflow-y: hidden;
}

.main {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-rows: 20% 2360px auto;
}

.header {
  height: 100%;
  width: 100%;
  font-family: "Poppins", sans-serif;
}
.title {
  color: white;
  background: var(--primary-color);
  padding: 0.5%;
  margin: 0 2%;
  font-size: 2.5em;
  margin-block-end: 0;
  margin-block-start: 0;
}
.subtitle {
  margin: 0;
  font-size: 1em;
  margin-block-end: 0;
  margin-block-start: 0;
}
.navbar {
  text-align: center;
  background-color: var(--primary-color);
  height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar img {
  height: 40%;
}

.filter-container {
  height: 60%;
  display: none;
  align-items: center;
  justify-items: center;
}
.filters {
  padding: 1.5%;
  border-radius: 0.5em;
  display: grid;
  width: 37%;
  grid-template-columns: auto auto;
}
.filters label {
  justify-self: end;
  font-size: 1em;
}
.filters select {
  font-family: "Poppins", sans-serif;
  color: var(--primary-color);
  margin-left: 5%;
  font-size: 1em;
}

.content {
  width: 100%;
  display: grid;
}
#iframe-dashboard {
  width: 1360px;
  height: 100%;
  align-self: center;
  justify-self: center;
  background: white;
  display: none;
}

button {
  cursor: pointer;
}
.login {
  font-family: "Poppins", sans-serif;
  background: var(--primary-color);
  color: white;
  text-align: center;
  width: 22%;
  padding: 4% 5%;
  left: 33.5%;
  font-size: 1.2em;
  display: grid;
  position: fixed;
  justify-self: center;
  border-radius: 0.5em;
  box-shadow: 0 0 20px rgba(26, 26, 26, 0.25);
}
.login p {
  margin-top: 0;
  margin-bottom: 14%;
  font-size: 1.5em;
}
#login-error {
  display: none;
  font-size: 0.75em;
  color: rgba(175, 59, 59, 0.973);
  margin-top: 3%;
}
.login input {
  text-align: center;
  padding: 3% 2%;
  width: 70%;
  border-radius: 0.3em;
  border: none;
}
.login button {
  font-family: "Poppins", sans-serif;
  border-radius: 0.5em;
  font-size: 0.8em;
  color: white;
  padding: 2%;
  width: 42%;
  font-size: 1em;
  margin-top: 2%;
  background: #158a8e;
  border: none;
}

.footer {
  padding: 2%;
  background: var(--primary-color);
  margin-top: 5%;
  text-align: center;
}
.footer img {
  width: 5%;
}

/* MOBILE */
@media only screen and (max-width: 800px) {
  .main {
    grid-template-rows: 25% 610% 20%;
  }

  #iframe-dashboard {
    width: 100%;
  }

  .title {
    font-size: 1.4em;
    margin: 0 5%;
  }

  .login {
    padding: 10% 2%;
    width: 90%;
    top: 25%;
    left: 3%;
  }
  .login p {
    font-size: 1.3em;
  }

  .navbar {
    height: 40%;
    grid-template-columns: 20% 60% 20%;
    justify-items: center;
  }
  .navbar img {
    height: 35%;
    justify-self: center !important;
  }

  .filters {
    width: 100%;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    margin-bottom: 5%;
  }
  .filters label {
    justify-self: start;
    padding: 2%;
  }
  .filters select {
    margin-left: 0;
    padding: 2%;
  }

  .footer {
    display: grid;
  }
  .footer img {
    width: 30%;
    justify-self: center;
    align-self: center;
  }
}
