body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  min-height: 100vh;
  background-image: url("image/onderzoek-besluitvorming-rond-black-lives-matter-protest-op-dam-was-slordig.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #111111;
}

.bubble-container {
  position: absolute;
  z-index: 1000;
}

#George-Floyd {
  top: 120px;
  left: 200px;
}

#het-monument {
  top: 120px;
  right: 520px;
}

#zwarte-piet {
  top: 310px;
  left: 50%;
  transform: translateX(-50%);
}

#jongeren {
  bottom: 120px;
  left: 200px;
}

#corona {
  bottom: 120px;
  right: 520px;
}

.bubble {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #d32f2f;
  background-color: #ffffff;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bubble:hover {
  transform: scale(1.1);
  border-color: #111111;
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-text {
  display: none;
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background-color: #ffffff;
  color: #333333;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  border-left: 5px solid #d32f2f;
  z-index: 2000;
  animation: fadeIn 0.3s ease-out;
}

.popup-text h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: #111111;
  font-weight: bold;
}

.popup-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
}

.popup-text.show {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -5px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .bubble {
    width: 80px;
    height: 80px;
  }

  #George-Floyd {
    top: 80px;
    left: 20px;
  }

  #het-monument {
    top: 80px;
    right: 20px;
  }

  #zwarte-piet {
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #jongeren {
    bottom: 80px;
    left: 20px;
  }

  #corona {
    bottom: 80px;
    right: 20px;
  }

  .popup-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85vw;
    max-width: 340px;
    max-height: 60vh;
    overflow-y: auto;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -55%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
  }
}