body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #fff; /* Default light mode */
    color: #000; /* Default text color */
    position: relative;
}

.dark-mode {
    background-color: #fff333; /* Darker background for dark mode */
    color: #ffffff; /* Light text for dark mode */
}

.toggle-container {
    position: fixed;
    top: 50px;
    right: 100px;
    cursor: pointer;
    z-index: 9;
}

.toggle {
    display: flex;
    align-items: center;
    
}

.sun, .moon {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    cursor: pointer;
}

.moon {
    display: none; /* Hidden by default until dark mode is toggled */
}

#centered-container {
    user-select: none;
    position: relative;
    text-align: center;
}

/* Responsive Lottie container */
#lottie-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
    position: relative;
}

#lottie-container > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#Svg {
    max-width: 100%;
    height: auto;
    z-index: 0;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

svg {
    width: 500px;
    height: 200px;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.interactive-section {
    fill: transparent;
    transition: fill 0.2s cubic-bezier(0.55, 0.06, 0.68, 0.19);
}

.interactive-section:hover {
    fill: #ffffff00;
}

.change-waveform-button {
    position: absolute;
    top: 158px;
    left: 89.5%;
    padding: 10px;
    cursor: pointer;
    background-color: #ffa5a5;
    color: #242b34;
    border: solid;
    border-width: 10px;
    border-radius: 50%;
    width: 4px;
    height: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-size: 24px;
    z-index: 999;
    display: none;
}

@media (max-width: 520px) {
    .overlay {
        display: flex;
    }
}

#movableElement {
    position: relative;
    top: 0;
    transition: top 0.2s ease-in-out;
    cursor: pointer;
}

.interactive-section {
    cursor: pointer;
}

.copyright-container {
    position: fixed;
    bottom: 10px;
    text-align: center;
    width: 100%;
    color: #666;
}
