.board-header {
    width: calc(100% - 232px);
    margin-left: 232px;
    margin-top: clamp(3rem, 0.7143rem + 11.4286vw, 11rem);;
}

.d_none {
    display: none;
}

.container {
    margin-right: auto;
    max-width: 1440px;
    width: 100%;
    padding-inline: clamp(1rem, 0.1429rem + 4.2857vw, 4rem);
}

.align-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.align-input-and-task-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

h1 {
    font-weight: 700;
    font-size: clamp(2.9375rem, 2.6874rem + 1.2507vw, 3.813rem);
    color: #000000;
}

.add-task-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    padding: 0.5rem 1rem;
    background-color: #2A3647;
    gap: 0.25rem;
    border: 1px;
    border-radius: 10px;
    transition: box-shadow 100ms ease-in-out, background-color 100ms ease-in-out;
}

.add-task-btn:hover {
    background-color: #29ABE2;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.add-task {
    font-weight: 700;
    font-size: 1.313rem;
    color: #fff;
}

.add-task:hover {
    cursor: pointer;
}

.inputgroup {
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid #A8A8A8;
    border-radius: 10px;
    background-color: #fff;
    padding: 0.5rem 1rem;
}

.inputgroup:hover {
    cursor: pointer;
}

.find-task-input {
    flex: 1;
    background-color: #fff;
    outline: none;
    font-weight: 400;
    font-size: 1.25rem;
    color: #000000;
}

.align-input-divider-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.input-group-divider {
    height: 32px;
    border: 1px solid #D1D1D1;
}

.find-task-btn {
    background-color: #fff;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hover-search-icon {
    border-radius: 50%;
    transition: background-color 100ms ease-in-out;
}

.hover-search-icon:hover {
    background-color: #EEEEEE;
}

.inputgroup:focus-within {
    border: 1px solid #35B0E3;
}

main {
    margin-top: clamp(1.5rem, 1.0714rem + 2.1429vw, 3rem);
    width: calc(100% - 232px);
    margin-left: 232px;
}

.board-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.625rem;
}

.col {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.board-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.board-card-header span {
    font-weight: 700;
    font-size: clamp(1.6875rem, 1.8125rem + -0.625vw, 1.25rem);
    color: #42526E;
}

.highlight-add-task-to-section {
    transition: cursor 100ms ease-in-out, stroke 100ms ease-in-out;
}

.highlight-add-task-to-section:hover {
    cursor: pointer;
}

.highlight-add-task-to-section:hover rect,
.highlight-add-task-to-section:hover path {
    stroke: #29ABE2;
}

.empty-cards {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px dotted #A8A8A8;
    border-radius: 10px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.16);
    text-align: center;
    font-weight: 400;
    font-size: 1rem;
    color: #A8A8A8;
    background-color: #E7E7E7;
}

.card {
    padding: 1rem;
    background-color: #fff;
    margin-top: 1rem;
    border-radius: 24px;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 300px;
}
.card h3{
    word-break:break-word;
    white-space: normal;
}
.card p{
    word-break: break-all;
    white-space: normal;
}

.align-first-card-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.card-header {
    padding: 0.25rem 1rem;
    border-radius: 8px;
    font-weight: 400;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.card-header:hover {
    cursor: pointer;
}

h3 {
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: #2A3647;
}

p {
    margin-top: 0.5rem;
    font-weight: 400;
    font-size: 1rem;
    color: #A8A8A8;
}

.subtasks {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.625rem;
    align-items: center;
    justify-content: flex-start;
}

.progress-bar {
    width: 60%;
    background-color: #F4F4F4;
    border-radius: 8px;
    height: 8px;
}

.progress {
    height: 100%;
    border-radius: 8px;
    background-color: #4589FF;
}

.subtask-txt {
    font-weight: 400;
    font-size: 0.75rem;
    color: #000000;
}

.subtask-txt:hover {
    cursor: pointer;
}

.users {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 120px;
    flex-wrap: wrap;
}

.user {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -8px;
    z-index: 1;
    font-weight: 400;
    font-size: 0.75rem;
    text-align: center;
    color: #FFFFFF;
    flex-shrink: 0;
    flex-wrap: wrap;
    overflow: hidden;
}

.user:first-child {
    margin-left: 0;
}

.drag-drop-container {
    background-color: #2A3647;
    padding: 1rem 0.5rem;
    border-radius: 0 20px 20px 20px;
    position: absolute;
    top: 17px;
    right: 0;
    z-index: 10;
    color: #FFFFFF;
    cursor: default;
}

.drag-drop-container p {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    text-align: center;
}

.drag-drop-container span {
    font-size: 0.875rem;
    font-weight: 500;
}

.align-up-and-down-drag-drop {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    cursor: pointer;
    position: relative;
    z-index: 100;
}

.align-up-and-down-drag-drop span {
    cursor: pointer;
}

/* DUEDATE */

#dueDateInput{
    position: absolute;
    border: 1px solid #D1D1D1;
    border-radius: 10px;
    height: 48px;
    right: -45%;
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
}
#dueDateInputEdit{
    position: absolute;
    border: 1px solid #D1D1D1;
    border-radius: 10px;
    height: 48px;
    right: -45%;
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
}

