:root {
  --main-color: rgb(36, 4, 69);
  --main-menu-color_A: rgb(9, 9, 65);
  --main-menu-color_B: rgb(171, 171, 183);
  --nav-height: 55px;
  --footer-height: 40px;
  --bacground-color: rgb(221 221 214);
  --text-color: rgb(255, 255, 255);
  --text-page-color: rgb(0, 0, 0);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p {
  margin-right: 40px;
  margin-left: 40px;
  font-size: 14px;
}

header {
  height: var(--nav-height);
}

body {
  font-family: "Poppins", sans-serif;
  overflow: hidden;
  font-size: 1.2rem;
}

ul {
  list-style: none;
  margin-left: 1px;
}

a {
  text-decoration: none;
}

header {
  position: sticky;
  top: 0px;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(
    180deg,
    var(--main-menu-color_A) 3%,
    var(--main-menu-color_B) 90%
  );
}

.container {
  max-width: 90dvw;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  position: relative;
  justify-content: space-around;
  width: 100%;
}

.navbar-logo {
  cursor: pointer;
  height: var(--nav-height);
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  columns: 3;
  min-width: 100dvw;
  max-width: 100dvw;
  min-height: var(--footer-height);
  position: absolute;
  bottom: 0;
  color: var(--text-color);
  z-index: 1000;
  background: linear-gradient(
    0deg,
    var(--main-menu-color_A) 3%,
    var(--main-menu-color_B) 90%
  );
}

.hidden {
  display: none !important;
}

.main_container {
  position: relative;
  padding: 25px;
  width: 100%;
  background-color: var(--bacground-color);
  min-height: calc(100dvh - (var(--nav-height) + var(--footer-height)));
  max-height: calc(100dvh - (var(--nav-height) + var(--footer-height)));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.nav-btn {
  align-items: center;
  display: flex;
}

.nav-links {
  margin-left: 20px;
  margin-right: 20px;
}

.log-sign {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.3rem;
  font-size: 0.8rem;
  border: 2px solid #fff;
  border-radius: 2rem;
  margin: 0 0.2rem;
  transition: 0.3s;
}

.btn.solid,
.btn.transparent:hover {
  background-color: #fff;
  color: var(--main-color);
}

.btn.transparent,
.btn.solid:hover {
  background-color: transparent;
  color: #fff;
}

.nav-links > ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link {
  position: relative;
}

.nav-link > a {
  line-height: 3rem;
  color: #fff;
  padding: 0 0.8rem;
  letter-spacing: 1px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.nav-link > a > i {
  margin-left: 0.2rem;
}

.nav-link:hover > a {
  transform: scale(1.1);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  /* width: 10rem; */
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
  width: fit-content;
  width: 250px;
  z-index: 999999 !important;
}

.dropdown ul {
  position: relative;
  z-index: 1010;
}

.dropdown-link > a {
  display: flex;
  background-color: #c7f6e8;
  color: var(--main-color);
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s;
  border-radius: 5px;
  border: solid 2px var(--main-color);
  z-index: 999999 !important;
}

.dropdown-link:hover > a {
  background-color: var(--main-color);
  color: #fff;
  z-index: 999999 !important;
}

.dropdown-link:not(:nth-last-child(2)) {
  border-bottom: 1px solid #efefef;
  z-index: 999999 !important;
}

.dropdown-link i {
  transform: rotate(-90deg);
  z-index: 999999 !important;
}

.arrow {
  position: absolute;
  width: 11px;
  height: 11px;
  top: -5.5px;
  left: 32px;
  background-color: #fff;
  transform: rotate(45deg);
  cursor: pointer;
  transition: 0.3s;
  z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow {
  background-color: var(--main-color);
  z-index: 999999 !important;
}

.dropdown-link {
  position: relative;
  margin-top: 5px;
  z-index: 999999 !important;
}

.dropdown.second {
  top: 0;
  left: 100%;
  /* padding-left: 0.8rem; */
  cursor: pointer;
  transform: translateX(10px);
  z-index: 999999 !important;
}

.dropdown.second .arrow {
  top: 10px;
  left: -5.5px;
  z-index: 999999 !important;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover > .dropdown {
  transform: translate(0, 0);
  opacity: 1;
  pointer-events: auto;
  z-index: 999999 !important;
}

.hamburger-menu-container {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu div {
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background-color: #fff;
  position: relative;
  z-index: 1001;
  transition: 0.5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
  background-color: #fff;
  border-radius: 3px;
  transition: 0.5s;
}

.hamburger-menu div:before {
  transform: translateY(-7px);
}

.hamburger-menu div:after {
  transform: translateY(7px);
}

#check {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  z-index: 90000;
  cursor: pointer;
  opacity: 0;
  display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div {
  background-color: transparent;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before {
  transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after {
  transform: translateY(0) rotate(45deg);
}

/* FOX */
.fox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#map {
  width: 100dvw;
  height: 100dvh;
  /* min-height: calc(100dvh - (var(--nav-height) + var(--footer-height)));
  max-height: calc(100dvh - (var(--nav-height) + var(--footer-height))); */
  cursor: pointer;
  position: relative;
}

.left-container {
  width: 60dvw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.right-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: 15px;
  max-width: 35dvw;
}

.listing-group {
  position: absolute;
  bottom: 5px;
  right: 10px;
  z-index: 1000;
  font:
    12px/20px "Helvetica Neue",
    Arial,
    Helvetica,
    sans-serif;
  font-weight: 600;
  border-radius: 3px;
  width: 150px;
  color: #fff;
}

.listing-group input[type="checkbox"]:first-child + label {
  border-radius: 3px 3px 0 0;
}

.listing-group label:last-child {
  border-radius: 0 0 3px 3px;
  border: none;
}

.listing-group input[type="checkbox"] {
  display: none;
}

.listing-group input[type="checkbox"] + label {
  background-color: #3386c0;
  display: block;
  cursor: pointer;
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.listing-group input[type="checkbox"] + label {
  background-color: #3386c0;
  text-transform: capitalize;
}

.listing-group input[type="checkbox"] + label:hover,
.listing-group input[type="checkbox"]:checked + label {
  background-color: #4ea0da;
}

.listing-group input[type="checkbox"]:checked + label:before {
  content: "✔";
  margin-right: 5px;
}

.map-overlay {
  font:
    12px/20px "Helvetica Neue",
    Arial,
    Helvetica,
    sans-serif;
  position: absolute;
  width: 31.8%;
  top: 90px;
  left: 50px;
  padding: 10px;
  z-index: 1001;
}

.map-overlay .map-overlay-inner {
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  padding: 10px;
  margin-bottom: 10px;
}

#search_b,
#tracker {
  z-index: 1001;
}

.map-overlay input {
  margin: 2px;
}

input[type="number"] {
  width: 25%;
}

#filter-result {
  font-size: 8px;
  font-family: "Courier New";
}

#compass-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  font-family: Arial, sans-serif;
  color: rgb(235, 232, 8);
  text-shadow:
    0 0 2px #000,
    0 0 3px #000;
}

/* Each edge */
#compass-top,
#compass-right,
#compass-bottom,
#compass-left {
  position: absolute;
}

/* Top */
#compass-top {
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
}

/* Bottom */
#compass-bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
}

/* Left */
#compass-left {
  top: 0;
  bottom: 0;
  left: 0;
  width: 32px;
}

/* Right */
#compass-right {
  top: 0;
  bottom: 0;
  right: 0;
  width: 32px;
}

