body.dark-mode {
    background-color: #333;
    color: #fff;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
}

.modal-toggle {
    position: relative;
}

.modal-content {
    display: none;
    position: absolute;
    background-color: #222;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 300px;
    overflow: hidden;
    z-index: 1;
    top: 40px; /* Adjust vertical positioning as needed */
}

.modal-content h2 {
    margin-bottom: 10px;
}

.modal-section {
    margin-bottom: 15px;
}

.modal-content select, .modal-content button {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.modal-content button {
    margin-left: 10px;
}

.gear-icon {
    font-size: 24px;
    cursor: pointer;
}

#note-display {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 80%;
}

.note {
    margin: 5px;
    padding: 10px;
    font-size: 1.5em;
    transition: font-size 0.2s, transform 0.2s, opacity 0.2s;
}

.note.off {
    opacity: 0.5;
}
