@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  font-size: 62.5%;
}

ul {
  list-style: none;
}
button {
  cursor: pointer;
}

body {
  font-size: 1.6rem;
  font-family: 'Roboto', sans-serif;

  display: flex;
  justify-content: center;

  background-color: #191a19;
}
.container {
  margin-inline: 1.5rem;
}

main {
  padding: 2rem;
  margin-block: 5rem;

  display: flex;
  flex-direction: column;

  background-color: #1c0c5b;
  border-radius: 0.6rem;
}
h1 {
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}

.container-tasks {
  display: flex;
  gap: 0.8rem;
}
.newTaks {
  width: 100%;
  padding-left: 0.5rem;
  font-size: 1.8rem;

  border: none;
  outline: none;
  border-radius: 0.6rem;
}

.toDoList {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  margin-top: 2rem;

  color: #fff;
}
.toDoList li {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: #3f0071;
  border-radius: 0.6rem;
  padding-left: 0.5rem;
}

.addTasks {
  color: white;
  background-color: #3d2c8d;

  border: none;
  border-radius: 0.6rem;

  font-size: 2.7rem;
  font-weight: 600;

  padding: 0.5rem;
  cursor: pointer;
}

.addTasks:hover,
.deleteTask:hover {
  background-color: #3d2c8d;

  transition: 0.4s;
  transform: scale(1.1);
}

.deleteTask {
  color: white;
  background-color: #3d2c8d;

  border: none;
  border-radius: 0.6rem;

  font-size: 1.6rem;
  font-weight: bold;

  margin-left: 0.8rem;
  padding: 0.8rem;
}
