/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background:linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0.6)), url('bg1.gif') fixed;
    background-size: cover;
    color: #000000;
    transition: all 0.3s ease-in-out;
    background-image: 0.5;
}

/* Floating Avatar */
.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation: float 3s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    cursor: pointer;
}

/* Dark Mode */
.dark-mode {
    background-color: #121212;
    color: #992f2f;
}

/* Light Mode */
body.light {
    background-color: white;
    color: #a01a1a;
}

/* Hide Sections Initially */
.hidden {
    display: none;
}

/* Parallax Effect */
main {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-bar div {
    height: 10px;
    background: #0073e6;
    width: 0%;
    transition: width 1s ease-in-out;
}

/* Confetti */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ff0;
    animation: confetti 3s linear infinite;
}

@keyframes confetti {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Dark Mode Text Color in Sections */
body.dark-mode main, 
body.dark-mode h2, 
body.dark-mode p, 
body.dark-mode li {
    color: rgb(53, 148, 92);
}

/* Neon Mode Text Color Fix */
body.neon main, 
body.neon h2, 
body.neon p, 
body.neon li {
    color: #ff00ff;  /* Ensure neon text color is readable */
}

/* Remove Dark Mode from Dropdown */
select#theme-switcher option[value="dark"] {
    display: none;
}

.center {
    text-align: center;
}
.black-text{
    color:black;
}