:root {
    --light: #fff;
    --dark:#333;
    --black: #000;
    --active: #39AC4C;
    --progress-bar: #999;
    --pomodoro-control: #5D5D5D;
    --pomodoro-slider: #d8dce0;
    --border: #eee;
    --complete: #c0c0c0;
    --button: #f0f0f0;
    --button-hover: #e7e7e7;
    --undo-btn: #5d5d5d;
  }
  
  body {
    background: var(--light);
    height: 100vh;
    transition: 0.5s background ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  
  .theme-switch {
    color: var(--dark);
    width: 50px;
    height: 24px;
    border-radius: 50px;
    position: relative;
    background: #333;
    cursor: pointer;
  }
  
  .theme-switch .switch {
    background: white;
    width: 18px;
    height: 18px;
    background: var(--light);
    border-radius: 100%;
    position: absolute;
    top: 3px;
    left: 4px;
    transition: 0.5s all ease;
  }
  
  .dark-theme {
    background: #333;
    color: #fff;
  }
  
  .dark-theme .theme-switch {
    background: var(--active);
  }
  
  .dark-theme .theme-switch .switch {
    transform: translateX(25px);
  }
  
  .dark-theme a {
    color: var(--light); 
  }
  
  .dark-theme textarea {
    color: #fff;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  * {
      margin: 0
    }
    
    body, h1, h2, h3, h4, h5, h6 {
       font-family: 'Roboto', sans-serif;
    }
  
    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 25px;
      left: 0;
      width: 100%;
      z-index: 101;
      background-color: var(--light);
      transition: 0.5s background ease;
    }
    
    .dark-theme .header-container {
        background-color: #333;
    }
  
    
    .container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .app {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin-top: 20px;
      width: 480px;
      max-width: 90%;
    }
    
    @media (max-width:768px) {
      .app {
        width: 90%;
      }
    }
    
    .app form {
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: 400px;
      padding: 10px;
      margin-top: 30px;
      margin-bottom: 30px;
      border-radius: 8px;
      box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
      background-color: #fff
    }
    
    
    #h1-home-title {
        font-size: 2.4em;
        font-weight: 900;
    }
    
    #h2-home-title {
        font-size: 1.4em;
        font-weight: 100;
    }
    
    #h3-home-title {
        font-weight: 100;
        padding-top: 20px;
        font-size: 1.1em;
    }
    
    #input-task, #input-description {
      outline: none;
      resize: none;
      overflow: hidden;
      border: none;
      font-family: 'Roboto', sans-serif;
      color: #000;
    }
    
    #input-task {
      font-size: 18px;
      font-weight: 500;
      padding: 10px;
    }
    
    #input-description {
      font-size: 15px;
      font-weight: 400;
      padding: 2px 0 0 10px;
      min-height: 37px;
    }
    
    .form-buttons {
      display: flex;
      width: 100%;
      gap: 10px;
      margin-top: 15px;
    }
    
    .app form #task {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 80%;
      gap: 10px;
      padding: 2px;
      border: none;
      border-radius: 8px;
      background-color: #e8e8e8;
      cursor: not-allowed;
    }
    
    .app form #task span {
      font-size: 18px;
    }
    
    .app form #task.valid {
      background-color: #111111;
      cursor: pointer;
    }
    
    .app form #task.valid span {
      color: white;
    }
    
    .app form #task.valid .fa-solid.fa-plus {
      color: white;
    }
    
    .app form #section {
      width: 20%;
      cursor: pointer;
      padding: 2px 2px 0 2px;
      border: none;
      border-radius: 8px;
      background-color: #e8e8e8;
    }
    
    .app form #section:hover {
      background-color: #111111;
    }
    
    .app form #section:hover .fa-chevron-down {
      color: white;
    }
    
    .app ul {
      list-style: none;
      padding: 0;
      width: 100%;
    }
    
    .app ul li {
      display: flex;
      width: 100%;
      justify-content: space-between;
      padding: 15px 0 5px 0;
      border-bottom: 1px solid var(--border);
    }
    
    .dark-theme .app ul li {
        border-bottom: 1px solid #64676b;
    }
    
    .div-check-title-description {
      display: flex;
      width: 80%;
    }
    
    .div-title-description {
      display: flex;
      flex-direction: column;
      width: 100%;
    }
    
    .icon-container-task, .icon-container-section {
      display: flex;
      justify-content: flex-end;
      align-items: start;
      gap: 8px;
      width: 15%;
    }
    
    .check {
      width: 16px;
      height: 16px;
      cursor: pointer;
    }
    
    input[type="checkbox"]{
      accent-color: var(--dark);
    }
    
    .dark-theme input[type="checkbox"]{
        accent-color: #fff;
    }
    
    .task {
      font-family: 'Roboto', sans-serif;
      font-size: 16px;
      font-weight: 500;
      padding: 0 10px;
      width: 100%;
      background: transparent;
      border: none;
      resize: none;
      overflow: hidden;
      margin-top: -2px;
    }
    
    .task:focus {
      outline: none;
    }
    
    .description {
      font-family: 'Roboto', sans-serif;
      font-weight: 400;
      font-size: 15px;
      padding: 8px 10px;
      width: 100%;
      background: transparent;
      border: none;
      resize: none;
      overflow: hidden;
    }
    
    .description:focus {
      outline: none;
    }
    
    li#section {
      margin-top: 30px;
      margin-bottom: 30px;
      border-bottom: 3px solid var(--black);
      align-items: center;
    }
    
    .dark-theme li#section {
      border-bottom: 3px solid #ebebeb;
    }
    
    .section-title {
      font-family: 'Roboto', sans-serif;
      font-weight: 600;
      width: 100%;
      font-size: 20px;
      border: none;
      resize: none;
      overflow: hidden;
      background-color: transparent;
    }
    
    .section-title:focus {
      outline: none;
    }
    
    .fa-trash-can {
      cursor: pointer;
    }
    
    .fa-trash-can:hover {
      color: rgb(255, 82, 82);
    }
    
    .fa-grip-vertical {
      cursor: all-scroll;
      margin-right: 8px;
    }
    
    .completed {
      color: var(--complete);
      text-decoration: line-through;
      padding-bottom: 33px;
    }
    
    .dark-theme .completed {
        color: #808080;
    }
    
    .completed .task  {
      color: #999999;
    }
    
    
    
    
    
   .icon-container-task .star .far {
      color: #999;
      cursor: pointer;
    }
    
       .icon-container-task .star .far:hover {
      color: #333;
    }
    
    .icon-container-task .star.active .fas {
        cursor: pointer;
        color: #FCD12A;
  display: flex;
  visibility: visible;
}

