/* --- RESET / BASE --- */
html,body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: rgba(25,25,25,1);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------------- BLACK HOLE CONTAINER ---------------- */
#blackhole {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 1;
}

/* ---------------- CANVAS ---------------- */
#blackhole canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  pointer-events: none;
}

/* ---------------- CENTER BUTTON ---------------- */
.centerHover {
  width: 255px;
  height: 255px;
  background: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 500ms ease;
}

.centerHover.open {
  opacity: 0;
  pointer-events: none;
}

/* ---------------- TEXT ---------------- */
.titleTop {
  font-family: serif;
  font-size: 22px;
  color: #f5b700;
  letter-spacing: 2px;
}
.titleBottom {
  font-family: serif;
  font-size: 14px;
  color: #f5b700;
  letter-spacing: 2px;
  margin-top: 5px;
}

/* ---------------- FADE OUT TRANSITION ---------------- */
.fadeOutScreen {
  position: fixed;
  inset: 0;
  background: black;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.3s ease;
  z-index: 9999;
}
.fadeOutScreen.active {
  opacity: 1;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
  .centerHover { width: 210px; height: 210px; }
  .titleTop { font-size: 18px; }
  .titleBottom { font-size: 12px; }
}
@media (max-width: 480px) {
  .centerHover { width: 180px; height: 180px; }
  .titleTop { font-size: 16px; }
  .titleBottom { font-size: 11px; }
}
