body {
    background-color: #000;
    color: white;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden; /* Prevent scrollbars */
}

.visualizer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: #000;
}

#visualizer {
    width: 100%;
    height: 100%;
}

.controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

#play-pause {
    font-size: 100px;
    background: none;
    color: white;
    cursor: pointer;
    border-style: none;
}

#audio-upload {
    font-size: 16px;
    padding: 10px;
    background: none;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    text-align: center;
    border-radius: 10px; /* Rounded corners */
}

.popup {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.295);
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

#close-popup {
    margin-top: 5px;
    padding: 5px 10px;
    background: none;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    border-radius: 10px; /* Rounded corners */
}

.popup.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}
/* From Uiverse.io by CYBWEBALI */ 
.btn {
    display: grid;
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #e3edf7;
    padding: 1.4em;
    border-radius: 10px;
    box-shadow: inset 4px 4px 6px -1px rgba(0,0,0,0.2),
            inset -4px -4px 6px -1px rgba(255,255,255,0.7),
            -0.5px -0.5px 0px rgba(255,255,255,1),
            0.5px 0.5px 0px rgba(0,0,0,0.15),
            0px 12px 10px -10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0);
    cursor: pointer;
    transition: transform 0.5s;
  }
  
  .btn:hover {
    box-shadow: inset 4px 4px 6px -1px rgba(0,0,0,0.2),
            inset -4px -4px 6px -1px rgba(255,255,255,0.7),
            -0.5px -0.5px 0px rgba(255,255,255,1),
            0.5px 0.5px 0px rgba(0,0,0,0.15),
            0px 12px 10px -10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    transform: translateY(0.5em);
    background: #e3edf7;
  }
  
  .btn svg {
    transition: transform 0.5s;
  }
  
  .btn:hover svg {
    transform: scale(0.9);
    fill: #333333;
  }
  