body {
  margin: 0;
  padding: 0;
  background: url('background.png') no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden; /* Hide scrollbars */
}

#star-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  background-image: url(star.png);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  animation: float linear infinite;
}

@keyframes float {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(var(--x), var(--y));
  }
}

/* Position the back button in the lower-right corner */

.home-button {
    position: absolute;
    bottom: 20px;  /* Adjust this to position the button closer or farther from the bottom */
    right: 20px;   /* Adjust this to position the button closer or farther from the right */
    width: 100px;   /* Adjust the size of the button */
    height: auto;  /* Maintains the aspect ratio of the image */
}



.home-button {
  position: fixed;
  bottom: 22px; /* Distance from the bottom of the page */
  right: 100px;  /* Increase the value to move the button to the left */
  z-index: 1000; /* Ensures the button stays above other content */
}

.home-button img {
  width: 111px;  /* Adjust the width to make the button smaller */
  height: auto;
  cursor: pointer; /* Change cursor to pointer when hovering over the button */
  transition: transform 0.2s ease; /* Smooth transition for scaling */
}

.home-button img:hover {
  transform: scale(1.3); /* Slightly enlarge the button on hover */
}

#glow-button {
  display: block;
  width: 980px;   /* doubled size */
  height: 270px;  /* doubled size */
  background-image: url('button-glow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: background-image 0.3s ease;
  z-index: 2;
  position: relative;
  animation: floatButton 9s ease-in-out infinite;  /* Add the floating animation */
}

#glow-button:hover {
  background-image: url('button.png');
}



@keyframes floatButton {
  0% {
    transform: translate(0, 0);  /* Starts at center */
  }
  25% {
    transform: translate(-10px, -10px); /* Float up-left */
  }
  50% {
    transform: translate(0, 10px);  /* Float down */
  }
  75% {
    transform: translate(10px, -10px); /* Float up-right */
  }
  100% {
    transform: translate(0, 0);  /* Back to center */
  }
}

#glow-button img {
  width: 240px; /* previously 120px */
  height: auto;
  transition: all 0.3s ease;
}


@media screen and (max-width: 600px) {
  #glow-button img {
    width: 10px;  /* Smaller width on mobile */
    height: auto;  /* Keep the aspect ratio */
  }
  
  #glow-button {
    width: 10px;  /* Smaller width on mobile */
    height: auto;  /* Keep the aspect ratio */
  }
}

.tracklist-button {
  position: fixed;
  bottom: 20px; /* Distance from the bottom of the page */
  right: 60px;  /* Increase the value to move the button to the left */
  z-index: 1000; /* Ensures the button stays above other content */
}

.tracklist-button img {
  width: 140px;  /* Adjust the width to make the button smaller */
  height: auto;
  cursor: pointer; /* Change cursor to pointer when hovering over the button */
  transition: transform 0.2s ease; /* Smooth transition for scaling */
}

.tracklist-button img:hover {
  transform: scale(1.3); /* Slightly enlarge the button on hover */
}


.tracklist {
  display: flex;
  flex-direction: column; /* Stack images vertically */
  align-items: center;     /* Center images horizontally */
  gap: 20px;               /* Space between images */
  height: 80vh;            /* Set a fixed height to fit within viewport */
  justify-content: center;
  overflow: hidden;        /* Prevent vertical scrolling for the list */
}

.track-entry {
  width: 120%;               /* Scale images to 80% of the available width */
  max-width: 400px;         /* Maximum width for the images */
  height: auto;
  display: block;
  padding: 0.4em;
  transition: transform 0.2s ease;  /* Smooth transition on hover */
}

.track-entry:hover {
  transform: scale(1.05);  /* Slightly enlarge the image on hover */
}


/* Position and animate the man image */
#man {
  position: absolute;
  bottom: -10px;
  left: 110px;
  width: 480px;
  height: auto;
  animation: floatMan 5s infinite ease-in-out;
  cursor: pointer;  /* Makes the man image clickable */
}

