body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  background-color: rgb(27, 29, 36);
}

* {
    box-sizing: border-box;
    margin: 0;
}

.container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
}

.map {
  background-image: url("/file/image/rsMap2.png");
  width: calc(8306px);
  height: calc(4850px);
  will-change: transform;
  transform: translate(0, 0);
}
.map-zoom {
  transform: scale(1);
  transform-origin: 50vw 50vh;
  transition: transform 0.05s;
}

.element {
  position: absolute;
  z-index: 100;
  font-size: 20px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  transform-origin: center;
  transition: transform 0.1s;
  background-color: rgb(27, 29, 36);
  border: 3px solid;
  font-size: 20px;
  width: 30px;
  height: 30px;
  line-height: 1;
  user-select: none;
  opacity: 0.9;
}

.element:hover .desc {
  display: block;
}

.element:hover {
  z-index: 210;
}

.teleport {
  text-transform: uppercase;
  font-weight: 900;
  border-radius: 50%;
  border-color: rgb(0, 176, 255);
  color: rgb(0, 176, 255);
}

.farm {
  text-transform: uppercase;
  font-weight: 900;
  border-radius: 50%;
  border-color: rgb(34, 170, 68);
  color: rgb(34, 170, 68);
}

.daily {
  text-transform: uppercase;
  font-weight: 900;
  border-radius: 50%;
  border-color: rgb(184, 30, 68);
  color: rgb(184, 30, 68);
}

.desc {
  position: absolute;
  left: calc(100% + 10px);
  padding: 5px 10px;
  background-color: rgb(38, 41, 51);
  font-size: 12px;
  display: none;
  border-radius: 2px;
  min-width: 200px;
}

.title {
  font-size: 10px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.667);
  text-align: center;
  padding-bottom: 2px;
}

.text {
  font-size: 11px;
  color: rgb(248, 248, 248);
  text-align: center;
}

/* MENU */

.menu {
    position: fixed;
    top: 10px;
    right: 0;
    padding: 20px 30px;
    background-color: #262933dd;
    z-index: 100;
    user-select: none;
    color: white;
    border-radius: 3px 0 0 3px;
    min-width: 220px;
}

.menu-title {
    font-weight: 800;
    padding-bottom: 10px;
    font-size: 16px;
    text-align: center;
}

.menu-element {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    color: #ffffffdd;
    font-size: 13px;
    font-weight: 700;
    justify-content: space-between;
    padding: 5px 0 0 5px;
}

/* SWITCH */

.switch {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 44px;
    min-width: 44px;
    height: 28px;
}

.switch-body {
    width: 26px;
    height: 10px;
    border-radius: 12px;
    background-color: rgb(99, 99, 99);
    transition: background-color 0.1s ease 0s;
    position: relative;
}

.switch-handle {
    width: 16px;
    height: 16px;
    background-color: rgb(189, 189, 189);
    position: absolute;
    top: -3px;
    left: -3px;
    border-radius: 50%;
    transition: box-shadow 0.1s ease 0s, background-color 0.1s ease 0s, color 0.1s ease 0s, transform 0.1s ease 0s;
    color: rgba(255, 255, 255, 0.133);
}

.switch.active .switch-body {
    background-color: rgb(20, 111, 155);
}

.switch.active .switch-handle {
    background-color: rgb(0, 176, 255);
    color: rgba(0, 176, 255, 0.133);
    transform: translateX(16px);
}

/* DEBUG */

.debug {
    position: fixed;
    padding: 10px 20px;
    background-color: #262933dd;
    border-radius: 3px;
    z-index: 90;
    font-weight: 800;
    font-size: 12px;
    color: white;
    top: 10px;
    left: 10px;
}

.debug.hidden {
    display: none;
    pointer-events: none;
    user-select: none;
}