html{
    font-size: 14px;
}

.container {
    display: grid;
    width: 96%;
    margin: 0 auto;
    gap: 1.8rem;
    grid-template-columns: 12rem auto;
}

div {
    display: block;
}

.innerContainerOfToDos {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.containerOfToDoList {
    max-width: 500px;
    width: 100%;
}

.outerHeaderOfTaskList {
    padding: 0px;
    flex-shrink: 2;
    position: sticky;
    top: 44px;
    z-index: 2000;
}

.innerHeaderOfTaskList {
    -webkit-box-align: center;
    align-items: center;
    background: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.024) 0px 5px 5px;
    border-width: 0px 1px 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-color: rgb(227, 227, 227);
    border-bottom-color: rgb(227, 227, 227);
    border-left-color: rgb(227, 227, 227);
    border-image: initial;
    border-top-style: initial;
    border-top-color: initial;
    display: flex;
    flex-direction: row;
    font-size: 17px;
    margin-left: -1px;
    padding: 0px;
    width: calc(100% + 1px);
}

.newTaskIconContainer {
    border-radius: 10px;
    background: #738E7E;
    height: 20px;
    font-weight: bold;
    margin: 0px 8px 0px 16px;
    min-width: 20px;
    position: relative;
    width: 20px;
}

.newTaskIconContainer::before, .newTaskIconContainer::after {
    width: 2px;
    height: 12px;
    content: " ";
    background: rgb(255, 255, 255);
    position: absolute;
    left: 9px;
    top: 4px;
}

.newTaskIconContainer::after {
    transform: rotate(-90deg);
}

.rotate::after {
    transform: rotate(-90deg); /* Rotated state */
}

.newTaskInput {
    appearance: none;
    background-color: transparent;
    border: none;
    border-radius: 0px;
    padding: 1.1em 0.5em 1.1em 0px;
    flex: 1 1 0%;
    display: block;
    font-size: 1em;
    margin-bottom: 1px;
    width: 100%;
    cursor: pointer;
}

.clearButtonText {
    background: rgb(233, 233, 233);
    border-radius: 16px;
    color: rgb(102, 102, 102);
    cursor: pointer;
    display: inline-block;
    height: 16px;
    line-height: calc(14px);
    text-align: center;
    width: 16px;
}

.outerNewTaskDateContainer {
    height: 57px;
    padding-right: 4px;
    display: flex;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: flex-end;
    width: 240px;
    position: relative;
    flex: 1 1 0%;
}

.innerNewTaskDateContainer {
    display: flex;
    flex-direction: row;
    outline: none !important;
}

.datePickerAndButtonContainer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.datePickerDiv {
    min-width: calc(12px + 0.54em * 8 + 0.217em * 2);
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 0 2px;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

#datepicker {
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    text-align: right;
}

.clearDateButton {
    border: 0;
    background: transparent;
    padding: 4px 6px;
}

.clearDateButton:enabled {
    cursor: pointer;
}

.outerContentContainerOfTaskList {
    background-color: rgb(250, 250, 250);
    -webkit-box-flex: 2;
    flex-grow: 2;
    padding-top: 44px;
}

.isCompletedToggleSpan{
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    display: flex;
    float: right;
    font-size: 13px;
    margin-right: 1.4em;
    padding: 12px 0px;
    position: sticky;
    top: 104px;
    z-index: 10;
}

.monthlyTasksContainer {
    margin-bottom: 3em;
}

.monthNameText {
    color: inherit;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0px;
    margin: 0px;
    text-transform: uppercase;
    background: rgb(249, 249, 249);
    padding: 12px 15px;
    position: sticky;
    top: 108px;
    z-index: 9;
}

.isCompletedToggleSpan {
    display: flex;
    align-items: center;
  }
  
.eye-slider {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    cursor: pointer;
    margin-left: 5px;
}
  
.slider-knob {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.2s;
}
  
.eye-slider input[type="checkbox"] {
    display: none;
}
  
.eye-slider input[type="checkbox"]:checked + .slider-knob {
    transform: translateX(20px);
}
  
.eye-slider input[type="checkbox"]:checked + .slider-knob + .eye-slider {
    background-color: green;
}
  
