@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Sedgwick+Ave&display=swap');

* {
  margin: 0px;
  box-sizing: border-box;
  padding: 0px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-image: rgb(131,58,180);
  background-image: linear-gradient(56deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  
 }
h1{
  color: white;
  margin-bottom: 1em;
}
 .warning::placeholder{
   color:rgb(255, 0, 0);
 }
 .warning{
  opacity: 0.9;

 }


 .animate__backInDown.completed{
   opacity: 0.5;
 }
.container {
  user-select: none;
  margin-top: 15em;
  text-align: center;
}
#todoinput,#todo-button {
outline: none;
padding: 0.5rem;
font-size: 1.5rem;
border:none;
background: white;
margin-bottom: 20px;

}

#todo-button {
  color: #015CC8;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}
#todo-button:hover{
  color: white;
  background-color: #015CC8;
}

#todo-ul {
  min-width: 30%;
  list-style: none;

}
.todoitem {
  width: 400px;
  margin-top: 0.5rem;
  height: 40px;
  border-radius: 5px;
  background-color: honeydew;

}
#todolist {

  display: flex;
  justify-content: center;
}


.todo-item {
  padding: 0rem 0.5rem;
}
.todo-div {
  min-width: 10em;
  border-radius: 5px;
  margin: 0.7rem;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  display: flex;
  justify-content: center;
  transition: all 0.5s ease;
  /* animation: slide-up 0.6s ease; */

}
.todo-div li {
  flex: 1;
}
.fa-trash-alt,
.fa-check {
  pointer-events: none;
}
.completed {
  text-decoration: line-through;
  opacity: 0.5 !important;
}

.falling {
  transform: translateY(8rem) rotateZ(25deg);
  opacity: 0;
}

.checkbutton, .trashbutton{
  transition: all 0.2s ease-in-out;
  background-color: #28A745;
  padding: 0.375rem 0.75rem;
  border: none;
  color: white;
  margin: 0px;
}

.trashbutton{
  background-color: tomato;
}
.trashbutton:hover{
  background-color: white;
  color: tomato;
}
.checkbutton:hover{
  background-color: white;
  color: #28A745;
}

.task{
  opacity: 0.8;
  color: white;
  background-color: #017BFE;
  padding: 0.625rem 0.5rem 0.625rem 0.5rem;
  font-size: 70%;
  min-width:65px;
  text-align:center;
}
.reminder{
  opacity: 0.8;
  color: white;
  background-color: #fec301;
  padding: 0.625rem 0.5rem 0.625rem 0.5rem;
  font-size: 70%;
  min-width:65px;
  text-align:center;
}
.other{
  opacity: 0.8;
  color: white;
  background-color: #6f01fe;
  padding: 0.625rem 0.5rem 0.625rem 0.5rem;
  font-size: 70%;
  min-width:65px;
  text-align:center;
}

label{
  color: white;
  position: relative;
}

label::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: white;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
  border-radius: 5px;
}

label:hover::after{
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}

.validTask{
  background-color: #017BFE;
}

@keyframes slide-up {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}


.select{
  position: relative;
}

select{
border-radius: 5px;
border: none;
padding: 0.5rem;
outline: none;

}
.hide{
  display: none;
}