/* Tick */
.compass-tick {
  position: absolute;
  background: rgb(13, 5, 236);
  opacity: 0.9;
}

/* Horizontal edge tick */
.compass-tick.horizontal {
  width: 1px;
  height: 16px;
}

/* Vertical edge tick */
.compass-tick.vertical {
  width: 16px;
  height: 1px;
}

/* Major tick */
.compass-tick.major {
  height: 11px;
  width: 1.5px;
}

/* Major vertical tick */
.compass-tick.vertical.major {
  width: 11px;
  height: 1.5px;
}

/* Labels */
.compass-label {
  position: absolute;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  transform: translate(-50%, 0);
}

/* Cardinal directions */
.compass-cardinal {
  font-size: 23px;
  font-weight: bold;
}

/* Small centre indicator */
.compass-center {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 10px;
  background: red;
  transform: translateX(-50%);
}

#hunter-heading {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#hunter-arrow {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 36px solid red;
  filter: drop-shadow(0 0 2px black) drop-shadow(0 0 4px black);
  transform-origin: 50% 50%;
  transition: transform 0.3s ease;
  z-index: 3;
}

.ruler-line {
  display: none !important;
}

#ruler-marks {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.ruler-tick {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: red;
  box-shadow: 0 0 2px black;
}

.ruler-label {
  position: absolute;
  left: 24px;
  transform: translateY(-50%);
  color: white;
  font-size: 10px;
  font-weight: bold;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.65);
  padding: 2px 4px;
  border-radius: 3px;
  text-shadow: 0 0 2px black;
}

#hunter-heading-value {
  margin-top: 5px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}

.yellow-marker {
  width: 32px;
  height: 40px;
  background-image: url("/images/yellow-marker.png");
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

#hunter-ruler,
#hunter-ruler .ruler-line,
#hunter-ruler #ruler-marks {
  display: none !important;
}

.btn_get {
  width: 55px;
  background-color: #bab0df;
  margin-top: 5px;
}

.btn_track {
  width: 55px;
  background-color: #caef10;
  margin-top: 5px;
}

.fox_input {
  width: 55px;
}

.fox_input_group {
  display: flex;
  flex-direction: row;
  width: fit-content;
}

#north-marker {
  position: absolute;
  width: 28px;
  height: 28px;

  transform: translate(-50%, -50%);

  z-index: 100;
  pointer-events: none;
}

#north-arrow {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 0;
  height: 0;

  transform: translate(-50%, -50%);

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 22px solid red;

  filter:
    drop-shadow(0 0 1px white)
    drop-shadow(0 0 2px white);
}

.btn_triangulate{
  width: 100%;
  background-color: #ffcc00;
  height: 100%;
}
