:root {
    --primary-color: #081525;
    --text-color: #53abd4;    
    --background-color: #09181d;
    --background-color-main: #274c5e;
    --white-color: #fefefe;
    --highlight-color: #a6926d;
    --text-1: #f0f0f0;
    --text-2: #00ffff;
    --text-3: #66ccff;
    --text-4: #ffcc66;
    --text-5: #cccccc;
}

/* TODO Section */
.todo-wrapper {
    display: flex;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.todo-wrapper h1 {
    margin-top: 100px;
    margin-bottom: 20px;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}


#to-do-input {
    box-sizing: border-box;
    padding: 12px 20px;
    width: 100%;
    background: none;
    border: 2px solid var(--text-4);
    border-radius: 1000px;
    color: var(--text-4);
}

#to-do-input::placeholder {
    color: var(--text-4);
}

#to-do-input:focus {
    outline: none;
}

#to-do-form {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

#to-do-add-btn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--text-4);
    height: 100%;
    padding: 0 30px;
    border: none;
    border-radius: 1000px;
    font: inherit;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.to-do {
    margin-bottom: 10px;
    padding: 0 16px;
    background-color: var(--background-color-main);
    border-radius: 15px;
    display: flex;
    align-items: center;
}

.to-do .to-do-text {
    padding: 8px;
    padding-right: 0;
    flex-grow: 1;
    transition: 0.8s ease;
    display: flex;
    justify-content: space-between;
}

.to-do .to-do-text span {
    display: block;
    font-size: 0.8rem;
}

.to-do-delete-btn {
    padding: 3px;
    background: none;
    border: none;
    cursor: pointer;
}

.to-do-delete-btn svg{ 
    transition: 0.5s ease;
}

.to-do-delete-btn:hover svg{
    fill: var(--text-4);
    transform: scale(1.2);
}

.custom-checkbox {
    border: 1px solid var(--text-4);
    border-radius: 50%;
    min-height: 20px;
    min-width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: 0.8s ease;
    cursor: pointer;
}

#to-do-filter {
    display: none; 
}

/* REMOVE SCROLLING */
#to-do-list {
    width: 100%;
    flex-grow: 1;
    overflow-y: auto;
    /* Hide Scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none; 
}

/* SCROLLBAR STYLE */
/* #to-do-list::-webkit-scrollbar {
  width: 5px;
}

#to-do-list::-webkit-scrollbar-track {
  background: none;
  border-radius: 5px;
}

#to-do-list::-webkit-scrollbar-thumb {
  background-color: var(--text-4);
  border-radius: 4px;
  border: 2px solid var(--background-color-main);
} */

/* REMOVE SCROLLING */

#to-do-list input[type="checkbox"]:checked ~ .custom-checkbox {
    background-color: var(--text-4);
}

#to-do-list input[type="checkbox"]:checked ~ .custom-checkbox svg {
    fill: var(--background-color-main);
}

#to-do-list input[type="checkbox"]:checked ~ .to-do-text {
    text-decoration: line-through;
    color: var(--background-color);
}

#to-do-list input[type="checkbox"]{
    display: none;
}

@media(max-width: 500px) {
    .todo-wrapper {
        font-size: 1rem;
    }
    
    #to-do-form {
        display: flex;
        flex-direction: column;
    }

    #to-do-add-btn {
        position: unset;
        width: 100%;
        margin-top: 10px;
        height: 2rem;
    }

    .todo-wrapper h1 {
        font-size: 8vw;
    }
}

/* END OF TODO */
