  html {
    box-sizing: border-box;
  }

  *,
  *::after,
  *::before {
    box-sizing: inherit;
  }

  body, h1, h2, h3, h4, h5, h6, p, ul, ol{
    margin: 0;
    padding: 0;
  }

  li {
    list-style: none;
  }

  body {
    word-wrap: break-word;
    min-height: 100vh;
  }


  :root {
    font-size: 15px;
    
    --ff: "Quicksand", sans-serif;
    --primary-dark: #f1f1f1;
    --secondary-dark: #FCFCFC;
    --primary-special-color: #FFC300;
    --activer-btn : #c4c6c7;
    --margin-xxs: .25rem;
    --margin-xs: .5rem;
    --margin-s: .75rem;
    --margin-m: 1rem;
    --margin-l: 1.25rem;
    --margin-xl: 1.75rem;
    --margin-xxl: 2.25rem;
  }
  
  button {
    background: none;
    cursor: pointer;
    border: none;
  }
span {
  font-family: "Quicksand", sans-serif;
}
  
.content {
    display: grid;
    grid-template-columns: 1fr 7fr;
    min-height: 100vh;
    font-family: var(--ff);
  }

.sidebar {
    background-color: var(--primary-dark);
    height: 100vh;
  }

.tasks-container {
    background-color: var(--secondary-dark);
    display: flex;
    flex-direction: column;
  }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.nav-item {
  margin: var(--margin-xxs) var(--margin-xs);
  & button {
    color: black;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }

  & button:hover {
    background-color: var(--activer-btn);
  }
}

.button-active {
  background-color: var(--activer-btn)
}

.button-nav-tasks {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  font-size: 1rem;
}

.completed {
  text-decoration: line-through;
  color: rgb(59, 55, 55) !important;
}

.completed-date-priority {
  background-color:  #01050f28 !important;;
  text-decoration: line-through;
}

.projects-section{
  border-top: 2px solid var(--activer-btn);
  margin: var(--margin-xs) var(--margin-s);
  & p {
    font-weight: 580;
    color: black;
    font-size: 1.2em;
  }
}

.projects-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;  
 
  & .btn-projects {
     font-family: var(--ff);
    color: black;
    margin: var(--margin-xxs) var(--margin-xxs);
    font-size: 1.1em;
    border-radius: 4px;
  }

  & .btn-projects:hover {
    background-color: var(--activer-btn);
  }
}

.btn-delete-task {
  color: var(--primary-light);
  margin: 0px 16px;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 10;
}

#add-task {
  font-weight: bolder;
}

.task-list {
  display: flex;
  flex-direction: column;
  margin: var(--margin-xs) var(--margin-xl);
}

.sidebar-toggle {
  display: flex;
  justify-content: space-between;
  margin-left: var(--margin-xl);
  & p {
    font-size: 2rem;
  }

}

.fa-bars {
  margin: 0 var(--margin-xl);
  margin-top: var(--margin-xs);
}

.list-group-item {
  color: black;
  display: flex;
  align-items: flex-start;
  gap: 3px;
  margin: var(--margin-xxs) 0px;
  border-bottom: 1px solid var(--activer-btn);
  padding: 6px 0px;
}

h6 {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 500;
}

.d-flex-1 {
  display: flex;
  gap: var(--margin-m);
  align-items: center;
  margin-bottom: 4px;
  & div {
    display: flex;
    flex-wrap: nowrap;
  }
}

.d-flex {
  display: flex;
}

.task-priority, .task-due-date {
  font-size: 0.8rem;
  margin-right: var(--margin-xxs);
  background-color: #e5e7eb;
  border-radius: 4px;
  padding: 2px 2px;
  color: black;
}

.high-priority-task, .medium-priority-task, .low-priority-task {
  border: none;
  font-weight: 500;
}

.high-priority-task {
  background-color: #e63946;

}

.medium-priority-task {
  background-color: var(--primary-special-color);
}

.low-priority-task {
  background-color: rgb(102, 172, 205);
}

.task-description {
  font-size: 1rem;
}

.input-checkbox {
  margin-right: var(--margin-m);
}

input[type=checkbox] {
  transform: scale(1.2);
}

.fa-trash {
  transition: scale 0.1s ease;
  color: black;
}
.fa-trash:hover {
  scale: 1.2;
  color: #e63946;;
}

input {
  font-family: var(--ff);
}

.fa-solid {
  cursor: pointer;
}

.fa-x {
  color: #e63946;
}

.task-edit-delete {
  display: flex;
  justify-content: flex-start;
}

.fa-pen-to-square {
  transition: scale 0.1s ease;
}

.fa-pen-to-square:hover {
  scale: 1.2;
}

.fa-lg {
  font-size: 1.2em;
}

.fa-bars {
  font-size: 1.7em;
  color: black;
}

.fa-bars:hover {
  cursor: pointer;
}
/* <uniquifier>: Use a unique and descriptive class name
<weight>: Use a value from 300 to 700 */

.toogle-sidebar{
  width: 0 !important;
  display: none !important;
}

.task-view-focus {
  width: 100vw;
}

#add-task-secondary {
  margin: 0px 20px;
  font-size: 1.3em;
}

.add-task-modal{
  border-style: none;
  border-radius: 6px;
}

.input-container {
  display: flex;
  flex-direction: column;
  & input {
    width: 100%;
  }
}

.form-task {
  gap: 10px;
  display: flex;
  flex-direction: column;
  font-family: var(--ff);
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  & p {
    font-size: 1.2rem;
  }
}

#error {
  margin-top: 2px;
  color: #e63946;
  font-size: small;
}

.form-btns {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  align-items: center;
  margin-top: 10px;

  & button {
    font-size: 0.9rem;
    color: white;
    border-radius: 3px;
    height: 25px;
    font-family: var(--ff);
  }

  & button.confirm-add {
    background-color: #0d6efd;
  }

  & button.cancel-add {
    background-color: #6c757d;
  }
}
.title-delete-project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;

  & .fa-trash {
    font-size: 1.5rem;
    color: #e63946;
  }
}


@media only screen and (max-width: 400px) {
  :root { 
     font-size: 10px !important; 
  }
  
  input[type=checkbox] {
    transform: scale(0.9);
  }

}

