/* Hamburger Icon */
#hamburger-menu {
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    color: #f1f1f1;
    background: rgba(255, 255, 255, 0.089);
    padding: 5px;
    border-radius: 5px;
}

/* Menu Pop-up */
#menu-popup {
    position: fixed;
    top: 15px;
    left: 57px;
    background: #ffffff;
    width: 230px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    display: none;
    z-index: 999;
}

/* Menu Items */
#menu-popup ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#menu-popup li {
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 1px solid #ddd;
}

#menu-popup li:hover {
    background: #f1f1f1;
}







/* Toggle switch style */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(14px);
}










.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 8px;
}

.popup-content {
    text-align: center;
}

.popup ul {
    list-style: none;
    padding: 0;
}

.popup ul li {
    margin: 10px 0;
    font-weight: bold;
}



/* For achievement  */



.achievement-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: gold;
    color: black;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInOut 3s;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
