.bookshelf-container {
    --color-0: #fff;
    --color-1: #111;
    --color-2: #222;
    --color-3: #333;
    --color-4: #2e2e2e;
    --color-5: #d2b48c;
    --color-6: #b22222;
    --color-7: #871a1a;
    --color-8: #ff6347;
    --color-9: #ff3814;
    width: 100%;
    height: 500px;
    opacity: 0.5;
    background-color: var(--color-1);
    background-image: linear-gradient(
        to top,
        var(--color-2) 5%,
        var(--color-1) 6%,
        var(--color-1) 7%,
        transparent 7%
      ),
      linear-gradient(to bottom, var(--color-1) 30%, transparent 80%),
      linear-gradient(to right, var(--color-2), var(--color-4) 5%, transparent 5%),
      linear-gradient(
        to right,
        transparent 6%,
        var(--color-2) 6%,
        var(--color-4) 9%,
        transparent 9%
      ),
      linear-gradient(
        to right,
        transparent 27%,
        var(--color-2) 27%,
        var(--color-4) 34%,
        transparent 34%
      ),
      linear-gradient(
        to right,
        transparent 51%,
        var(--color-2) 51%,
        var(--color-4) 57%,
        transparent 57%
      ),
      linear-gradient(to bottom, var(--color-1) 35%, transparent 35%),
      linear-gradient(
        to right,
        transparent 42%,
        var(--color-2) 42%,
        var(--color-4) 44%,
        transparent 44%
      ),
      linear-gradient(
        to right,
        transparent 45%,
        var(--color-2) 45%,
        var(--color-4) 47%,
        transparent 47%
      ),
      linear-gradient(
        to right,
        transparent 48%,
        var(--color-2) 48%,
        var(--color-4) 50%,
        transparent 50%
      ),
      linear-gradient(
        to right,
        transparent 87%,
        var(--color-2) 87%,
        var(--color-4) 91%,
        transparent 91%
      ),
      linear-gradient(to bottom, var(--color-1) 37.5%, transparent 37.5%),
      linear-gradient(
        to right,
        transparent 14%,
        var(--color-2) 14%,
        var(--color-4) 20%,
        transparent 20%
      ),
      linear-gradient(to bottom, var(--color-1) 40%, transparent 40%),
      linear-gradient(
        to right,
        transparent 10%,
        var(--color-2) 10%,
        var(--color-4) 13%,
        transparent 13%
      ),
      linear-gradient(
        to right,
        transparent 21%,
        var(--color-2) 21%,
        #1a1a1a 25%,
        transparent 25%
      ),
      linear-gradient(
        to right,
        transparent 58%,
        var(--color-2) 58%,
        var(--color-4) 64%,
        transparent 64%
      ),
      linear-gradient(
        to right,
        transparent 92%,
        var(--color-2) 92%,
        var(--color-4) 95%,
        transparent 95%
      ),
      linear-gradient(to bottom, var(--color-1) 48%, transparent 48%),
      linear-gradient(
        to right,
        transparent 96%,
        var(--color-2) 96%,
        #1a1a1a 99%,
        transparent 99%
      ),
      linear-gradient(
        to bottom,
        transparent 68.5%,
        transparent 76%,
        var(--color-1) 76%,
        var(--color-1) 77.5%,
        transparent 77.5%,
        transparent 86%,
        var(--color-1) 86%,
        var(--color-1) 87.5%,
        transparent 87.5%
      ),
      linear-gradient(
        to right,
        transparent 35%,
        var(--color-2) 35%,
        var(--color-4) 41%,
        transparent 41%
      ),
      linear-gradient(to bottom, var(--color-1) 68%, transparent 68%),
      linear-gradient(
        to right,
        transparent 78%,
        var(--color-3) 78%,
        var(--color-3) 80%,
        transparent 80%,
        transparent 82%,
        var(--color-3) 82%,
        var(--color-3) 83%,
        transparent 83%
      ),
      linear-gradient(
        to right,
        transparent 66%,
        var(--color-2) 66%,
        var(--color-4) 85%,
        transparent 85%
      );
    background-size: 300px 150px;
    background-position: center bottom;
  }
  
  .bookshelf-container:before {
    content: "";
    width: 100%;
    height: 500px;
    position: absolute;
    opacity: 0.5;
    inset: 0;
    background-color: var(--color-1);
    background-image: linear-gradient(
        to top,
        var(--color-5) 5%,
        var(--color-1) 6%,
        var(--color-1) 7%,
        transparent 7%
      ),
      linear-gradient(to bottom, var(--color-1) 30%, transparent 30%),
      linear-gradient(to right, var(--color-6), var(--color-7) 5%, transparent 5%),
      linear-gradient(
        to right,
        transparent 6%,
        var(--color-8) 6%,
        var(--color-9) 9%,
        transparent 9%
      ),
      linear-gradient(
        to right,
        transparent 27%,
        #556b2f 27%,
        #39481f 34%,
        transparent 34%
      ),
      linear-gradient(
        to right,
        transparent 51%,
        #fa8072 51%,
        #f85441 57%,
        transparent 57%
      ),
      linear-gradient(to bottom, var(--color-1) 35%, transparent 35%),
      linear-gradient(
        to right,
        transparent 42%,
        #008080 42%,
        #004d4d 44%,
        transparent 44%
      ),
      linear-gradient(
        to right,
        transparent 45%,
        #008080 45%,
        #004d4d 47%,
        transparent 47%
      ),
      linear-gradient(
        to right,
        transparent 48%,
        #008080 48%,
        #004d4d 50%,
        transparent 50%
      ),
      linear-gradient(
        to right,
        transparent 87%,
        #789 87%,
        #4f5d6a 91%,
        transparent 91%
      ),
      linear-gradient(to bottom, var(--color-1) 37.5%, transparent 37.5%),
      linear-gradient(
        to right,
        transparent 14%,
        #bdb76b 14%,
        #989244 20%,
        transparent 20%
      ),
      linear-gradient(to bottom, var(--color-1) 40%, transparent 40%),
      linear-gradient(
        to right,
        transparent 10%,
        #808000 10%,
        #4d4d00 13%,
        transparent 13%
      ),
      linear-gradient(
        to right,
        transparent 21%,
        #8b4513 21%,
        #5e2f0d 25%,
        transparent 25%
      ),
      linear-gradient(
        to right,
        transparent 58%,
        #8b4513 58%,
        #5e2f0d 64%,
        transparent 64%
      ),
      linear-gradient(
        to right,
        transparent 92%,
        #2f4f4f 92%,
        #1c2f2f 95%,
        transparent 95%
      ),
      linear-gradient(to bottom, var(--color-1) 48%, transparent 48%),
      linear-gradient(
        to right,
        transparent 96%,
        #2f4f4f 96%,
        #1c2f2f 99%,
        transparent 99%
      ),
      linear-gradient(
        to bottom,
        transparent 68.5%,
        transparent 76%,
        var(--color-1) 76%,
        var(--color-1) 77.5%,
        transparent 77.5%,
        transparent 86%,
        var(--color-1) 86%,
        var(--color-1) 87.5%,
        transparent 87.5%
      ),
      linear-gradient(
        to right,
        transparent 35%,
        #cd5c5c 35%,
        #bc3a3a 41%,
        transparent 41%
      ),
      linear-gradient(to bottom, var(--color-1) 68%, transparent 68%),
      linear-gradient(
        to right,
        transparent 78%,
        #bc8f8f 78%,
        #bc8f8f 80%,
        transparent 80%,
        transparent 82%,
        #bc8f8f 82%,
        #bc8f8f 83%,
        transparent 83%
      ),
      linear-gradient(
        to right,
        transparent 66%,
        #a52a2a 66%,
        #7c2020 85%,
        transparent 85%
      );
    background-size: 300px 150px;
    background-position: center bottom;
    clip-path: circle(150px at center center);
    animation: flashlight 20s ease infinite;
  }
  
  .bookshelf-container:after {
    content: "";
    width: 25px;
    height: 10px;
    position: absolute;
    left: calc(50% + 59px);
    bottom: 100px;
    background-repeat: no-repeat;
    background-image: radial-gradient(circle, #fff 50%, transparent 50%),
      radial-gradient(circle, #fff 50%, transparent 50%);
    background-size: 10px 10px;
    background-position:
      left center,
      right center;
  }
  
  @keyframes flashlight {
    0% {
      clip-path: circle(150px at -25% 10%);
    }
  
    16% {
      clip-path: circle(150px at 60% 20%);
    }
  
    17% {
      opacity: 0.7;
      clip-path: circle(150px at 60% 86%);
    }
  
    18% {
      opacity: 0;
      clip-path: circle(150px at 60% 86%);
    }
  
    20% {
      opacity: 0.7;
      clip-path: circle(150px at 60% 86%);
    }
  
    21% {
      opacity: 0;
      clip-path: circle(150px at 60% 86%);
    }
  
    27% {
      opacity: 0;
      clip-path: circle(150px at 60% 86%);
    }
    29% {
      opacity: 0.5;
      clip-path: circle(150px at 20% 86%);
    }
  
    33% {
      opacity: 0.7;
      clip-path: circle(150px at 45% 86%);
    }
  
    35% {
      clip-path: circle(150px at 45% 78%);
      opacity: 0.7;
    }
  
    37% {
      clip-path: circle(150px at 85% 89%);
      opacity: 0.7;
    }
  
    44% {
      clip-path: circle(150px at 50% 50%);
      opacity: 0.7;
    }
  
    45% {
      clip-path: circle(100px at 50% 50%);
      opacity: 0.7;
    }
  
    55% {
      clip-path: circle(130px at 50% 50%);
      opacity: 0.7;
    }

    65% {
      clip-path: circle(150px at 50% 50%);
      opacity: 0.7;
    }
  
    100% {
      clip-path: circle(150px at 50% 50%);
      opacity: 1;
    }
  }
  
  @keyframes eyes {
    0%,
    38% {
      opacity: 0;
    }
  
    39%,
    41% {
      opacity: 1;
      transform: scaleY(1);
    }
  
    40% {
      transform: scaleY(0);
      filter: none;
      background-image: radial-gradient(circle, #fff 50%, transparent 50%),
        radial-gradient(circle, #fff 50%, transparent 50%);
    }
  
    41% {
      transform: scaleY(1);
      background-image: radial-gradient(circle, #ff0000 50%, transparent 50%),
        radial-gradient(circle, #ff0000 50%, transparent 50%);
      filter: drop-shadow(0 0 4px #ff8686);
    }
  
    42%,
    100% {
      opacity: 0;
    }
  }
  