.icon-container-task .star .fas {
display: none;
}

.icon-container-task .star.active .far {
  display: none;
}
    
    
    
    
    
    li .fa-star,
    li .fa-trash-can,
    li .fa-grip-vertical {
        color:#999;
      visibility: hidden;
    }
    
    li:hover .fa-star,
    li:hover .fa-trash-can,
    li:hover .fa-grip-vertical {
      visibility: visible;
    }
    
    li .fa-grip-vertical:hover {
        color: #333;
    }
    
    
    
    .fa-circle-plus {
      font-size: 50px;
      margin-top: 30px;
      cursor: pointer;
    }
    
    .homepage-div {
      text-align: center;
      margin-top: 30%;
    }
    
    .hidden {
      display: none !important;
    }
    
    #section:hover svg {
      fill: #FFFFFF;
    }
    
    
    
    
    
    
    
    .progress-bar {
      position: sticky;
      top: 0;
      left: 0;
      z-index: 100;
      width: 100%;
      height: 25px;
      background-color: var(--progress-bar);
      transition: 0.5s background ease;
      overflow: hidden;
    }
    
    .dark-theme .progress-bar {
        background-color: #bababa;
    }
    
    .progress {
      height: 100%;
      background-color: var(--dark);
      transition: 0.5s background ease;
      width: 0;
      transition: width 0.3s ease-in-out;
      display: flex;
      align-items: center;
    }
    
    .dark-theme .progress {
        background-color: #fff;
    }
    
    .counter {
      color: var(--light);
      width: 100%;
      position: fixed;
      font-size: 13px;
      text-align: center;
    }
    
    .dark-theme .counter {
        color: #000;
    }
    
    .progress-completed {
        background-color: #39ac4c;
    }
    
    .dark-theme .progress-completed {
        background-color: #39ac4c;
    }
    
    .dark-theme .progress-completed .counter {
        color: #fff;
    }
    
    
    
    .saving-status-container {
      display: flex;
      align-items: center;
      padding: 10px;
    }
    
    .saving-status-container span {
      margin-right: 10px;
    }
    
    .icon-saving {
      display: none;
    }
    
    .text-saving {
      display: none;
    }
    
    .text-saved,
    .text-saving {
      font-size: 16px;
    }
    
    .icon-saved, .icon-saving {
        font-size: 18px;
    }
    
    
    
    
    
    
    
    
    .top-icon-container {
      display: inline-block;
    }
    
    .top-icons {
      display: inline-block;
      margin-right: 10px;
      font-size: 20px;
      cursor: pointer;
      color: var(--dark);
    }
    
    .dark-theme .top-icons {
      color: #fff;
    }
    
    
    
    
    
    
    
    
    
    .container-pomodoro {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin-top: 10px;
      padding: 15px;
    }
    
    .app-pomodoro {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 450px;
      max-width: 100%;
    }
    
    a[disabled] {
      pointer-events: none;
    }
    
    a[disabled] > span,
    a[disabled] > i {
      color: #939393;
    }
    
    .pomodoro-timer, #pomodoro-progress {
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }
    
    .pomodoro-timer {
      display: table;
      width: 100%;
      background: var(--progress-bar);
      margin: 0 auto;
      position: relative;
      transition: 0.5s background ease;
    }
    
    .dark-theme .pomodoro-timer {
      background: #bababa;
    }
    
    #pomodoro-progress {
      position: absolute;
      width: 0;
      height: 100%;
      background: var(--dark);
    }
    
    .dark-theme #pomodoro-progress {
      background: #fff;
    }
    
    .pomodoro-timer > span {
      display: table-cell;
      vertical-align: middle;
      color: var(--light);
      font-size: 4em;
      position: relative;
      padding: 10px;
    }
    
    .dark-theme .pomodoro-timer > span {
        color: #000;
    }
    
    .pomodoro-control {
      display: flex;
      margin: 0 auto 10px auto;
      width: 100%;
    }
    
    .pomodoro-control > a {
      text-decoration: none;
      background: var(--dark);
      display: inline-block;
      color: var(--light);
      padding: 5px;
      font-size: 1.5em;
      text-transform: uppercase;
      width: 50%;
      float: left;
      margin-bottom:20px;
      transition: 0.5s background ease;
    }
    
    .dark-theme .pomodoro-control > a {
      background: #f0f0f0;
      color: #000;
    }
    
    .pomodoro-control > a:first-child {
      border-right: 1px solid #434343;
    }
    
    .pomodoro-control > a:first-child {
      border-bottom-left-radius: 10px;
    }
    
    .pomodoro-control > a:last-child {
      border-bottom-right-radius: 10px;
    }
    
    .pomodoro-control > a:hover {
      background: var(--pomodoro-control);
    }
    
    .dark-theme .pomodoro-control > a:hover {
      background: #cfcfcf;
    }
    
    .pomodoro-timer-title {
      text-transform: uppercase;
      font-weight: bold;
      font-size: 1.2em;
      margin-bottom: 3px;
    }
    
    .min-pref {
      display: flex;
      flex-direction: column;
      border-radius: 5px;
      text-align: left;
      border: 1px solid var(--border);
      width: 100%;
      padding: 12px 0 8px 0;
    }
    
    .dark-theme .min-pref {
        border: 1px solid #64676b;
    }
    
    .min-pref label {
      font-weight: normal;
      padding-left: 15px;
    }
    
    .min-pref label > span {
      font-weight: bold;
    }
    
    [id^="slider"] {
      margin: 6px 15px 10px 15px;
    }
    
    .ui-widget-content {
        border: 1px solid #CCC;
        background-color: #e6e6e6;
    }
    
    .ui-widget.ui-widget-content {
        background: var(--pomodoro-slider);
    }
    
    .dark-theme .ui-widget.ui-widget-content {
        background: #797d82;
    }  
    
    .ui-slider-handle:focus {
      background-color: #fafafa !important;
      border: 2px solid black !important;
    }
    
    .info-link {
      margin-left: 5px;
      color: #414c5a;
    }
    
    .ui-slider .ui-slider-handle {
        cursor: grab !important;
    }
    
  
    .ui-slider .ui-slider-handle:active {
  cursor: grabbing !important;
}
  
  
  
  
  
  
  
  
  .side-menu {
    position: fixed;
    top: 25px;
    right: -108%;
    height: 100%;
    width: 400px;
    transition: right 0.3s ease, background 0.5s ease;
    overflow-y: scroll;
    background: var(--light);
    z-index: 999;
  }
  
  .dark-theme .side-menu {
      background:#333
  }
  
  @media (max-width: 768px) {
    .side-menu {
      position: fixed;
      top: 0px;
      height: 100vh;
      width: 100vw;
    }
  }
  
  .side-menu.open {
    right: 0;
  }
  
  .menu-content {
    padding: 40px 25px 80px 25px;
  }
  
  .menu-content h2 {
      padding-bottom: 30px;
      font-weight: 500;
  }
  
  .menu-content .settings-box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 30px 10px 30px 10px;
      border-bottom: 1px solid var(--border);
  }
  
  .dark-theme .menu-content .settings-box {
      border-bottom: 1px solid #64676b;
  }
  
  .close-button {
    position: absolute;
    top: 20px;
    right: 5px;
    padding: 20px 10px 0 10px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--black);
  }
  
  .dark-theme .close-button {
      color:#fff;
  }
  
  .side-menu::-webkit-scrollbar {
    width: 12px; /* Set the width of the scrollbar */
  }
  
  .side-menu::-webkit-scrollbar-track {
    background-color: transparent; /* Set the background color of the scrollbar track */
    margin-top: 70px;
  }
  
  .side-menu::-webkit-scrollbar-thumb {
    background-color: #888; /* Set the color of the scrollbar thumb */
    border-radius: 4px; /* Set the border radius of the scrollbar thumb */
  }
  
  .side-menu::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Set the color of the scrollbar thumb on hover */
  }
  
  
  
  
  
  .accordion-list {
    position: relative;
    display: block;
    width: inherit;
    height: auto;
    margin: 0;
    list-style: none;
  }
  
  .accordion-item {
    position: relative;
    display: block;
    width: inherit;
    height: auto;
    background-color: var(--light);
    transition: 0.5s background ease;
    padding: 20px;
    margin: 0 auto 15px auto;
    border: 1px solid var(--border);
    border-radius: 5px;
    cursor: pointer;
  }
  
  .dark-theme .accordion-item {
      background-color: #333;
     border: 1px solid #64676b;
  }
  
  .accordion-item.active h3:after {
    transform: rotate(45deg);
  }
  
  .accordion-item h3 {
    font-weight: 700;
    position: relative;
    display: block;
    width: auto;
    height: auto;
    padding: 0 0 0 0;
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.01em;
    cursor: pointer;
  }
  
  .accordion-item h3:after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.3s ease-in-out;
    font-size: 18px;
  }
  
  .accordion-content {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding-top: 15px;
    cursor: pointer;
  }
  
  .accordion-content p {
    position: relative;
    display: block;
    font-weight: 300;
    padding: 10px 0 0 0;
    cursor: pointer;
    line-height: 150%;
    margin: 0 0 15px 0;
    font-size: 14px;
  }
  
  .footer-container {
      margin-top: 40px;
      width: 100%;
      display: flex;
      justify-content: space-between;
      background-color: var(--light);
      position: relative;
      z-index: 102;
      transition: 0.5s background ease;
  }
  
  .dark-theme .footer-container {
      background-color: #333;
  }
  
  .footer-container .powered-by, #icon-info {
      padding: 10px;
  }
  
  .footer-container .powered-by a:link,
  .footer-container .powered-by a:visited {
      color: var(--black);
      font-size: 15px;
      font-weight: 500;
  }
  
  .dark-theme .powered-by a:link {
      color: #fff;
  }
  
  .dark-theme .powered-by a:visited {
      color: #fff;
  }  
    .powered-by a:hover {
      color: #666666;
  }
  
  
  
  .button {
    background: var(--button);
    color: var(--black);
    width: 80px;
    padding: 7px 0 7px 0;
    display: flex;
    justify-content: center;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    gap: 7px;
  }
  
  .button:hover {
      background: var(--button-hover);
  }
  
    .dark-theme .button {
    background: #666666;
    color: #fff;
    width: 80px;
    padding: 7px 0 7px 0;
    display: flex;
    justify-content: center;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    gap: 7px;
  }
  
  .dark-theme .button:hover {
      background: #585858;
  }
  
 
  #remove-all {
    background: #ff6868;
    color: #fff;
    width: 80px;
    padding: 7px 0 7px 0;
    display: flex;
    justify-content: center;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    gap: 7px;
  }
  
  #remove-all:hover {
      background: #ff4f4f;
  }
  
  @media (max-width: 767px) {
  #small-side-window {
    display: none;
  }
}
  
  
  
  
  
    .export-black-font-color{
    color: red;
}
  
  
  
  
    .menu-content .font-control-container {
      display: flex;
      padding: 30px 10px 30px 10px;
      border-bottom: 1px solid var(--border);
      gap: 25px;
  }
  
  .dark-theme .menu-content .font-control-container {
      border-bottom: 1px solid #64676b;
  }
  
  .font-control-container {
      display: flex;
      flex-direction: column;
  }
  
  .font-control-div {
      display: flex;
      flex-direction: column;
      gap: 5px;
  }
  
  .indicator-div {
      display: flex;
      gap: 7px;
  }
  
  input[type="range"] {
     accent-color: var(--dark);
     width: 100%;
     cursor: grab;
  }
  
  input[type="range"]:active {
  cursor: grabbing;
}
  .dark-theme input[type="range"] {
      accent-color: #999;
  }
  
  
  #info-side-menu #info-menu-content p, li {
      font-size: 14px;
      line-height: 1.5em;
  }
  
  
  
  
  
  
  

