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

/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Architects Daughter', cursive;
}

.title {
  color: #4f332c;
  text-align: center;
  padding: 40px;
  font-size: larger;
}

/* Base Styles */
body {
  background-color: #bdb4d5;
}

.body-section {
  display: flex;
  justify-content: space-around;
}

/* theme changing section */
.theme-section {
  padding: 20px;
  font-size: 25px;
  font-weight: bold;
  color: #4f332c;
  text-align: center;
}

.theme-title {
  padding: 10px;
}

.icon-container-palette {
  display: flex;
  margin-top: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.color-container {
  background-color: whitesmoke;
  padding: 10px;
  width: 300px;
  border-radius: 10px;
  border:solid 2px #4f332c;
  margin-top: 10px;
}

.colors i{
  margin-left: 5px;
  font-size: 25px;
}

.colors i:hover{
  transform: scale(1.2);
  transition: transform 0.3s;
}

/* quote changing section */
.quote-container {
  padding: 20px;
  font-size: 25px;
  font-weight: bold;
  color: #4f332c;
  text-align: center;
}

.quote-title {
  padding: 10px;
}

.quote-display {
  width: 300px;
  background-color: whitesmoke;
  padding: 10px;
  border: solid 2px #4f332c;
  border-radius: 10px;
  font-size: 20px;
  margin-top: 10px;
}

.quote-display p.author {
  font-size: 16px;
  font-weight: 100;
  color: whitesmoke;
  border: solid 2px #4f332c;
  width: 150px;
  margin: auto;
  border-radius: 5px;
  background-color: #4f332c;
  margin-top: 10px;
}

.icon-container-hat {
  display: flex;
  margin-top: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

/* Task input section */
.container {
  width: 600px;
  padding: 20px;
}

h2 {
  text-align: center;
  color: #4f332c;
  margin-bottom: 20px;
  font-size: 25px;
}

.todo-list {
  border: solid 2px #4f332c;
  background-color: whitesmoke;
  border-radius: 10px;
  padding: 20px;
}

.input-flex {
  display: flex;
}

.todo-input {
  color: #5e3838;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 2px solid #4f332c;
  margin-bottom: 10px;
  background-color: transparent;
}

.todo-input:focus{
    outline: none;
}

.date-time-input {
  padding: 10px;
  height: 40px;
  width: 300px;
  background: transparent;
  border: none;
  border-bottom: solid 2px #4f332c;
  margin-left: 20px;
  margin-top: 6px;
  color: #4f332c;
  font-size: 16px;
  font-weight: bold;
}

.add-btn {
  background-color: #4f332c;
  border: none;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 3px 0 #000000;
}

.add-btn:active{
    box-shadow: none;
    transform: translate(0, 3px);
}

/* .task {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border: 1px solid #f0f0f0;
  border-radius: 5px;
  margin-bottom: 5px;
  background-color: #f5f5f5;
} */

/* Write something - alert section */
.writeSomething{
  display: none;

}

.writeSomethingAlert{
  width: 560px;
  border-radius: 5px;
  align-items: center;
  color: #4f332c;
  font-size: 18px;
  font-weight: bold;
  color: #4f332c;
  margin-left: 20px;
}

/* Write 4 or more words - alert section */
.wordCount {
  display: none;
}

.wordCountAlert{
  width: 560px;
  border-radius: 5px;
  align-items: center;
  color: #4f332c;
  font-size: 18px;
  font-weight: bold;
  color: #4f332c;
  margin-left: 20px;
}

/* tasks display section */
.task-container {
  padding: 20px;
}

.task-list{
  display: flex;
  justify-content: space-between;
  margin: auto;
  margin-top: 5px;
  border: solid 2px #4f332c;
  background-color: whitesmoke;
  height: fit-content;
  border-radius: 5px;
  align-items: center;
}

.task-todo {
  display: flex;
  padding: 15px;
  width: 465px;
  font-size: 18px;
  font-weight: bold;
  color: #4f332c;
  border-radius: 5px;
  align-items: center;
}

.task-todo p{
  margin-left: 10px;
}

.edit-delete-icons{
  margin-right: 5px;
  color: #4f332c;
  width: 70px;
}

.fa-pen{
  margin-right: 20px;
} 

.fa-pen:hover{
  color: #89736e;
  transform: scale(1.3);
  transition: transform 0.3s;
}

.fa-trash:hover{
  color: #89736e;
  transform: scale(1.3);
  transition: transform 0.3s;
}

input[type=checkbox]:checked + p{
  text-decoration: line-through;
  color: #89736e;
}

.edit-text:focus{
  outline: none;
}

.edit-field{
  border: none;
  outline: none;
  font-size: 20px;
  font-weight: bold;
  color: #4f332c;
  background: transparent;
  margin-left: 10px;
  width: 350px;
}

/* Media Queries */
@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .todo-list {
    padding: 10px;
  }

  .todo-input,
  .add-btn {
    width: 100%;
  }
}
