body {
  background: #bd4b4b;
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
}

.container {
  width: 90%;
  max-width: 900px;
  margin: auto;
  padding-top: 40px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.tab {
  background: #933;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  color: white;
  border-radius: 5px;
}

.tab.active {
  background: white;
  color: #933;
  font-weight: bold;
}

.timer-music-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin: 20px 0;
}

.timer h1 {
  font-size: 80px;
  margin: 10px 0;
}

#startBtn {
  width: 200px;
  padding: 15px;
  background: white;
  color: #933;
  font-size: 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.music-box {
  background: #a94444;
  padding: 15px;
  border-radius: 10px;
  width: 40%;
}

.music-box h3 {
  margin-bottom: 10px;
}

.music-box #currentMusic{
  margin-bottom: 20px;
}

audio {
  width: 100%;
}

.add-task-box {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

#taskInput {
  width: 60%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-size: 18px;
}

#addTaskBtn {
  background: white;
  color: #933;
  font-size: 26px;
  width: 45px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.tasks {
  background: #a94444;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}

.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #c25b5b;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.task-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.task-actions button {
  background: white;
  color: #933;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 5px;
}

@media (max-width: 768px) {

  .timer h1 {
    font-size: 60px;
  }

  #startBtn {
    width: 180px;
  }
}

@media (max-width: 480px) {
  .timer h1 {
    font-size: 45px;
  }

  #taskInput {
    width: 70%;
  }

  #startBtn {
    width: 150px;
    font-size: 20px;
  }
}


/*  */

.music-box {
  background: #a94444;
  padding: 20px;
  border-radius: 12px;
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.music-box h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: bold;
}

#music-title {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffeaea;
  background: rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 6px;
  width: 100%;
  text-align: center;
}

.music-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.music-controls button {
  background: white;
  color: #933;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s;
}

.music-controls button:hover {
  background: #ffd6d6;
}

#volume {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .music-box {
    width: 100%;
  }

  .music-controls button {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  #music-title {
    font-size: 14px;
  }

  .music-controls button {
    width: 38px;
    height: 38px;
  }
}
#ads{
  margin-top: 60px;
}