body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111;
  color: white;
}

#map {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
}

#map img {
  width: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.point {
  position: absolute;
  width: 20px;
  height: 20px;
  background: red;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s;
}

.point:hover {
  transform: translate(-50%, -50%) scale(1.5);
}

.point.locked {
  background: gray;
  cursor: not-allowed;
}

.line {
  position: absolute;
  height: 3px;
  background: black;
  transform-origin: 0 50%;
  z-index: 1;
  transition: all 0.3s;
}

#overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none !important;
}

#content {
  background: white;
  color: black;
  padding: 20px;
  width: 500px;
  border-radius: 10px;
  text-align: center;
}

#content img {
  width: 100%;
  pointer-events: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#footer {
  text-align: center;
}

.closeButton {
  border: none;
  background-color: none;
  margin-left: 15px;
  margin-bottom: 10px;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closeButton:hover {
  background-color: none;
}

#resetButton {
  margin-left: 0;
  position: absolute;
  left: 50%;
}

.possibility {
    display: inline-block;
}