#app {
  height: 100vh;
  position: relative;
}
.panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4em;
  color: white;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  cursor: pointer;
}
.panel.active {
  opacity: 1;
  visibility: visible;
}
.panel-text {
  opacity: 0;
  transform: translateY(50px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 70px;
  mix-blend-mode: difference;
  text-align: center;
}
#thumbnails {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 10px;
  z-index: 100;
}
.thumbnail {
  width: 178px;
  height: 95px;
  margin: 0 5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /* opacity: 0.5; */
}
.thumbnail.active {
  border-color: #fff;
  transform: scale(1.1);
  opacity: 1;
}

/* cursor effects */
.cursor {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  mix-blend-mode: normal;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: mix-blend-mode 0.5s ease;
}
.cursor-text {
  font-size: 14px;
  font-weight: bold;
  color: black;
}
body:has(.panel-text:hover) .cursor {
  mix-blend-mode: difference;
}

.panel-text::selection {
  background-color: #fff !important;
  color: #000 !important;
  mix-blend-mode: normal !important;
}

.panel {
  padding: 16px;
}

.panel-text {
  max-width: 927px;
  line-height: 70px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .panel-text {
    font-size: 50px;
    line-height: 50px;
    font-weight: 700;
  }

  .panel-text {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .panel-text {
    font-size: 32px;
    line-height: 32px;
    font-weight: 700;
  }
}

.cursor-follower {
  display: none;
}
