body {
    background-color: #0c0b2c;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
    margin: 0;
    padding: 2em;
    text-align: center;
}

h1 {
    font-size: 1.8em;
    margin-bottom: 1em;
}

.task-container {
    max-width: 600px;
    margin: 0 auto;
}

.task-card {
    background-color: #2d3954;
    border-radius: 10px;
    padding: 0.75em 1em;
    margin-bottom: 0.75em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 1.1em;
}

.task-card.completed {
    opacity: 0.6;
    text-decoration: line-through;
}

.task-left {
    display: flex;
    align-items: center;
    gap: 0.75em;
    flex-grow: 1;
    text-align: left;
}

.task-actions {
    display: flex;
    gap: 0.75em;
    align-items: center;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #45ff93;
}

.task-star {
    color: gold;
    font-size: 1.2em;
    cursor: pointer;
}

.task-edit, .task-delete {
    cursor: pointer;
    font-size: 1.1em;
    color: #ccc;
}

.task-edit:hover,
.task-delete:hover,
.task-star:hover {
    color: #fff;
}

button.add-task,
button.start-btn {
    background-color: transparent;
    border: 2px solid #ccc;
    color: #fff;
    border-radius: 20px;
    padding: 0.75em 1.5em;
    margin: 0.5em;
    cursor: pointer;
    font-size: 1em;
    transition: 0.3s;
}

button.add-task:hover,
button.start-btn:hover {
    background-color: #fff;
    color: #0c0b2c;
}

hr {
    border: none;
    height: 1px;
    background: #666;
    margin: 2em 0;
}

.completed-title {
    font-size: 1.3em;
    margin: 1em 0;
    color: #ccc;
}

 .flashcard-container {
            max-width: 500px;
            margin: 5em auto;
            background: #2d3954;
            border-radius: 12px;
            padding: 2em;
            color: #fff;
            text-align: center;
        }

.flashcard-task {
            font-size: 1.5em;
            margin-bottom: 1em;
        }

.nav-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 2em;
        }

.nav-buttons a {
            background: transparent;
            border: 2px solid #ccc;
            border-radius: 25px;
            padding: 0.5em 1.5em;
            color: white;
            text-decoration: none;
            transition: 0.2s;
        }

.nav-buttons a:hover {
            background: #fff;
            color: #2d3954;
        }

.done-toggle {
            display: block;
            margin-top: 1em;
            color: #45ff93;
            font-weight: bold;
        }
		
button.connectBtn {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ff69b4;
  border: none;
  padding: 10px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
}
