body,
html { 
  margin: 0; 
  overflow: hidden; 
  font-family: Arial, sans-serif;
  width: 100%;
  height: 100%;

}

h1 {
  font-size: 22px;
  text-align: center;
  font-weight: lighter;
  color: #fff;
  position: fixed;
  top: 0;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0px 0px 20px rgb(255, 255, 255, 0.5);
  border-radius: 5px;
}

canvas { 
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: transparent;
}

footer {
  position: fixed;
  bottom: 0;
  height: 90px; /* Footer height to make room for controls */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  background-image: url('images/512x512.png');
  background-size: contain;
  background-position: center;
  padding-top: 10px; /* Padding to raise the controls */
  padding-bottom: 20px; /* Added padding to ensure controls are visible */
  border-top: 3px solid #fff;;
}

footer p {
  font-size: 14px;
  color: white;
}

#controls {
  display: flex;
  justify-content: space-evenly; /* Evenly space the controls */
  align-items: center; /* Center align the controls vertically */
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%; /* Set width to 90% of the footer */
  max-width: 100%; /* Ensure controls do not exceed the footer width */
  padding: 0 10px; /* Add padding to ensure the controls are not touching the edges */
  box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
  overflow: hidden; /* Ensure controls do not overflow the container */
}

.control-button {
  background: rgba(102, 0, 122, 0.8);
  color: white;
  padding: 10px;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 2px solid white;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
  flex: 1;
  margin: 0 5px; /* Add margin between buttons */
  max-width: 50px; /* Constrain the width of buttons */
}

.control-button i {
  font-size: 16px;
}

#logo {
position: fixed;
top: 1%;
left: 20px;
width: 50px;
height: 50px;
border-radius: 50%;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);

}


header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
  background-image: url('images/512x512.png');
  background-size: contain;
  background-position: center;
  z-index: 999;
  border-bottom: 3px solid #fff;
}

h1 {
  margin: 0;
}

#cart-icon {
  display: flex;
  align-items: center;
  cursor: pointer;
}

#cart-icon i {
  margin-right: 5px;
}

nav {
  position: fixed;
  top: 74px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
  width: 100%;
  box-shadow: 0px 0px 20px rgb(255, 255, 255, 0.5);
}

nav a {
  color: #FFFFFF;
  text-decoration: none;
  margin: 0 15px;
  font-size: 14px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #c0a07a;
}

body.grabbing {
  cursor: grabbing;
}

body.grab {
  cursor: grab;
}

/* CSS for audio player responsiveness */
@media (max-width: 600px) {
    .audio-player-container {
        width: 90%;
        left: 5%;
        top: 15%; /* Adjust top position for smaller screens */
        transform: none; /* Remove translateX for smaller screens */
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Ensure box shadow remains */
    }

    .controls-container {
        width: 100%; /* Ensure controls take full width */
        justify-content: space-between; /* Distribute buttons evenly */
    }

    .controls-container button {
        flex: 1; /* Make buttons take equal space */
        margin: 0 5px; /* Add some spacing between buttons */
    }

    .track-title {
        font-size: 14px; /* Smaller font size for titles */
        width: 100%;
        text-align: center; /* Ensure title is centered */
    }
}


/* CSS to position the video in the lower left corner */
.video-container {
  position: fixed;
  bottom: 20%;
  left: 2%;
  width: 100px; /* Adjust the width as needed */
  height: auto;
  z-index: 9999;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.video-container.full-screen {
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 400px !important;
  height: auto;
  border-radius: 0;
}

.video-container video {
  width: 100%;
  height: auto;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .video-container {
     bottom: 20%;
    left: 2%;
    width: 80px; /* Adjust the width for mobile */
  }

  .video-container.full-screen {
    top: 2%;
    width: 90%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .video-container {
    bottom: 20%;
    left: 2%;
    width: 60px; /* Adjust the width for smaller mobile screens */
  }

  .video-container.full-screen {
    top: 2%;
    width: 95%;
    max-width: none;
  }
}



.calendar-link {
  position: fixed;
  bottom: 20%;
  right: 2%;
  display: inline-block;
  padding: 10px 15px;
  background-color: rgb(104, 0, 133, 0.4);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}
.calendar-link:hover {
  background-color: #0056b3;
}


