*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  height: 100vh;
  /* background: linear-gradient(#ffd55c 50%, #5a95ff ); */
  background:linear-gradient(135deg, rgb(21, 54, 119), rgb(78, 8, 95)); 
}
.app {
  font-family: "Poppins", sans-serif;
  width: min(95vw, 650px);
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 100px;
}
.container {
  padding: 30px 40px;
  background-color:rgba(255,255,255,1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-radius: 0em 0em .8em 0.8em;
}
#wrapper {
  position: relative;
  border-radius: 5px ;
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 1em;
}
#wrapper input {
  width: 100%;
  font-family: "Poppins", sans-serif;
  color: #111111;
  font-size: 0.9em;
  border: none;
  border-bottom: 2px solid #d1d3d4;
  padding: 1em 0.5em;
  background-color: transparent;
}
#wrapper input:focus {
  outline: none;
  border-color: #5a95ff;
}
#wrapper button {
  position: relative;
  border-radius: 225px;
  font-family: "Poppins", sans-serif;
  font-weight: bolder;
  font-size: 1em;
  /* background-color: #5a95ff; */
  background-color: rgb(255, 89, 69);;
  border: none;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  height:50px;
}
#tasks {
  margin-top: 1em;
  border-radius: 10px;
  width: 100%;
  position: relative;
  padding: 1em 0.5em;
}
.task {
  background-color: #ffffff;
  padding: 0.8em 1em;
  display: grid;
  grid-template-columns: 1fr 8fr 2fr 2fr;
  gap: 1em;
  border-radius: 0.5em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.05);
  align-items: center;
  cursor: pointer;
}
.task:not(:first-child) {
  margin-top: 1em;
}
.task input[type="checkbox"] {
  position: relative;
  appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid #e1e1e1;
}
.task input[type="checkbox"]:before {
  content: "";
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}
.task input[type="checkbox"]:checked {
  background-color: #5a95ff;
  border-color: #5a95ff;
}
.task input[type="checkbox"]:checked:before {
  position: absolute;
  content: "\f00c";
  color: #ffffff;
  font-size: 0.8em;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.task span {
  font-size: 15px;
  font-weight: 400;
  word-break: break-all;
}
.task button {
  color: #ffffff;
  width: 100%;
  padding: 1em 0;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  outline: none;
}
.edit {
  background-color: #5a95ff;
}
.delete {
  background-color: #ff5c5c;
}
#pending-tasks span {
  color: #5a95ff;
}
.completed {
  text-decoration: line-through;
  color: #a0a0a0;
}
#error {
  text-align: center;
  display: none;
  background-color: #ffffff;
  color: #ff5c5c;
  margin-top: 1.5em;
  padding: 1em 0;
  border-radius: 0.5em;
}


.title{
  background:linear-gradient(purple,rgb(206, 191, 191));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
    text-align: center; 
    font-size: 2em;
    font-style: italic;
    font-weight: bold;
    /* border-bottom:2px solid rgb(91, 225, 14); */
 
}


.n-icon{
  background:rgb(250, 248, 248);
  border-radius: 0.8em 0.8em 0em 0em;
  width: 500px;
  transform:translateY(25px);
  padding: 0 40px 0 ;
  font-size: bold;
  padding-top:30px;
  width: min(95vw, 650px); 
}
.n-icon h1{
  font-size: 2em;
  display:inline;
}
/* 
/* dev */
/* #dev{ */
  /* color: #2c256f ; */
  /* display:none; */
    /* text-align: center; */
    /* font-size: 22px; */
    /* position: absolute; */
    /* left:0;right:0;
    bottom:9px;
    /* background:linear-gradient(rgb(228, 63, 26) 50%, green); */
    
  
/* } */