@keyframes floatMan {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
/* Talk box as PNG */
.talkbox {
  position: absolute;
  bottom: 210px; /* Adjust the position above the "man" image */
  left: 60px;
  width: 210px; /* Adjust width to fit your message box PNG */
  height: 110px; /* Adjust the height to fit the message PNG */
  background: url('talkbox.png') no-repeat center center;  /* Use PNG as background */
  background-size: contain;  /* Ensure the PNG fits within the box */
  display: none;  /* Hidden by default */
  opacity: 0;  /* Initially hidden */
  transition: opacity 0.5s ease-in, opacity 1s ease-out; /* Fade in and out smoothly */
  animation: floatTalkBox 10s infinite ease-in-out;  /* Floating effect */
}

@keyframes floatTalkBox {
  0% {
    transform: translateX(0) translateY(0); /* Starting point */
  }
  10% {
    transform: translateX(5px) translateY(-3px); /* Slight move up-right */
  }
  20% {
    transform: translateX(-5px) translateY(5px); /* Slight move down-left */
  }
  30% {
    transform: translateX(10px) translateY(3px); /* Slight move up-right */
  }
  40% {
    transform: translateX(-3px) translateY(-6px); /* Slight move up-left */
  }
  50% {
    transform: translateX(0px) translateY(0); /* Return to center */
  }
  60% {
    transform: translateX(7px) translateY(2px); /* Slight move right */
  }
  70% {
    transform: translateX(-4px) translateY(8px); /* Slight move down-left */
  }
  80% {
    transform: translateX(5px) translateY(-4px); /* Slight move up-right */
  }
  90% {
    transform: translateX(-7px) translateY(4px); /* Slight move down-left */
  }
  100% {
    transform: translateX(0px) translateY(0px); /* Return to original position */
  }
}


.container {
    position: absolute;
    bottom: 20px;
    right: 110px; /* Move the button/container further to the right */
	 z-index: 1;
}

/* Animation for continuous floating effect */
@keyframes float {
    0% {
        transform: translateY(0); /* Start at normal position */
    }
    50% {
        transform: translateY(-10px); /* Move up a little */
    }
    100% {
        transform: translateY(0); /* Return to the original position */
    }
}

/* Apply floating effect to the button */
.dropup-btn {
    background: none; /* Remove default button background */
    border: none;
    cursor: pointer;
    padding: 0; /* Remove default padding */
    animation: float 3s ease-in-out infinite; /* Apply the floating animation */
    transition: opacity 0.5s ease, transform 0.3s ease; /* Smooth fade effect and scale transition */
}

/* Make the button bigger */
.dropup-btn .btn-img {
    width: 70px; /* Increase the width of the button */
    height: auto; /* Maintain the aspect ratio */
    transition: opacity 0.5s ease; /* Smooth fade effect when changing images */
}

/* When the user hovers on the button, change the image */
.dropup-btn:hover .btn-img {
    content: url('button-image2.png'); /* Change image on hover */
	transform: scale(1.1); /* Slightly enlarge the button on hover */
}

/* Slight scaling effect on hover for the button */
.dropup-btn:hover {
    transform: scale(1.1); /* Slightly enlarge the button on hover */

}

/* Animation for floating the menu */
@keyframes menuFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px); /* Slight movement up for a floating effect */
    }
    100% {
        transform: translateY(0);
    }
}

/* Apply floating animation to the menu */
.dropup-menu {
    display: none; /* Hidden by default */
    position: absolute;
    bottom: 130%; /* Move the menu a little higher */
    left: -180%; /* Move the menu to the left relative to the button */
    transform: translateX(-50%); /* Center it precisely above the button */
    /* background-color: #333; /* Dark grey background */
    border-radius: 5px;
    width: 200px;
    z-index: 10; /* Ensure the menu appears on top of other content */
    animation: menuFloat 3s ease-in-out infinite; /* Apply floating animation to the entire menu */
	
}


/* Apply a floating animation delay to each item */
.dropup-menu a {
    display: block;
    /*border-bottom: 1px solid #444; /* Separator between menu options */
    text-decoration: none; /* Remove underline from links */
    animation: menuFloat 3s ease-in-out infinite; /* Floating effect for each item */
    padding: 9px; /* Increase padding to make the links more clickable */
    /* color: white; /* White text for the menu options */
    /* background-color: #333; /* Ensure the menu items have the same background as the menu */
}

/* Stagger the animations for each menu item for a more natural floating effect */
.dropup-menu a:nth-child(1) {
    animation-delay: 0s;
}

.dropup-menu a:nth-child(2) {
    animation-delay: 0.2s; /* Slight delay for the second item */
}

.dropup-menu a:nth-child(3) {
    animation-delay: 0.4s; /* Slight delay for the third item */
}

/* New 4th option, just like the others */
.dropup-menu a:nth-child(4) {
    animation-delay: 0.6s; /* Slight delay for the fourth item */
}

/* Hover effect for menu options (No white background) */
.dropup-menu a:hover {

    cursor: pointer; /* Change cursor to pointer for interaction */
}

/* Image within menu items */
.dropup-menu .menu-img {
    width: 100%; /* Make the image fill the available width */
    height: auto; /* Maintain aspect ratio of images */
    padding: 8px;
    transition: transform 0.2s ease; /* Smooth transition for hover effect */
}

/* Hover effect for images in the menu */
.dropup-menu .menu-img:hover {
    transform: scale(1.1); /* Slightly enlarge the menu item images on hover */
}

/* Apply smaller size to images in Option 1 and Option 3 */
.dropup-menu a:nth-child(1) .menu-img {
    width: 280px; /* Make Option 1 image smaller */
    height: auto; /* Maintain aspect ratio */
}

.dropup-menu a:nth-child(2) .menu-img {
    width: 280px; /* Make Option 2 image smaller */
    height: auto; /* Maintain aspect ratio */
}

.dropup-menu a:nth-child(3) .menu-img {
    width: 280px; /* Make Option 3 image smaller */
    height: auto; /* Maintain aspect ratio */
}
.dropup-menu a:nth-child(4) .menu-img {
    width: 280px; /* Make Option 4 image smaller */
    height: auto; /* Maintain aspect ratio */
}

#autoplay-icon {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 9999;
  pointer-events: none;
}

#autoplay-icon.visible {
  opacity: 1;
  transition: opacity 0.5s ease; /* Fade in */
}

#autoplay-icon.fade-out {
  opacity: 0;
  transition: opacity 2s ease; /* Fade out */
}

#mute-toggle {
  position: fixed;
  top: 25px;
  right: 50px;
  width: 90px;
  transition: opacity 0.3s ease;
  cursor: pointer;
  z-index: 9999;
  
}
#mute-toggle:hover {
	transform: scale(1.3);
}
