@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root{
  --bg-color: #386641;
  --primary-color: #F97A00;
  --secondary-color: #FED16A;
  --tertiary-color: #FFF4A4;
}

body{
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
}

/* utility classes */
.flex{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* css starts form here */
.container{
  width: 100%;
  flex-direction: column;
}

.box{
  /* border: 1px solid red; */
  margin-top: 50px;
  text-align: center;
  padding: 20px;
}

.box h1{
  font-size: 3em;
  color: var(--primary-color);
}

input{
  margin-top: 20px;
}

.input-field{
  /* width: 100%; */
  padding: 10px 24px;
  border: none;
  outline: none;
  text-decoration: none;
  border-radius: 2px;
  background-color: var(--tertiary-color);
  color: var(--bg-color);
  font-weight: bold;
}

.add-btn{
  padding: 10px;
  border: none;
  text-decoration: none;
  background-color: var(--primary-color);
  color: var(--tertiary-color);
  font-weight: 700;
  border-radius: 3px;
  margin-left: 5px;
  outline: none;
}

ul{
  width: 100%;
  flex-direction: column;
  color: var(--secondary-color);

}

ul li{
  list-style-type: none;
  /* border: 1px solid red; */
  margin-block-end: 12px;
  padding: 9px 10px;
  border-radius: 5px;
  background-color: var(--tertiary-color);
  margin-inline: 25px;
  font-weight: 500;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

ul li p{
  flex-grow: 1;
}

.btn{
  padding: 10px;
  border: none;
  text-decoration: none;
  background-color: var(--primary-color);
  color: var(--tertiary-color);
  font-weight: 700;
  border-radius: 3px;
  margin-left: 5px;
  outline: none;
}