In the CSS file, In class "container". If I give a padding of even just 1px. The code works fine. But the moment I make it to 0px (or remove it), the "container" shift several pixels down the screen. I don't understand why.
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.container {
  background: linear-gradient(135deg, rgb(44, 44, 146), rgb(92, 23, 109));
  min-height: 100vh;
  padding: 1px;
}
.todo {
  background-color: white;
  max-width: 550px;
  min-height: 250px;
  border-radius: 10px;
  margin: 100px auto 20px;
}<div class="container">
  <div class="todo">
  </div>
</div>My guess (which might be wrong) is that somehow the "todo" class's top-margin is causing all this. I don't understand why
