body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #000;
    color: #fff;
    font-size: 3rem;
    text-shadow: 
                0 0 40px currentColor,
                0 0 25px currentColor;
}

body {
  overflow: hidden; /* Hide scrollbars */
  }

canvas {
	cursor: crosshair;
	display: block;
    z-index: 5;
}

#next-year {
    text-align: center;
    font-size: 5rem;
    margin-top: 10px;
    color: #fff;
    animation: rainbow 3s linear infinite;
}

#until {
    text-align: center;
    font-size: 2rem;
    margin-top: 10px;
    color: currentColor;
}

#countdown-container {
    position: absolute;
    top: 86%;
    left: 50%;
    height: 100%;
    width: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    font-size: 3rem;
    font-size: 2rem; /* Adjust size as needed */
    font-weight: bold;
}

#countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4rem;
}

#countdown-timer div {
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

#countdown-timer span {
  margin-right: 0.3rem;
}

.fadeOutInText {
  animation: fadeOutInText 1s ease-in-out;
}

@keyframes fadeOutInText {
  0% {
    color: red;
    transform: translateY(-5px);
  }
  25% {
    color: currentColor;
    transform: translateY(3px);
  }
  50% {
    transform: translateY(0px);
  }
  100% {
    color: currentColor;
    transform: translateY(0px);
  }
}



#fireworks-text {
    position: absolute;
    bottom: 50px;
    text-align: center;
    font-size: 1.1rem;
    z-index: 2;
    animation: blink 1s ease-in-out infinite;
}


#auto-toggle {
  position: absolute;
  bottom: 15px;
  text-align: center;
  font-size: 0.7rem;
  z-index: 20;
}

@keyframes blink {
    0%{
        opacity: 0.5;
        font-size: 1.1rem;
    } 
    50% {
        opacity: 1;
        font-size: 1.15rem;
    }
    100% {
        opacity: 0.5;
        font-size: 1.1rem;
    }
}

@keyframes rainbow {
    0% { color: red; }
    14% { color: orange; }
    28% { color: yellow; }
    42% { color: green; }
    57% { color: blue; }
    71% { color: indigo; }
    85% { color: violet; }
    100% { color: red; }
  }
  
  .customization-panel {
    position: fixed;
    top: 5px;
    left: 5px;
    height: 3%;
    width: 43%;
    background: rgba(147, 104, 184, 0.9);
    opacity: 90%;
    padding: 10px;
    font-size: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 11;
  }
  
  
  .customization-panel label {
    margin-right: 5px;
    font-size: 0.5rem;
    font-family: Arial, sans-serif;
  }
  
  .customization-panel select {
    margin-bottom: 10px;
    font-size: 0.5rem;
    padding: 5px;
  }
  
  .toggle-mode {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 11;
  }
  
  #toggle-light-dark {
    padding: 10px;
    border: none;
    background: #333;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
  }
  
  #toggle-light-dark.light {
    background: #fff;
    color: #000;
  }
  
  body.dark-mode {
    background-color: #121212;
    color: #ffffff;
  }
  
  body.light-mode {
    background-color: #ffffff;
    color: #000000;
  }  

  #font-picker {
    opacity: 0.8;
  }

  #background-picker {
    opacity: 0.8;
  }

  body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay (adjust opacity as needed) */
    pointer-events: none; /* Allows interaction with content underneath */
    z-index: -1; /* Stays behind all content */
  }
  