:root {
  --text-color: #000;
  --primary: #373c42;
  --background: #a0aec0;
  --secondary_bg: rgba(191, 200, 212, 0.6);
  --border-color: #373c42;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #fff;
    --primary: #1c2126;
    --background: #121617;
    --secondary_bg: rgba(40, 49, 52, 0.6);
    --border-color: #1c2126;
  }
}
html, body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("https://images.pexels.com/photos/355887/pexels-photo-355887.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
}
body:before {
  background-color: rgba(0, 0, 0, 0.6);
  content: "";
  display: block;
  height: 100%;
  position: fixed;
  width: 100%;
}
@media (prefers-color-scheme: light) {
  body:before {
    background-color: rgba(255, 255, 255, 0.3);
  }
}
body * {
  position: relative;
  z-index: 1;
}

body, p, a, button {
  color: var(--text-color);
}

.widm--body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.widm--header {
  display: none;
  justify-content: center;
  width: 100%;
  background-color: #a0aec0;
  margin-bottom: 30px;
}
.widm--header-wrapper {
  max-width: 768px;
  margin: 0 auto;
  padding: 10px 30px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-flow: row nowrap;
}
.widm--header-left {
  display: inline-flex;
}
.widm--header-left img {
  max-width: 50px;
  max-height: 40px;
  -o-object-fit: contain;
     object-fit: contain;
}

.widm--compass {
  margin-top: 30px;
  display: inline-flex;
  flex-flow: row wrap;
  justify-content: center;
}
.widm--compass .widm--compass-container {
  flex: 1 100%;
  position: relative;
  min-width: 320px;
  min-height: 320px;
  max-width: 320px;
  max-height: 320px;
  border-radius: 50%;
  background-color: var(--secondary_bg);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  margin: 30px auto;
}
.widm--compass .widm--compass-container > .arrow {
  position: absolute;
  width: 0;
  height: 0;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 30px 20px 0 20px;
  border-color: var(--text-color) transparent transparent transparent;
  z-index: 1;
}
.widm--compass .widm--compass-container > .compass-circle,
.widm--compass .widm--compass-container .moon-icon,
.widm--compass .widm--compass-container > .my-point {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  background: url(/images/compass-white.svg?ac725cf0f86879bf0bd25b7afffa2d36) center no-repeat;
  background-size: contain;
}
@media (prefers-color-scheme: light) {
  .widm--compass .widm--compass-container > .compass-circle,
.widm--compass .widm--compass-container > .my-point {
    background: url(/images/compass.svg?cb1c81bcbcad21c2b3907f33b8434d50) center no-repeat;
  }
}
.widm--compass .widm--compass-container > .my-point {
  opacity: 0;
  width: 20%;
  height: 20%;
  background: rgb(8, 223, 69);
  border-radius: 50%;
  transition: opacity 0.5s ease-out;
}
.widm--compass .widm--compass-container .moon-icon {
  width: 20px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: end;
  background: none;
  transform: translate(0, -50%) rotate(0deg);
}
.widm--compass .widm--compass-container .moon-icon-img {
  width: 50px;
  height: 50px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
.widm--compass-buttons {
  flex: 1 100%;
  display: inline-flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 15px;
}
.widm--compass-buttons .btn {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  background-color: var(--background);
  padding: 10px 15px;
}
.widm--compass-debug, .widm--compass-todo {
  border: 2px solid var(--border-color);
  border-radius: 3px;
  background-color: var(--secondary_bg);
  padding: 15px;
  margin: 15px;
  list-style: none;
  width: 100%;
  max-width: 481px;
}
.widm--compass-debug li, .widm--compass-todo li {
  margin-bottom: 7.5px;
}
.widm--compass-debug li:before, .widm--compass-todo li:before {
  content: "-";
  padding-right: 7.5px;
}
.widm--compass-debug span, .widm--compass-todo span {
  font-weight: bold;
}
