:root {
    --primary: #2C3639;
    --dark-primary: #152125;
    --secondary: #3F4E4F;
    --accent1: #A27B5C;
    --dark-accent1: #72553c;
    --accent2: #DCD7C9;

    --transition1s: all 0.1s ease;
    --transition2s: all 0.2s ease;
    --transition3s: all 0.3s ease;
    --transition4s: all 0.4s ease;
}

* {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* JPL BRAND */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-accent1 {
    background-color: var(--accent1) !important;
}

.bg-accent2 {
    background-color: var(--accent2) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-accent1 {
    color: var(--accent1) !important;
}

.text-accent2 {
    color: var(--accent2) !important;
}

.btn-accent1 {
    background-color: var(--accent1);
    border-color: var(--accent1);
    color: #fff;
}

.btn-accent1:hover,
.btn-accent1:focus,
.btn-accent1:active {
    background-color: var(--dark-accent1) !important;
    border-color: var(--accent1) !important;
    color: var(--accent2) !important;
}

.btn-accent1:disabled {
    background-color: var(--accent1);
    border-color: var(--accent1);
    color: #fff;
    cursor: not-allowed;
}

.form-control:focus {
    box-shadow: 0 0 8px var(--secondary);
    border-color: var(--secondary);
}

.text-justify {
    text-align: justify;
}

/* design of todo list */
.header {
    position: relative;
}

.info-btn {
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent1);
    border: none;

    transition: var(--transition3s);
}

.info-btn i {
    font-size: 18px;
    color: var(--accent2);
}

.info-btn:hover {
    background-color: var(--dark-accent1);
}

.title {
    font-weight: 800;
    font-size: 24px;
}

.last-update {
    font-size: 14px;
}

.task {
    border: 1px solid var(--accent1);
    box-shadow: 5px 5px 0 rgb(0, 0, 0, .25);
    transition: 0.3s ease-out;
}

.task:not(:last-child) {
    margin-bottom: 15px;
}

/* Styles for when the task is marked as done */
.task.done {
    opacity: 0.5; /* Reduce opacity to make it look faded */
    text-decoration: line-through; /* Add line-through text decoration */
    box-shadow: none; /* Remove the box-shadow */
    background-color: #d3d3d3; /* Change background color */
}

.subject {
    font-weight: 700;
    font-size: 20px;
}

.activity {
    font-size: 17px;
}

.deadline {
    font-size: 16px;
    font-style: italic;
}

.deadline.past {
    color: #d74f4f;
}

.task-done {
    width: 20px;
    margin-left: 10px;
}

.task-done:checked {
    background-color: var(--accent1);
}

/* modal */
.modal-body p {
    text-indent: 15px;
}