*{
  margin: 0 0 0 0;
  padding: 0;
}

body{
  background-color: #f4f1f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

header{
  width: 400px;
  text-align: left;
  
}

h1{
  margin: 1rem 0 0 1rem;
  text-align: left;
  margin-bottom: 1rem;
  
}

.pageContainer{
  display: flex;
  flex-direction: column;
  margin: 0.25rem 1rem;
  align-items: center;
  max-width: 400px;
}
main{
  width: 400px;
  
}
.inputArea{
  position: relative;
}
#inputGrocery {
  font-size: 1.6rem;
  border: none;
  background-color: #e7e8eb;
width: 260px;
padding: 0.5rem 1rem;
padding-right: 3.5rem;
border-radius: 1.2rem;
outline: none;
}

.displayArea{
  padding: 2rem 1.9rem 0 0.25rem;
  
}
 
 #addItem {
   border: none;
   font-size: 1.5rem;
   padding: 0.6rem 0.5rem;
border-radius: 1.2rem;
position: absolute;
right: 1.8rem;
top: 0rem;
background-color: coral;
color: aliceblue;
 }
 
 .item{
   display: flex;
   justify-content: space-between;
   font-size: 1.25rem;
   margin-bottom: 1rem;
 }
 
 .together {
   display: flex;
   position: relative;
 }
 
 .delete{
   border: none;
   border-radius: 50%;
   background-color: #e7e8eb;
   width: 1.2rem;
   height: 1.2rem;
   font-size: 1.25rem;
 }
 .taskDisplay{
   border: none;
   font-size: 1.25rem;
   background-color:#f4f1f8;
   outline: none;
   width: 280px;
   padding: 0.3rem 1rem;
   border-radius: 1rem;
   position: absolute;
   bottom:0.08rem ;
   left:  1.4rem;
 }
 .taskDisplayCompleted{
   text-decoration: line-through;
   background-color: #d1ffbd;
 }
 
 /* Hide the default checkbox */
.circular-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  
}
.circular-checkbox{
  margin-right: 0.4rem;
}

/* Create a circular shape */
.circular-checkbox .checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #e7e8eb;
  border-radius: 50%;
  position: relative;
}

/* Change background color when the checkbox is checked */
.circular-checkbox input:checked + .checkmark {
  background-color:coral;
}

/* Add a checkmark (optional) */
.circular-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.circular-checkbox input:checked + .checkmark::after {
  display: block;
}

/* Style the checkmark */
.circular-checkbox .checkmark::after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}