* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.floating-links {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.floating-links::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: url("../images/bg.jpg") center / cover no-repeat;
  z-index: 0;
  animation: bgFloat 10s ease-in-out infinite;
}

@keyframes bgFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(-2px, 2px) scale(1);
  }

  50% {
    transform: translate(2px, -2px) scale(1.01);
  }

  75% {
    transform: translate(-2px, -2px) scale(1);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(-2px, 2px) rotate(90deg);
  }

  50% {
    transform: translate(2px, -2px) rotate(180deg);
  }

  75% {
    transform: translate(-2px, -2px) rotate(270deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

.node {
  position: absolute;
  width: var(--size);
  height: var(--size);
  cursor: pointer;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.node::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  /* animation: float ease-in-out  infinite; */
  animation: float 60s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-duration: var(--dur);
  animation-delay: var(--delay);
}

.node:nth-child(1) {
  --size: 75px;
  --dur: 138s;
  --delay: -4s;
  left: 8%;
  top: 9%;
}

.node:nth-child(2) {
  --size: 65px;
  --dur: 152s;
  --delay: -12s;
  left: 35%;
  top: 73%;
}

.node:nth-child(3) {
  --size: 59px;
  --dur: 129s;
  --delay: -7s;
  left: 31%;
  top: 34%;
}

.node:nth-child(4) {
  --size: 52px;
  --dur: 144s;
  --delay: -21s;
  left: 46%;
  top: 54%;
}

.node:nth-child(5) {
  --size: 90px;
  --dur: 161s;
  --delay: -2s;
  left: 93%;
  top: 7%;
}

.node:nth-child(6) {
  --size: 105px;
  --dur: 133s;
  --delay: -15s;
  left: 9%;
  top: 62%;
}

.node:nth-child(7) {
  --size: 60px;
  --dur: 148s;
  --delay: -9s;
  left: 35%;
  top: 87%;
}

.node:nth-child(8) {
  --size: 61px;
  --dur: 141s;
  --delay: -18s;
  left: 82%;
  top: 73%;
}

.node:nth-child(9) {
  --size: 72px;
  --dur: 157s;
  --delay: -25s;
  left: 59%;
  top: 51%;
}

.node:nth-child(10) {
  --size: 70px;
  --dur: 132s;
  --delay: -6s;
  left: 73%;
  top: 34%;
}

.node:nth-child(11) {
  --size: 125px;
  --dur: 232s;
  --delay: -6s;
  left: 37%;
  top: 27%;
}

.node:nth-child(12) {
  --size: 75px;
  --dur: 132s;
  --delay: -6s;
  left: 89%;
  top: 100%;
}

.node:nth-child(13) {
  --size: 37px;
  --dur: 132s;
  --delay: -6s;
  left: 58%;
  top: 13%;
}

.node:nth-child(14) {
  --size: 49px;
  --dur: 132s;
  --delay: -6s;
  left: 62%;
  top: 90%;
}

.node:nth-child(1)::before {
  background-image: url("../images/reddot-01.png");
}

.node:nth-child(2)::before {
  background-image: url("../images/reddot-02.png");
}

.node:nth-child(3)::before {
  background-image: url("../images/reddot-03.png");
}

.node:nth-child(4)::before {
  background-image: url("../images/reddot-04.png");
}

.node:nth-child(5)::before {
  background-image: url("../images/reddot-04.png");
}

.node:nth-child(6)::before {
  background-image: url("../images/reddot-05.png");
}

.node:nth-child(7)::before {
  background-image: url("../images/reddot-06.png");
}

.node:nth-child(8)::before {
  background-image: url("../images/reddot-07.png");
}

.node:nth-child(9)::before {
  background-image: url("../images/reddot-08.png");
}

.node:nth-child(10)::before {
  background-image: url("../images/reddot-09.png");
}

.node:nth-child(11)::before {
  background-image: url("../images/reddot-10.png");
}

.node:nth-child(12)::before {
  background-image: url("../images/reddot-10.png");
}

.node:nth-child(13)::before {
  background-image: url("../images/reddot-11.png");
}

.node:nth-child(14)::before {
  background-image: url("../images/reddot-15.png");
}

.tooltips {
  position: absolute;
  transform: scale(0.85);
  transition: all 0.2s ease;
  z-index: 3;
}

.node:hover .tooltips {
  opacity: 1;
  transform: scale(0.87);
}

.floating-links a.node:nth-child(1) .tooltips {
  top: 45px;
  left: -46px;
  transform: scale(0.75);
}

.floating-links a.node:nth-child(2) .tooltips {
    top: -171px;
    left: -237px;
    transform: scale(0.95);
}

.floating-links a.node:nth-child(3) .tooltips {
  top: 12px;
  left: -208px;
  transform: scale(0.85);
}

.floating-links a.node:nth-child(4) .tooltips {
  top: -33px;
  left: -48px;
  transform: scale(0.65);
}

.floating-links a.node:nth-child(5) .tooltips {
  top: -6px;
  left: -211px;
}

.floating-links a.node:nth-child(6) .tooltips {
  top: 9px;
  left: -186px;
  transform: scale(0.55);
}

.floating-links a.node:nth-child(7) .tooltips {
  top: -119px;
  left: -352px;
  transform: scale(0.90);
}

.floating-links a.node:nth-child(8) .tooltips {
  top: -189px;
  left: -173px;
  transform: scale(0.70);
  rotate: 22deg;
}

.floating-links a.node:nth-child(9) .tooltips {
  top: -215px;
  left: -179px;
  transform: scale(0.70);
}

.floating-links a.node:nth-child(10) .tooltips {
  top: 87px;
  left: -92px;
  transform: scale(1.3);
}

.floating-links a.node:nth-child(11) .tooltips {
  top: -197px;
  left: 103px;
  transform: scale(0.98);
}

.floating-links a.node:nth-child(12) .tooltips {
  top: -75px;
  left: -205px;
  transform: scale(0.75);
}

.node,
.tooltips {
  pointer-events: auto;
}

.floating-links::before {
  pointer-events: none;
}

#pdfFile {
  width: 100%;
  height: 80vh;
  border: none;
}


.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
  z-index: 9999;
}

