/*for the scrolling text*/

.scrolling-text {
  width: 100vw; 
  overflow: hidden; 
  white-space: nowrap; 
  display: flex; 
  gap: 0; 
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

.scrolling-text span {
  display: inline-block;
  padding-right: 40px;
  animation: scroll 10s linear infinite;
  text-transform: uppercase;
  font-size: 300%; 
  letter-spacing: 10px; 
  text-shadow: 0px 0px 10px #fffc38, 0px 0px 20px #fffc38;
  color: #fffc38; 
}

@keyframes scroll {
  from { transform: translateX(-100%); }
  to { transform: translateX(0%); }
}

/*shadow for scrolling text*/

.shadow {
text-shadow: 0px 0px 10px #be2525, 0px 0px 20px #be2525; 
}

/*for the static background*/

.static-void {
  background: url('/tvstatic.gif') repeat center center fixed;
  background-size: cover;
  padding: 5px 0; /* Spacing buffer */
  animation: vhs-glitch 0.3s infinite alternate;
}

@keyframes vhs-glitch {
  0% {
    filter: hue-rotate(0deg) brightness(100%);
  } 
  100% {
    filter: hue-rotate(-3deg) brightness(95%);
  }
}

/*for the navigation buttons*/

.homebuttons {
    img
    {
        scale: 0.95;
        transition: scale 0.25s;
    }

    img:hover
    {
        scale: 1;
        transition: scale 0.25s;
    }
    
    img:active
    {
        scale: 0.92;
        transition: scale 0.05s;
    }
}
    
/*for the photos in the gallery*/

/* Gallery container to wrap the images */
.gallery-container {
    display: grid;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

/* Gallery photo container */
.galleryphotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 10px; /* space between images */
    max-width: 1200px;
    margin: 0 auto; /* center the gallery */
}

.galleryphotos img {
    width: 100%;  /* fills its grid cell */
    height: auto;
    scale: 0.95;
    transition: scale 0.25s, transform 3s ease-in-out;
    animation: floaty 3s ease-in-out infinite alternate;
}

.galleryphotos img:hover {
    scale: 1;
    transition: scale 0.25s;
    animation: floaty 4s ease-in-out infinite alternate;
}

/* Animation for floating effect */
@keyframes floaty {
    0% {
        transform: translate(2px, 0px) rotate(0deg);
    }
    50% {
        transform: translate(-2px, -6px) rotate(0deg);
    }
    100% {
        transform: translate(2px, 0px) rotate(0deg);
    }
}


