 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Lato:wght@100;300;400;700;900&family=Overpass:wght@100;200;300;400;500;600;700;800;900&display=swap');

  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Lato:wght@100;300;400;700;900&family=Overpass:wght@100;200;300;400;500;600;700;800;900&family=Prompt:wght@100;200;300;400;500;600;700;800;900&display=swap');


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /*border: 1px solid gray; --> Reserve for debugging*/
  
  font-family: 'Overpass', sans-serif;
  
  /*font-family: 'Prompt', sans-serif;*/
}

body {
  padding: 10px 0;
  width: 100%;
  background: linear-gradient(135deg, #000000 10%, #000 100%);

  /*ff9a9e, F6416C*/
  color: #ddd;
}

/*basic design for background*/
body::before,
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.4;
}

body::before {
  clip-path: circle(30% at left 20%);
  background: linear-gradient(135deg, #333 10%, #121212 100%);
}
body::after {
  clip-path: circle(25% at right 80%);
  background: linear-gradient(135deg, #121212 10%, #333 100%);
}

/*css for main content*/
main {
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.3rem;
  padding: 2rem 0;
  flex-direction: column;
  position: relative;
  border: 5px solid #abcea1;
  width: 500px;
  margin: 4rem auto;
  border-radius: 10px;
  box-shadow: 0px 1px 5px #f2f2f2;
}

main input[type="text"] {
  height: 35px;
  padding-left: 10px;
  border: 3px solid #abcea1;
  outline: none;
  border-radius: 6px;
  width: 170px;
  font-weight: 400;
  caret-color: blue;
  margin: 0 2px;
}

/*style for placeholder*/
main input,
main input::placeholder {
  font-size: 1rem;
  padding: 2px 5px;
}

.todos {
  padding: 20px;
  margin-bottom: 30px;
  width: auto;
  margin: auto;

  font-size: 1.5rem;
  font-weight: bold;
}
ul li {
  list-style: none;
  display: block;
  text-align: left;
}

.buttons {
  display: flex;
  gap: 1.3rem;
}
button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

button:hover {
  background-color: #0062cc;
}

/*responsiveness to mobile device*/
@media (max-width: 600px) {
  main {
    width: 90%;
  }
}
