/* font */

@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');


main {
  display: flex;
  flex-direction: column;
}

body {
  background-color: #D5D7C9;
}

aside {
  display: flex;
  flex-direction: column;
  position: absolute;
  gap: 4px;
  width: 160px;
  height: 100%;
  padding: 140px 10px 0 10px;
  background-color: #f5f5f5;
}


aside article button {
  font-family: sans-serif;
  width: 140px;
  height: 40px;
  text-align: start;
  padding: 12px 10px;
  border: none;
  font-size: 16px;
}

#todoLabel {
  background-color: #2e83e3;
}

#doingLabel {
  background-color: #D74747;
}

#doneLabel {
  background-color: #60CA1F;
}

#allLabel {
  background-color: #AC9EFF;
}

/* aside end */

/* section form */

.sec-form {
  display: flex;
  flex-direction: column;
  margin-left: 250px;
  margin-top: 70px;
  /* width: 40%; */

}

#pageTitle {
  font-family: 'Caveat', cursive;
  position: absolute;
  font-weight: 400;
  font-size: 50px;
  color: #000000;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: 25px;
}


.taskCreator {
  display: flex;
  justify-content: center;
  width: 80%;
  margin-left: 30px;
}

.taskCreator button {
  background-color: transparent;
  border: none;

}

.taskAddDiv {
  background-color: rgba(255, 255, 255, 0.815);
  opacity: 80%;
  width: 580px;
  height: 40px;
  display: flex;
  align-items: center;
  margin-top: 30px;
  border-radius: 5px;
}

/* task div start */

.taskDiv {
  background-color: rgba(255, 255, 255, 0.815);
  opacity: 80%;
  width: 580px;
  height: 40px;
  display: flex;
  align-items: center;
  margin-top: 30px;
  border-radius: 5px;
}

.taskDiv button{
  border: none;
  background-color: transparent;
}

.taskContent{
  padding-left: 10px;
}

.taskContent {
  width: 100%;
}

.tasks-list h2 {
  font-size: 35px;
  font-family: 'Caveat', cursive;
  margin-top: 20px;
}

/* task div end */

.headerLogo {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 30px
}


input {
  border: none;
  outline: none;
  margin-top: 2px;
  border-bottom: 1px solid #e4e4ec;
  background: transparent;
  padding-left: 12px;
  width: 80%;
}
input, select, textarea{
  color: #a69696;
}

textarea:focus, input:focus {
  color: #7e7373;
}

#newTaskForm {
  background-color: #f5f5f5;
}

#newTaskForm input {
  border: none;
  background: transparent;
  outline: none;
}

#filterAll{
  padding-right: 20px;
}

/* add padding left when remove the valid button */
form {
  width: 580px;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 52px;
}

form input{
  flex-grow: 1;
  flex-shrink: 1;
}

/* form end */


/* end icons style*/

/* priority button */

#selectPriority{
  padding: 5px;
  border: none;
  background-color: #f5f5f5;
}

/* priority button end */


.taskDiv button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.taskAddDiv button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

/* end icons end */

.iconsEnd {
  display: flex;
  justify-content: end;
  padding: 10px;
}

i{
  padding: 9px;
}

.button-86 {
  all: unset;
  width: 120px;
  height: 40px;
  font-size: 16px;
  /* background: transparent; */
  border: none;
  position: relative;
  color: #f0f0f0;
  cursor: pointer;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin-bottom: 40px;
  border-radius: 10px;
}

.button-86::after,
.button-86::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

.button-86::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  /* background: #28282d; */
  border-radius: 10px;
}

.button-86::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  /* background: #ffffff15; */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50px;
}

.button-86:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

.button-86:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

.button-86:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}


#how-to{
  display: block;
  position: fixed;
  right: 50px;
  bottom: 100px;
  cursor: pointer;
}

.how-to-use{
  display: none;
  position: absolute;
  z-index: 99;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


@media screen and (max-width: 768px) {
  .sec-form {
    display: flex;
    justify-content: center;
    margin-left: 220px;
  }
  .taskCreator {
    display: block;
    margin-left: 0;
  }

  .taskAddDiv {
      width: 125%;
    /* width: calc(100% + +115px) */
  }

  .taskDiv {
    width: 100%;
  }

  #pageTitle {
    margin-left: 80px;
  }

  #how-to{
    width: 40px;
  }
}


@media screen and (max-width:426px) {

  main{
    display: flex;
    flex-direction: column;
  }

  #page6itle{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 25px;
  }

  aside{
    padding-top: 100px;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: auto;
    width: auto;
    position: unset;
  }

  .button-86{
    height: 20px;
    width: 40px;
  }

  #howToDiv img{
    height: 250px;
  }

  #how-to{
    width: 30px;
  }

  .sec-form{
    position: unset;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0 20px;
  }

  form input{
    flex-grow: 1;
  }

}