* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.container {
  position: relative;
  background: #cee0f1;
  min-height: 100vh;
}

.logo {
  position: absolute;
  top: calc(100vw*50/1494);
  right: calc(100vw*50/1494);
  background: url(../img/qmp-logo.png) 0 0 no-repeat;
  background-size: cover;
  width: calc(100vw*128/1494);
  height: calc(100vw*81/1494);
  z-index: 1;
}

.phase {
  background-size: cover;
  background-position: center 0;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.phase label {
  margin-left: calc(100vw*20/1494);
  margin-top: calc(-100vw*10/1494);
  background-size: cover;
  background-position: center 0;
  background-repeat: no-repeat;
  text-indent: -9999px;
}

.phase-1 {
  background-image: url(../img/phase-1-bg.png);
  height: calc(100vw*698/1494);
}

.phase-1 label {
  background-image: url(../img/phase-1-label.png);
  width: calc(100vw*62/1494);
  height: calc(100vw*179/1494);
}

.phase-2 {
  background-image: url(../img/phase-2-bg.png);
  height: calc(100vw*503/1494);
}

.phase-2 label {
  background-image: url(../img/phase-2-label.png);
  width: calc(100vw*69/1494);
  height: calc(100vw*199/1494);
}

.phase-3 {
  background-image: url(../img/phase-3-bg.png);
  height: calc(100vw*530/1494);
}

.phase-3 label {
  background-image: url(../img/phase-3-label.png);
  width: calc(100vw*67/1494);
  height: calc(100vw*202/1494);
}

.village-el {
  position: absolute;
  background-size: cover;
  transition: all 0.25s cubic-bezier(0,0,0,1) 0s;
  cursor: pointer;
}

.village-el-a {
  position: absolute;
  background-size: cover;
  transition: all 0.75s ease-in 0.25s;
  opacity: 0;
  z-index: 10;
}
.village-el-a.active {
  opacity: 1;
}

.village-el-t {
  position: absolute;
  background-size: cover;
  transition: all 0.75s ease-in 1s;
  opacity: 0;
  z-index: 20;
}
.village-el-t.active {
  opacity: 1;
}

.village-1-1-1 {
  background-image: url(../img/village-1-1-1.png);
  width: calc(100vw*143/1494);
  height: calc(100vw*380/1494);
  top: 19%;
  left: 44%;
  z-index: 1;
}
.village-1-1-1.active {
  top: 19%;
  left: 47.4%;
}
.village-1-1-2 {
  background-image: url(../img/village-1-1-2.png);
  width: calc(100vw*150/1494);
  height: calc(100vw*380/1494);
  top: 19%;
  left: 54%;
  z-index: 1;
}
.village-1-1-2.active {
  top: 19%;
  left: 57.4%;
}
.village-1-2 {
  background-image: url(../img/village-1-2.png);
  width: calc(100vw*288/1494);
  height: calc(100vw*160/1494);
  top: 53%;
  left: 43%;
  z-index: 2;
}
.village-1-2.active {
  top: 52%;
  left: 20.6%;
}
.village-1-3 {
  background-image: url(../img/village-1-3.png);
  width: calc(100vw*137/1494);
  height: calc(100vw*214/1494);
  top: 47%;
  left: 61%;
  z-index: 3;
}
.village-1-3.active {
  top: 70%;
  left: 38%
}
.village-1-4 {
  background-image: url(../img/village-1-4.png);
  width: calc(100vw*162/1494);
  height: calc(100vw*123/1494);
  top: 64%;
  left: 38%;
  z-index: 4;
}
.village-1-4.active {
  top: 23%;
  left: 27%;
}
.village-1-5 {
  background-image: url(../img/village-1-5.png);
  width: calc(100vw*105/1494);
  height: calc(100vw*73/1494);
  top: 70.6%;
  left: 56%;
  z-index: 5;
}
.village-1-5.active {
  top: 30.2%;
  left: 14.3%;
}
.village-1-a1 {
  background-image: url(../img/village-1-a1.png);
  width: calc(100vw*178/1494);
  height: calc(100vw*107/1494);
  top: 58%;
  left: 10%;
}
.village-1-a2 {
  background-image: url(../img/village-1-a2.png);
  width: calc(100vw*36/1494);
  height: calc(100vw*30/1494);
  top: 36%;
  left: 8%;
  transition: all 1.75s ease-in 0s;
}
.village-1-a2.active {
  left: 24%;
}
.village-1-a3 {
  background-image: url(../img/village-1-a3.png);
  width: calc(100vw*35/1494);
  height: calc(100vw*17/1494);
  top: 38%;
  left: 14%;
  transition: left 5.75s linear 5s;
}
.village-1-a3.active {
  left: 34%;
}
.village-1-a4 {
  background-image: url(../img/village-1-a4.png);
  width: calc(100vw*36/1494);
  height: calc(100vw*46/1494);
  top: 34%;
  left: 38%;
}
.village-1-a5 {
  background-image: url(../img/village-1-a5.png);
  width: calc(100vw*93/1494);
  height: calc(100vw*90/1494);
  top: 34.8%;
  left: 67.5%;
}
.village-1-t1-1 {
  background-image: url(../img/village-1-t1-1.png);
  width: calc(100vw*78/1494);
  height: calc(100vw*56/1494);
  bottom: calc(-100vw*52/1494);
  left: 16%;
}
.village-1-t1-2 {
  background-image: url(../img/village-1-t1-2.png);
  width: calc(100vw*77/1494);
  height: calc(100vw*54/1494);
  bottom: calc(-100vw*50/1494);
  left: 28%;
}
.village-1-t2 {
  background-image: url(../img/village-1-t2.png);
  width: calc(100vw*96/1494);
  height: calc(100vw*29/1494);
  top: calc(-100vw*24/1494);
  left: 24%;
}
.village-1-t3 {
  background-image: url(../img/village-1-t3.png);
  width: calc(100vw*70/1494);
  height: calc(100vw*35/1494);
  top: calc(-100vw*40/1494);
  left: 16%;
}
.village-1-t4 {
  background-image: url(../img/village-1-t4.png);
  width: calc(100vw*91/1494);
  height: calc(100vw*28/1494);
  top: calc(-100vw*28/1494);
  left: 16%;
}
.village-1-t5 {
  background-image: url(../img/village-1-t5.png);
  width: calc(100vw*125/1494);
  height: calc(100vw*31/1494);
  top: calc(-100vw*31/1494);
  left: -10%;
}

.village-2-1 {
  background-image: url(../img/village-2-1.png);
  width: calc(100vw*259/1494);
  height: calc(100vw*144/1494);
  top: 26%;
  left: 41%;
  z-index: 1;
}
.village-2-1.active {
  top: 70%;
  left: 64%;
}
.village-2-2 {
  background-image: url(../img/village-2-2.png);
  width: calc(100vw*339/1494);
  height: calc(100vw*246/1494);
  top: 9%;
  left: 57.4%;
  z-index: 2;
}
.village-2-2.active {
  top: 9%;
  left: 8%;
}
.village-2-3 {
  background-image: url(../img/village-2-3.png);
  width: calc(100vw*271/1494);
  height: calc(100vw*141/1494);
  top: 44%;
  left: 58.8%;
  z-index: 3;
}
.village-2-3.active {
  top: 10%;
  left: 35%;
}
.village-2-4 {
  background-image: url(../img/village-2-4.png);
  width: calc(100vw*167/1494);
  height: calc(100vw*157/1494);
  top: 35.6%;
  left: 74.8%;
  z-index: 4;
}
.village-2-4.active {
  top: 7%;
  left: 60%;
}
.village-2-5 {
  background-image: url(../img/village-2-5.png);
  width: calc(100vw*250/1494);
  height: calc(100vw*162/1494);
  top: 45%;
  left: 47%;
  z-index: 5;
}
.village-2-5.active {
  top: 63%;
  left: 36%;
}
.village-2-a1 {
  background-image: url(../img/village-2-a1.png);
  width: calc(100vw*62/1494);
  height: calc(100vw*54/1494);
  top: 84%;
  left: 32%;
}
.village-2-a2 {
  background-image: url(../img/village-2-a2.png);
  width: calc(100vw*67/1494);
  height: calc(100vw*50/1494);
  top: 87%;
  left: 40.5%;
}
.village-2-a3 {
  background-image: url(../img/village-2-a3.png);
  width: calc(100vw*29/1494);
  height: calc(100vw*47/1494);
  top: 88%;
  left: 53%;
}
.village-2-a4 {
  background-image: url(../img/village-2-a4.png);
  width: calc(100vw*33/1494);
  height: calc(100vw*59/1494);
  top: 86%;
  left: 62%;
}
.village-2-a5 {
  background-image: url(../img/village-2-a5.png);
  width: calc(100vw*63/1494);
  height: calc(100vw*51/1494);
  top: 87%;
  left: 81%;
}
.village-2-a6 {
  background-image: url(../img/village-2-a6.png);
  width: calc(100vw*165/1494);
  height: calc(100vw*113/1494);
  top: 72%;
  left: 81%;
}
.village-2-a7 {
  background-image: url(../img/village-2-a7.png);
  width: calc(100vw*193/1494);
  height: calc(100vw*128/1494);
  top: 31%;
  left: 69%;
}
.village-2-t1 {
  background-image: url(../img/village-2-t1.png);
  width: calc(100vw*74/1494);
  height: calc(100vw*33/1494);
  top: calc(-100vw*30/1494);
  left: 30%;
}
.village-2-t2 {
  background-image: url(../img/village-2-t2.png);
  width: calc(100vw*67/1494);
  height: calc(100vw*36/1494);
  top: calc(-100vw*26/1494);
  left: 30%;
}
.village-2-t3 {
  background-image: url(../img/village-2-t3.png);
  width: calc(100vw*70/1494);
  height: calc(100vw*37/1494);
  top: calc(-100vw*40/1494);
  left: 18%;
}
.village-2-t4 {
  background-image: url(../img/village-2-t4.png);
  width: calc(100vw*48/1494);
  height: calc(100vw*29/1494);
  top: calc(-100vw*30/1494);
  left: 20%;
}

.village-3-1 {
  background-image: url(../img/village-3-1.png);
  width: calc(100vw*178/1494);
  height: calc(100vw*139/1494);
  top: 37.8%;
  left: 20%;
  z-index: 1;
}
.village-3-2 {
  background-image: url(../img/village-3-2.png);
  width: calc(100vw*313/1494);
  height: calc(100vw*326/1494);
  top: 2.8%;
  left: 30.2%;
  z-index: 2;
}
.village-3-3 {
  background-image: url(../img/village-3-3.png);
  width: calc(100vw*161/1494);
  height: calc(100vw*127/1494);
  top: 42.2%;
  left: 30.8%;
  z-index: 3;
}
.village-3-3.active {
  top: 40%;
  left: 55%;
}
.village-3-a1 {
  background-image: url(../img/village-3-a1.png);
  width: calc(100vw*86/1494);
  height: calc(100vw*61/1494);
  top: 53%;
  left: 67%;
}
.village-3-a2 {
  background-image: url(../img/village-3-a2.png);
  width: calc(100vw*256/1494);
  height: calc(100vw*162/1494);
  top: 40%;
  left: 77%;
}
.village-3-t1 {
  background-image: url(../img/village-3-t1.png);
  width: calc(100vw*75/1494);
  height: calc(100vw*35/1494);
  top: calc(-100vw*38/1494);
  left: 26%;
}

.modal-content {
  position: fixed;
  top: 0;
  width: 360px;
  left: 0;
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 15px;
  border-radius: 16px;
  opacity: 0;
  z-index: -1;
  visibility: hidden;
}
.modal-content .hidden {
  display: none;
}

.modal {
  position: fixed;
  top: 125%;
  top: 0;
  width: 360px;
  left: 0;
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 15px;
  border-radius: 16px;
  z-index: 30;
  display: none;
}
.modal:hover {
  display: block !important;
}

.modal h1 {
  font-size: 16px;
}
.modal .hidden {
  display: none;
}

.modal p {
  margin-top: 10px;
  font-size: 14px;
}

.modal p.ml {
  margin-left: 18px;
}

.modal p:first-child {
  margin: 0;
}

.modal p strong {
  font-size: 15px;
}

.purple {
  color: #800080;
}

.green {
  color: #008000;
}

/* lds greed */
.lds-grid-wrapper {
  background: #a8b9c7;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.lds-grid {
  position: absolute;
  width: 64px;
  height: 64px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.lds-grid div {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  animation: lds-grid 1.2s linear infinite;
}
.lds-grid div:nth-child(1) {
  top: 6px;
  left: 6px;
  animation-delay: 0s;
}
.lds-grid div:nth-child(2) {
  top: 6px;
  left: 26px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(3) {
  top: 6px;
  left: 45px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(4) {
  top: 26px;
  left: 6px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(5) {
  top: 26px;
  left: 26px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(6) {
  top: 26px;
  left: 45px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(7) {
  top: 45px;
  left: 6px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(8) {
  top: 45px;
  left: 26px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(9) {
  top: 45px;
  left: 45px;
  animation-delay: -1.6s;
}
@keyframes lds-grid {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