.eachTaskContainer {
    align-items: flex-start;
    cursor: pointer;
    border-left: 6px solid transparent;
    display: flex;
    flex-flow: row;
    padding: 1.25em 0.75em;
    margin: 15px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 12px, rgba(0, 0, 0, 0.08) 0px 2px 6px;
    border-radius: 6px;
}
.eachTaskContainer.done {
    background-color: rgb(250, 250, 250);
    box-shadow: rgba(0, 0, 0, 0.0) 0px 0px 0px, rgba(0, 0, 0, 0.00) 0px 0px 0px;
}

.taskCheckBox {
    background: rgb(255, 255, 255);
    border: 2px solid rgb(204, 204, 204);
    border-radius: 2em;
    display: inline-block;
    max-height: 40px;
    max-width: 40px;
    min-height: 40px;
    min-width: 40px;
    margin-left: 0.15em;
    margin-top: 0.15em;
    vertical-align: middle;
}

.taskCheckBox.done {
    background: rgb(95, 150, 136);
    border: rgb(95, 150, 136); /* Change the border color when it's done */
    color: white; /* Optional: Change text color when it's done */

    /* Add the embedded SVG for the "done" box */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="38" height="38" viewBox="0 0 16 16" class="icon" style="min-width: 38px; margin-top: 2px;"><path fill="%23fff" fill-rule="evenodd" d="M8.0595,10.9719092 L12.9040427,5.72425 C13.2940427,5.32925 13.2940427,4.69125 12.9040427,4.29625 C12.5140427,3.90125 11.8800427,3.90125 11.4900427,4.29625 L6.9995,9.18690918 L5.7065,7.71090918 C5.3165,7.31590918 4.6835,7.31590918 4.2925,7.71090918 C3.9025,8.10590918 3.9025,8.74390918 4.2925,9.13890918 L5.9385,10.9719092 C6.2215,11.2569092 6.5965,11.4149092 6.9985,11.4149092 C7.3995,11.4149092 7.7775,11.2569092 8.0595,10.9719092 Z" id="Path"></path></svg>');
    background-repeat: no-repeat;
    background-size: 100%;
}

.taskCheckBoxDetails {
    background: rgb(255, 255, 255);
    border: 2px solid rgb(204, 204, 204);
    border-radius: 2em;
    display: inline-block;
    max-height: 40px;
    max-width: 40px;
    min-height: 40px;
    min-width: 40px;
    margin-left: 0.15em;
    margin-top: 0.15em;
    vertical-align: middle;
    cursor: pointer;
}

.taskCheckBoxDetails.done {
    background: rgb(95, 150, 136);
    border: rgb(95, 150, 136); /* Change the border color when it's done */
    color: white; /* Optional: Change text color when it's done */

    /* Add the embedded SVG for the "done" box */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="38" height="38" viewBox="0 0 16 16" class="icon" style="min-width: 38px; margin-top: 2px;"><path fill="%23fff" fill-rule="evenodd" d="M8.0595,10.9719092 L12.9040427,5.72425 C13.2940427,5.32925 13.2940427,4.69125 12.9040427,4.29625 C12.5140427,3.90125 11.8800427,3.90125 11.4900427,4.29625 L6.9995,9.18690918 L5.7065,7.71090918 C5.3165,7.31590918 4.6835,7.31590918 4.2925,7.71090918 C3.9025,8.10590918 3.9025,8.74390918 4.2925,9.13890918 L5.9385,10.9719092 C6.2215,11.2569092 6.5965,11.4149092 6.9985,11.4149092 C7.3995,11.4149092 7.7775,11.2569092 8.0595,10.9719092 Z" id="Path"></path></svg>');
    background-repeat: no-repeat;
    background-size: 100%;
}

.eachTaskDetailsContainer {
    color: inherit;
    margin-left: 0.75em;
    vertical-align: middle;
    flex: 1 1 100%;
}

.eachTaskName {
    font-weight: inherit;
    text-decoration: none;
}

.eachTaskDueDate {
    color: rgb(153, 153, 153);
    font-size: 0.8em;
    text-decoration: none;
    padding-top: 0.3em;
}

