* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  height: 100vh;
  padding: 0;
  min-height: 100vh;
  flex-direction: column;
}

.app {
  width: 90%;
  max-width: 600px;
  background: #1e1e1e;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px #1dff95e7;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  color: #00ff88;
}

.task-input {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#task-input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  outline: none;
}

#add-task-btn {
  padding: 10px 20px;
  background-color: #00ff88;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #121212;
  font-weight: bold;
}

#task-list {
  list-style-type: none;
}

.task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #292929;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 4px;
}

.task span {
  flex: 1;
  margin-right: 10px;
  font-size: 16px;
}

button {
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.delete-btn {
  background-color: #ff5252;
  color: #ffffff;
}

.timer-btn {
  background-color: #00ff88;
  color: #121212;
  margin-left: 10px;
}

.timer {
  font-size: 14px;
  font-weight: bold;
  margin-left: 10px;
}

/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #1e1e1e;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 400px;
  color: #ffffff;
  text-align: center;
}

.close {
  color: #ffffff;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #ff5252;
  text-decoration: none;
}

footer {
  margin-top: 70px;
  padding: 20px;
  background-color: #1e1e1e;
  color: #bdbdbd;
  text-align: center;
  border-top: 1px solid #2a2a2a;
  margin-bottom: 0px;
}

.footer-content p {
  margin: 0;
  font-size: 0.9rem;
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  margin: 0 10px;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-links img {
  width: 24px;
  height: 24px;
}

.social-links a:hover {
  transform: scale(1.2);
}
