* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  body {
    background-color: rgba(45, 107, 253, 50%);
  }
  
   .maincontainer {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: 50px;
  }
  
  .container1 {
    height: 20vh;
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
  }
  
  .container1 h1 {
    color: rgb(2, 1, 1);
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  #textme {
    height: 5vh;
    width: 20vw;
    padding: 0 15px;
    border: none;
    border-radius: 5px;
    margin-top: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  #addbutton {
    width: 4vw;
    height: 5vh;
    border: none;
    border-radius: 5px;
    background-color: #2e60ea;
    color: rgb(0, 0, 0);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
  }
  .showalltask {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  h2 {
    font-size: 1rem;
  }
  
  hr {
    height: 2px;
    width: 100vw;
    background-color: blue;
  }
  
  .countthetask {
    margin-top: 8px;
    font-size: 18px;
  }
  
  #lists .task {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .task {
    display: flex;
    border: 1px solid rgb(255, 255, 255);
    width: 80vw;
    margin-top: 8px;
    border-radius: 5px;
  }
  
  .text {
    padding: 10px;
    background-color: transparent;
    border: none;
  }
  
  .edit {
    background-color: transparent;
    border: none;
    color: blue;
    font-size: 16px;
    cursor: pointer;
  }
  
  .edit:hover {
    background-color: transparent;
  }
  
  .delete {
    background-color: transparent;
    border: none;
    color: blue;
    font-size: 16px;
    margin-left: 5px;
    cursor: pointer;
  }
  
  .delete:hover {
    background-color: transparent;
  }
  
  @media (max-width: 750px) 
  {
    .maincontainer {
      height: 100vh;
      width: 100vw;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      top: 0;
    }
  
    .container1 {
      height: 20vh;
      width: 80vw;
      margin-top: 20px;
    }
  
    #textitm {
      width: 40vw;
    }
  
    #addbutton {
      width: 10vw;
    }
  
    .task {
      width: 60vw;
    }
  }
  
  
  @media (max-width: 450px)
   {
    .maincontainer {
      height: 100vh;
      width: 100vw;
      flex-direction: column;
      align-items: center;
    }
  
    .container1 {
      height: 20vh;
      width: 90vw;
      margin-top: 10px;
    }
  
    #textitm {
      width: 60vw;
    }
  
    #addbutton {
      width: 15vw;
    }
  
    .task {
      width: 80vw;
    }
  }
  
  
 