@font-face {
  font-family: 'Onest';
  src: url("src/fonts/Onest.ttf") format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

body {
  font-family: 'Onest', sans-serif;
  margin: 0px;
  background-color: #F4EFF4;
}


/* icons */
.material-symbols-rounded {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}


ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

li .delButt {
  opacity: 0;
  transition: opacity 0.2s ease;
  background: transparent;
  border-color: transparent;
}

li:hover .delButt {
  opacity: 0.7;
}

.titleContainer {
  margin-left: 25px;
  margin-top: 15px;

  height: 30px;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.arrow {
  width: 24px;
  height: 24px;

  margin-left: 2px;
  cursor: pointer;

  justify-self: center;
  align-self: center;

  transform: rotateX(0);
  transition: transform 0.3s ease;
}

.emptyMessage {
  margin: 25px;
  opacity: 0.6;
}

.done {
  text-decoration: line-through;
  color: gray;
}

.taskContainer {
  display: flex;
  flex-direction: column;

  background-color: #E8DEF8;
  margin: 15px;
  border-radius: 30px;
  min-width: 270px;
  min-height: 170px;
  max-width: 270px;
  /* max-height: 170px; */
  overflow: hidden;
  padding-right: 20px;
  transition: max-height 0.2s ease, max-width 0.2s ease;
}

/* .plus {} */

#title {
  margin-left: 25px;
  margin-top: 40px;
  margin-bottom: 0;
}

#taskList {
  display: flex;
  flex-direction: column;
}

#addTaskInput {
  display: flex;
}

#taskInput {
  background-color: rgb(255, 255, 255);
  border-color: transparent;
  border-radius: 30px;
  font-size: 1.2rem;

  width: 200px;
  height: 40px;
  padding-left: 15px;
  padding-right: 10px;
  
  margin-left: 20px;
}

#addButt {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 45px;
  width: 45px;
  margin-left: 10px;

  border-color: transparent;
  color: #F4EFF4;
  font-size: 1.4rem; 

  border-radius: 50%;
  background-color: #6750A4;
  transition: border-radius 0.5s ease, background-color 0.5s ease, color 0.5s ease;
}

/* animations */
@keyframes fadeIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(10px);
    opacity: 0;
  }
}

@keyframes titleFadeIn {
  from {
    transform: translateX(-10px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes titleFadeOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-10px);
    opacity: 0;
  }
}

@keyframes emptyFadeIn {
  from {
      transform: translateX(-10px);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 0.6;
  }
}

.fadeIn {
  animation: fadeIn 0.3s ease forwards;
}

.fadeOut {
  animation: fadeOut 0.3s ease forwards;
}

.titleFadeIn {
  animation: titleFadeIn 0.3s ease forwards;
}

.titleFadeOut {
  animation: titleFadeOut 0.3s ease forwards;
}

.emptyFadeIn {
  animation: emptyFadeIn 0.3s ease forwards;
}

#addButt.radiusChange {
  border-radius: 25%;
  background-color: #E8DEF8;
  color: #625B71;
  transition: border-radius 0.1s ease, background-color 0.1s ease, color 0.1s ease;
}

.arrowExpanded {
  transform: rotateX(180deg);
  transition: transform 0.3s ease;
}