.modal-dark .modal-content {
  background-color: #222;
  color: #fff;
}

.modal-dark .btn-close {
  filter: invert(1);
}

#pdfContainer {
  max-height: 80vh;
  overflow-y: auto;
  background: #111;
  padding: 10px;
}

#pdfContainer canvas {
  display: block;
  margin: 0 auto 20px auto;
  width: 100%;
  height: 100%;
}

.mobile-floating-links {
  display: none;
}

@media (max-width: 767px) {

  body {
    overflow-x: hidden;
  }

  .mobile-floating-links::before {
    content: "";
    position: absolute;
    inset: -10%;
    background: url(../images/mobile-bg.jpg) center / contain no-repeat;
    background-size: cover;
    z-index: 0;
    animation: bgFloat 10s ease-in-out infinite;
    min-height: 250vh;

  }

  .floating-links {
    display: none;
  }

  .mobile-floating-links {
    display: block;

  }

  .node:nth-child(1) {
    --size: 75px;
    --dur: 138s;
    --delay: -4s;
    left: 29%;
    top: 0%;
  }

  .node:nth-child(2) {
    --size: 103px;
    --dur: 152s;
    --delay: -12s;
    left: 85%;
    top: 7%;
  }

  .node:nth-child(3) {
    --size: 60px;
    --dur: 152s;
    --delay: -12s;
    left: 27%;
    top: 23%;
  }

  .node:nth-child(4) {
    --size: 94px;
    --dur: 152s;
    --delay: -12s;
    left: 54%;
    top: 48%;
    z-index: 1;
  }

  .node:nth-child(5) {
    --size: 125px;
    --dur: 152s;
    --delay: -12s;
    left: 25%;
    top: 62%;
  }

  .node:nth-child(6) {
    --size: 43px;
    --dur: 133s;
    --delay: -15s;
    left: 90%;
    top: 94%;
  }

  .node:nth-child(7) {
    --size: 76px;
    --dur: 152s;
    --delay: -12s;
    left: 23%;
    top: 95%;
  }


  .node:nth-child(8) {
    --size: 110px;
    --dur: 141s;
    --delay: -18s;
    left: 70%;
    top: 113%;

  }

  .node:nth-child(9) {
    --size: 65px;
    --dur: 157s;
    --delay: -25s;
    left: 28%;
    top: 135%;
  }

  .node:nth-child(10) {
    --size: 185px;
    --dur: 132s;
    --delay: -6s;
    left: 95%;
    top: 156%;
  }

  .node:nth-child(11) {
    --size: 65px;
    --dur: 132s;
    --delay: -6s;
    left: 34%;
    top: 181%;
  }

  .node:nth-child(12) {
    --size: 79px;
    --dur: 132s;
    --delay: -6s;
    left: 92%;
    top: 192%;
  }

  .node:nth-child(13) {
    --size: 67px;
    --dur: 132s;
    --delay: -6s;
    left: 76%;
    top: 234%;
  }

  .mobile-floating-links a.node:nth-child(1) .tooltips {
    top: 45px;
    left: -46px;
    transform: scale(0.75);
  }

  .mobile-floating-links a.node:nth-child(2) .tooltips {
    top: -46px;
    left: -174px;
    transform: scale(0.35);
  }

  .mobile-floating-links a.node:nth-child(3) .tooltips {
    top: -75px;
    left: -81px;
    transform: scale(0.45);
  }

  .mobile-floating-links a.node:nth-child(4) .tooltips {
    top: 38px;
    left: -29px;
    transform: scale(0.75);
  }

  .mobile-floating-links a.node:nth-child(5) .tooltips {
    top: 45px;
    left: -24px;
    transform: scale(0.55);
  }

  .mobile-floating-links a.node:nth-child(6) .tooltips {
    top: -25px;
    left: -174px;
    transform: scale(0.55);
  }

  .mobile-floating-links a.node:nth-child(7) .tooltips {
    top: -150px;
    left: -53px;
    transform: scale(0.85);
  }

  .mobile-floating-links a.node:nth-child(8) .tooltips {
    top: 7px;
    left: -219px;
    transform: scale(0.85);
  }

  .mobile-floating-links a.node:nth-child(9) .tooltips {
    top: -155px;
    left: -149px;
    transform: scale(0.50);
    rotate: 18deg;
  }

  .mobile-floating-links a.node:nth-child(10) .tooltips {
    top: -72px;
    left: -302px;
    transform: scale(0.90);
  }

  .mobile-floating-links a.node:nth-child(11) .tooltips {
    top: -190px;
    left: 49px;
    transform: scale(0.70);
  }

  .mobile-floating-links a.node:nth-child(12) .tooltips {
    top: -207px;
    left: -140px;
    transform: scale(0.55);
  }

  .mobile-floating-links a.node:nth-child(13) .tooltips {
    top: -67px;
    left: -201px;
    transform: scale(0.65);
  }


}