.container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #00000036;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  h1 {
    text-align: center;
    margin-bottom: 5px;
    font-size: 30px;
  }

  .task {
    margin-bottom: 10px;
    padding: 5px 10px;
    background-color: #0000003d;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
  }

  #taskList {
    margin-bottom: 10px;
  }


  .task.completed {
    transform: translateX(-100%);
    opacity: 0;
  }

  .task-title {
    display: flex;
    align-items: center;
   
  }

  .task-title h3 {
    margin: 0;
    margin-left: 10px;
  }

  .task-title h4 {
    margin: 0;
    margin-left: 10px;
  }

  .task-checkbox, .subtask-checkbox {
  
    width: 17px;
    height: 17px;
  }

  .task-list-header {
    position: relative;
    text-align: center;
  }
  
  .task-list-header h1 {
    margin: 0;
  }
  
  .task-close-button {
    position: absolute;
    top: 0px;
    right: 0;
    padding: 5px;
    height: 30px;
    width: 30px;
    line-height: 0px;
    text-align: center;
  }

  .task-description {
    margin: 0;
    height: 0;

    transition: height 0.3s;
    max-height: 50px;
    overflow-y: auto;
  }

  .task-description.visible {
    height: auto;
  }

  .subtasks {
    margin-left: 20px;
  }

  .navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }

  .navigation button {
    /*padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;*/
    transition: background-color 0.3s;
  }

  .navigation button:disabled {
    /*background-color: #3e8e41;*/
    cursor: not-allowed;
    opacity: 0.6;
  }

  .navigation button:hover:not(:disabled) {
    /*background-color: #45a049;*/
  }

  .navigation button i {
    margin-right: 5px;
  }

  .task-container {
    opacity: 1;
    transition: opacity 0.5s;
  }

  .task-container.fade-out {
    opacity: 0;
  }