#tasks {
  background-attachment: fixed;
  background-image: url("../img/teppen.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 20px 100px;
}

#tasks .container {
  max-width: 960px;
  margin: 0 auto;
  background-color: rgba(255, 255, 244, 0.9);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

#tasks .title {
  text-align: center;
  margin-bottom: 40px;
}

#tasks .title > h2 {
  display: inline-block;
  border-bottom: 2px solid #ff4040;
  font-size: 2em;
  padding: 0 12px 8px;
}

#tasks .tasks-detail-link {
  text-align: center;
  margin-bottom: 30px;
}

#tasks .detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 45px;
  font-size: 1.15em;
  font-weight: bold;
  background: linear-gradient(135deg, #ff4040 0%, #ff6060 100%);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 64, 64, 0.4);
  transition: all 0.3s ease;
}

#tasks .detail-btn:hover {
  background: linear-gradient(135deg, #ff6060 0%, #ff4040 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 64, 64, 0.6);
}

#tasks .detail-btn > i {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

#tasks .detail-btn:hover > i {
  transform: translateX(5px);
}

#tasks .note {
  padding: 20px 24px;
  background-color: rgba(255, 64, 64, 0.08);
  border-radius: 12px;
  text-align: center;
  font-size: 0.95em;
  line-height: 1.8;
  color: #333;
}

@media screen and (max-width: 680px) {
  #tasks {
    padding: 40px 16px 60px;
  }

  #tasks .container {
    padding: 32px 24px;
  }

  #tasks .title > h2 {
    font-size: 1.65em;
  }

  #tasks .detail-btn {
    padding: 15px 35px;
    font-size: 1em;
  }

  #tasks .note {
    font-size: 0.9em;
  }
}