body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
    background-color: black;
    color: white;
}

header {
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

header a {
    color: inherit;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

h1 {
    font-weight: 200;
    text-align: center;
    font-size: 2rem;
}

p {
    line-height: 2rem;
}

main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 1.5em;
    min-height: 60vh;
    box-sizing: border-box;
    width: 50vw;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 500px;
    user-select: none;
}

@media (max-width: 900px) {
    main {
        font-size: 1.2em;
    }
}


.dot {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid white;
  cursor: pointer;
  overflow: visible;
  transition: background 0.3s ease;
}

#dot1 {
  top: 40vh;
  left: 20vw;
}
#dot2 {
  top: 60vh;
  left: 45vw;
}
#dot3 {
  top: 30vh;
  left: 70vw;
}

.dot p {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  font-weight: 200;
  line-height: 1.75rem;
  text-align: left;
  font-size: 1.25rem;
}

.dot:hover p {
  opacity: 1;
}

.dot:hover {
  background: white;
}

.dot {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid white;
  cursor: pointer;
  overflow: visible;
  transition: background 0.3s ease;
}

.dot::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: black;
  border-radius: 50%;
  top: 40px; /* centered by default */
  left: 40px;
  transform: translate(0, 0);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.1s ease;
}

.dot:hover::before {
  opacity: 1;
}

.dot:hover {
  background: radial-gradient(circle, rgba(255,255,255,1) 40%, rgba(255,255,255,0.6) 100%);
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}