#dueDateInputEdit:hover{
    cursor: pointer;
}
#dueDateInput:hover{
    cursor: pointer;
}
#customDueDateDiv{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

#customDueDateDiv:hover{
    cursor: pointer;
}

#shownDateDiv{
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
}

#shownDateDivEdit{
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
}

#duedate_input{
  flex-grow: 1;
  border: none;
  font-size: 20px;
  z-index: 1000;
   
}
#duedate_input:focus{
    border: none;
    outline: none;
}
#duedate_input::placeholder{
    color:#D1D1D1
}
#calendarIcon:hover{
    cursor: pointer;
}

@keyframes card-spin {
    0% {

    }

    100% {
        transform: rotate(10deg);
    }
}

.card-animation {
    animation-name: card-spin;
    animation-duration: 300ms;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-delay: 0.25s;
}

.custom-drop-box {
    height: 250px;
    width: 100%;
    border: 1px dotted #A8A8A8;
    border-radius: 30px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.16);
    margin-top: 1rem;
    opacity: 100%;
}

.o_hidden {
    opacity: 0;
}

#mobile_backdrop {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
}

.mobile {
    display: none;
}

#search_input_field_board {
    position: absolute;
    top: 45px;
    left: 5px;
    color: #FF8190;
    font-size: 12px;
}

#to_do::-webkit-scrollbar, #progress::-webkit-scrollbar, #feedback::-webkit-scrollbar, #done::-webkit-scrollbar {
    display: none;
}

@media(max-width: 1100px) {
    .board-header {
        margin-left: 128px;
    }
    main {
        margin-left: 128px;
    }
}

@media(max-width: 1170px) {
    .board-layout {
        flex-direction: column;
    }
    .add-task-btn.mobile {
        display: flex;
    }
    .add-task-btn {
        display: none;
    }
    .card {
        min-width: 252px;
        max-width: 252px;
    }
    .col {
        width: 100%;
    }
    .board_category {
        display: flex;
        flex: 1;
        gap: 20px; /* don't know the actual gap */
        /* max-width: 100vw; */
        overflow-x: auto;
        /* border-style: solid;
        border-color: red; */
    }
    body {
        overflow-x: hidden;
    }
    .empty-cards {
        min-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .align-first-card-section {
        justify-content: space-between;
    }

    .align-first-card-section img {
        display: block;
    }
    #To-Do_drop_box, #Progress_drop_box, #Feedback_drop_box, #Done_drop_box {
        display: none;
    }
    .board-header_mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-bottom: 40px;
    }
    
    .align-board-header {
        flex-direction: column;
        align-items: normal;
    }
    .inputgroup {
        flex: 1;
    }
    #done {
        margin-bottom: 3rem;
    }
    .scroll-container {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        display: flex;
        gap: 1rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
      }
}

@media(max-width: 850px) {
    .inputgroup {
        margin-bottom: 24px;
    }
    .board-header {
        margin: 128px 0;
        margin-bottom: 0;
        width: 100%;
    }
    .container {
        padding: 0 16px;
    }
    main {
        margin: 0;
        width: 100%;
    }
    #done {
        margin-bottom: 188px;
    }
}

@media (max-width: 640px) {
    #done {
        margin-bottom: 128px;
    }
}