@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap");
* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
  /* overflow: hidden; */
  font-family: "Montserrat", sans-serif;
}
section {
  text-align: center;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 30px;
}

.icons {
  /* display:flex; */
  font-size: 18px;
  cursor: pointer;
  color: lightgreen;
  padding: 5px;
}

.icon {
  margin-left: 5px;
 
}

h1 {
  font-size: 35px;
  color: #e44233;
  margin: 20px;
  flex-basis: 275px;
  display: flex;
  justify-content: start;
  margin-left: 60px;
}

.green {
  color: #38b000;
}

.btn {
  padding: 10px 0px;
  border-radius: 10px;
  border: none;
  background-color: #38b000;
  color: white;
  cursor: pointer;
  margin-right: 5px;
}

.btn:hover {
  background-color: #006400;
}

#show {
  display: grid;
  grid-template-columns: 250px 100px;
  justify-content: center;
  column-gap: 40px;
  row-gap: 15px;
  align-items: center;
}

.elem:hover {
  background-color: gainsboro;
  padding: 5px 0px;
  transition: 0.3 ease-out;
}

.grd {
  display: grid;
  grid-template-columns: 250px 100px;
  justify-content: center;
  column-gap: 40px;
  margin-bottom: 15px;
}

#todo-Input {
  font-size: 15px;
  padding: 8px 5px;
  margin-left: 5px;
}

#todo-Input:hover {
  border: 2px solid gainsboro;
}

.del {
  padding: 10px 0px;
  border-radius: 10px;
  border: none;
  background-color: #d90429;
  color: white;
  cursor: pointer;
  margin-right: 5px;
}

.del:hover {
  background-color: #9d0208;
}

@media (max-width: 500px) {
  .btn:hover {
    background-color: #38b000;
  }
}
@media (max-width: 360px) {
  h1 {
    font-size: 9vw;
  }

  .grd {
    column-gap: 8px;
  }

  #show {
    column-gap: 8px;
  }
}
