.scroll-gallery {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto; 
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
  scroll-snap-type: x mandatory; 
}

.scroll-gallery li {
  flex: 0 0 auto; 
  scroll-snap-align: start;
}

.scroll-gallery img {
  display: block;
  height: 300px; 
  width: auto;
}

.visible {
    transform: translateX(690px);
}

img {
    width: 180px;
}

h1 {
    color: #0a5685;
}

#bow {
    animation: rotator 5s infinite; 
    display: inline-block;
}

@keyframes rotator {
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(345deg);
  }
}

.bunny {
    position: relative; 
    width: 100px;
    height: auto;
    animation: moveRight 15s ease-in-out infinite;
    /* animation-duration: 6s; */
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
  }

  @keyframes moveRight {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(calc(90vw - 180px)); }
    100% { transform: translateX(0); }
  }

  .animate {
    animation: moveRight 2s ease-in-out infinite;
    animation-duration: 15s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
  }

@keyframes idling{
    0%{
        transform: translateX(0px);
    }
    48%{
        transform: translateX(80vw);
    }
    50%{
        transform: rotateY(180deg) translateX(-80vw);
    }
    98%{
        transform: translateX(0px) rotateY(180deg);
    }
    100%{
        transform: translateX(0px);
    }
}

header {
    background-color: #c7abba;
    padding: px;
    margin-bottom: 0px;
    text-align: center;
    color: #0a5685;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    text-shadow: 
            0 0 5px #893f7f,
            0 0 10px #893f7f,
            0 0 20px #893f7f,
            0 0 40px #893f7f,
            0 0 80px #893f7f,
            0 0 90px #893f7f,
            0 0 100px #893f7f;
     animation: glowPulse 1s ease-in-out infinite alternate;
    }

.scroll {
    overflow-x: auto ;
    scrollbar-width: thin ;
    scrollbar-color: #0a5685 #c7abba;
}

.image-container {
  position: relative;
  display: inline-block; 
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); 
  color: rgb(238, 197, 239);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; 
  transition: opacity 0.3s ease; 
}

.image-container:hover .overlay-text {
  opacity: 2;
}

#myImage {
max-width: 65%;
}
