* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Jost";
  list-style: none;
}

html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.logo img {
  height: 85px;
}

.logo {
  width: 100px;
  padding: 10px;
  position: absolute;
}

.container {
  width: 50%;
  height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 40px;
}

.container input {
  width: 70%;
  height: 50px;
  margin-top: 5%;
  border: 2px solid black;
  border-radius: 20px;
  padding: 10px;
  font-size: small;
}

.container .list-button {
  padding: 10px;
  margin: 20px;
  width: 15%;
  text-align: left;
  border-radius: 20px;
  background-color: aliceblue;
  transition: 0.2s all;
}

.input-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  margin-top: 5%;
  gap: 10px;
}

.input-group input {
  flex: 1;
  height: 50px;
  border: 2px solid black;
  border-radius: 20px;
  padding: 10px;
  font-size: small;
}

.input-group .list-button {
  padding: 10px;
  width: 70%;
  text-align: center;
  border-radius: 20px;
  background-color: aliceblue;
  transition: 0.2s all;
  white-space: nowrap;
}

.container button:hover {
  background-color: rgb(127, 208, 255);
  color: white;
  cursor: pointer;
  transition: 0.2s all;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.container ul {
  width: 70%;
  height: 50%;
  overflow-y: auto;
}

.todo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid black;
}

.task-text {
  flex-grow: 1;
  font-size: 18px;
}

.delete-btn {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 12px;
  cursor: pointer;
  margin-left: 12px;
}

.app-footer {
  width: 100%;
  text-align: center;
  padding: 20px 10px;
  background-color: #f5f5f5;
  font-size: 14px;
  color: #333;
  border-top: 1px solid #ccc;
  margin-top: ;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  html,
  body {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .logo {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .container {
    width: 90%;
    height: auto;
    padding: 20px 0;
    flex: 1;
  }

  .container input {
    width: 100%;
    height: 45px;
    font-size: 16px;
  }

  .container .list-button {
    width: 100%;
    margin: 30px 0;
    margin-right: 0;
    text-align: center;
  }

  .container ul {
    width: 100%;
    height: auto;
  }

  .todo-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .task-text {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .delete-btn {
    align-self: flex-end;
    padding: 6px 10px;
    font-size: 14px;
  }

  .logo {
    position: static;
    margin-bottom: 20px;
  }

  .logo img {
    height: 60px;
  }

  h1 {
    font-size: 22px;
    text-align: center;
  }

  .input-group {
    flex-direction: column;
    width: 100%;
  }

  .input-group input,
  .input-group .list-button {
    width: 100%;
  }

  .input-group .list-button {
    margin-top: 10px;
    text-align: center;
  }

  .app-footer {
    font-size: 12px;
    padding: 15px 5px;
    margin-top: auto;
  }
}