/* Undo Popup */
.undo-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--dark);
  padding: 10px;
  display: none;
  z-index: 9999;
  border-radius: 8px;
  border: none;
  align-items: center;
  gap: 6px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
}

.undo-popup .fa-circle-check {
    color: var(--light);
}

.undo-popup p {
  color: var(--light);
  margin: 0;
  font-size: 14;
}

.undo-popup button {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: 5px 8px 5px 8px;
  color: var(--light);
}

.undo-popup button:hover {
   background:#757575;
}

.undo-button {
    font-weight: 500;
    background: var(--undo-btn);
    margin-left: 5px;
}

.close-undo-popup {
    font-weight: 400;
    font-size: 18px;
    background: transparent;
}

.dark-theme .undo-popup {
    background-color: #fff;
}

.dark-theme .undo-popup button:hover {
    background: #e7e7e7;
}

.dark-theme .undo-button {
    background: #f0f0f0;
}

.dark-theme .undo-popup .fa-circle-check {
    color: #000;
}
.dark-theme .undo-popup p {
    color: #000;
}
.dark-theme .undo-popup button {
    color: #000;
}



.completed-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  max-width: 420px;
  width: 80%;
  transform: translateX(-50%);
  background-color: var(--light);
  padding: 20px;
  text-align: center;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  z-index: 9998;
}

.dark-theme .completed-popup {
    background-color: #333;
    box-shadow: 0px 0px 8px 0px rgba(203, 203, 203, 1);
}

.completed-div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 767px) {
  .completed-div {
    flex-direction: column;
  }
}

#clear-list-btn {
    width: 100px;
}

.sponserd-div {
  border-top: solid 1px #eee;
  gap: 15px;
  margin-top: 16px;
  padding-top: 10px;
}

.sponserd-div p {
    font-size: 14px;
    padding-bottom: 10px;
    line-height: 1.4em;
}

.mft-btn {
  padding: 8px 12px 8px 12px;
  border: none;
  border-radius: 4px;
  background-color: #39ac4c;
  color: #fff;
  cursor: pointer;
}

.mft-btn:hover {
    background-color: #4fbe61;
}