#main {
  width: 100%;
  height: 100%;
  padding: 10px 20px;

  & > .greeting_box {
    background-color: var(--background-color);
    width: fit-content;
    padding: 10px 20px;
    margin: 0 auto;
    margin-bottom: 20px;
    display: flex;
    align-items: center;

    border: 2px solid black;
    border-radius: 4px;
    box-shadow: 5px 5px 0 var(--shadow-color);
  }

  & > .todo_form_box {
    width: 500px;
    height: 2.5rem;
    display: flex;
    margin: 0 auto;
    background-color: var(--background-color);
    border-radius: 4px;
    outline: 2px solid var(--theme-color);
    transition: 0.2s outline ease;

    &:has(input:focus) {
      outline: 3px solid var(--emphasized);
    }

    & > input {
      width: 100%;
      height: 100%;
      font-size: 1.8rem;
      border: none;
      outline: none;
      padding-left: 10px;
    }

    & > button {
      all: unset;
      width: 20%;
      height: 100%;
      text-align: center;
      background-color: var(--theme-color);
      cursor: pointer;
      border: none;

      &:hover {
        background-color: var(--emphasized);
      }
    }
  }

  & > .todo_list_box {
    overflow-y: scroll;
    width: 500px;
    height: 45%;
    margin: 20px auto;

    & > li {
      width: 100%;
      height: 2.4rem;
      margin-bottom: 8px;
      background-color: rgba(255, 255, 255, 0.4);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 15px;
      border-radius: 4px;

      & > span {
        width: calc(100% - 20px);
      }

      & > button {
        width: 20px;
        height: 20px;
        text-align: center;
        margin-right: 10px;
        cursor: pointer;
        border-radius: 5px;
        box-sizing: border-box;
        background-color: transparent;
        border: none;

        &:hover {
          background-color: var(--theme-color);
          border: 2px solid var(--background-color);
        }
      }
    }
  }

  #todo-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
  }
}