.eachTaskImportance {
    color: rgb(255, 0, 0);
    font-size: 0.9em;
    text-decoration: none;
    padding-top: 0.3em;
}

.outerContainerOfTaskDetails {
    position: sticky;
    top: 44px;
}

.innerContainerOfTaskDetails {
    background-color: rgb(255, 255, 255);
    padding: 20px;
    position: relative;
    width: 100%;
    width: 500px;
}

.closeTaskContainerButton {
    display: none;
}

.taskDetailsHeaderContainer {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    vertical-align: middle;

}

.taskDetailsBodyContainer {
    margin-left: 54px;
}

.taskDetailsHeader {
    color: rgb(40, 40, 40);
    font-size: 24px;
    font-weight: normal;
    font-family: secondarytypeface, serif;
    padding: 10px 0px 10px 10px;
}

.taskDetailsBodyDueDateContainer{
    color: rgb(112, 112, 112);
    margin-bottom: 10px;
}

.dueDiv {
    text-transform: uppercase;
}

.dueDateAndButtonDetailsBody {
    display: inline-block;
    outline: none !important;
}

.taskBodyNotesContainer {
    color: rgb(112, 112, 112);
    font-size: 16px;
    font-weight: 600;
    padding: 0px 14px;
    margin-top: 2em;
}

.taskBodyNotesHeader {
    color: inherit;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0px;
    margin: 0px 0px 14px;
    text-transform: uppercase;
}

.taskBodyNotesArea {
    background: #fff;
    border-radius: 3px;
    border: 1px solid rgb(204, 204, 204);
    box-shadow: none;
    cursor: text;
    display: block;
    font-family: inherit;
    font-size: 1em;
    padding: 10px;
    transition: box-shadow 0.5s ease-out 0s, border-color 0.2s ease-in-out 0s, background 0.3s ease-in-out 0s;
    width: 100%;
    min-height: 150px;
}

.taskBodyButtonContainer {
    padding: 14px;
}

.taskButton {
    display: block;
    border: 1px solid rgb(229, 49, 49);
    border-radius: 4px;
    cursor: pointer;
    /* display: inline-flex; */
    font-size: 1em;
    -webkit-box-pack: center;
    justify-content: center;
    margin: 0px auto;
    opacity: 1;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    background: rgb(255, 255, 255);
    color: rgb(229, 49, 49);
}

.taskButton:hover {
    background: rgb(229, 49, 49);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 8px;
    color: rgb(255, 255, 255);
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        padding: 0;
    }

    .outerContainerOfTaskDetails {
        z-index: 2000;
    }

    .innerContainerOfTaskDetails {
        animation: 0.3s ease-in-out 0s 1 normal none running SlideIn;
        background: rgb(255, 255, 255);
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px, rgba(0, 0, 0, 0.6) 0px 0px 120px;
        height: calc(100vh - 15px);
        left: 0px;
        overflow-y: scroll;
        padding: 20px 12px;
        position: fixed;
        top: 33px;
        transition: transform 0.25s ease-in-out 0s;
        width: 100%;
        z-index: 3500;
    }

    .taskDetailsBodyContainer {
        padding-left: 0px;
        margin-left: 0em;
    }

    .taskDetailsBodyDueDateContainer {
        margin-left: 54px;
    }

    .closeTaskContainerButton {
        cursor: pointer;
        display: block;
        padding: 12px;
        position: absolute;
        top: 0px;
        right: 0px;
    }
}

@media (max-width: 320px) {
    .innerContainerOfTaskDetails {
        position: fixed;
        top: 33px;
        left: 0px;
        background: rgb(255, 255, 255);
        box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px, rgba(0, 0, 0, 0.6) 0px 0px 120px;
        border-radius: 10px;
        padding: 20px;
        overflow-y: scroll;
        transition: transform 0.25s ease-in-out 0s;
        height: calc(100vh - 15px);
    }
}

@keyframes SlideIn {
    0% {
      transform: translateY(50vh);
      opacity: 0;
    }
    100% {
      transform: translateY(0px);
      opacity: 1;
    }
}