@media (max-width: 1200px) {

    main {
        padding: 0px 32px;
    }

    .main-board {
        flex-direction: column;
    }

    .ctn-task {
        width: 210px;
        height: 100%;
        justify-content: space-around !important;
    }

    .tasks-box {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 16px;
        border-radius: 0;
    }

    .header-container {
        max-width: 210px;
    }

    .highlight {
        display: none;
    }

    .ctn-drag-area {
        min-height: 0;
    }

    .ctn-no-tasks.d-flex {
        width: 210px;
    }

    .ctn-drag-area {
        display: flex;
    }

    .ctn-no-tasks {
        padding: 0;
    }

    .overlay-detail-task-board {
        height: auto;
        max-height: 75vh;
        width: 95%;
        gap: 32px;
    }

    .overlay-edit-task-board {
        height: 75vh;
        width: 95%;
    }

    .move-to-responsive {
        display: block !important;
    }
}

@media (max-width: 1000px) {

    main {
        margin-left: 0;
        padding: 0 16px 80px 16px;
    }
}

@media (max-width: 760px) {

    .btn-dark-responsive.d-none {
        display: block !important;
    }

    button.btn-dark {
        display: none;
    }

    .header-board {
        flex-direction: column;
    }

    .header-board-left {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    h1.headline {
        margin: 18px 0;
    }

    .header-board-right.d-flex {
        width: 100%;
        margin-bottom: 24px;
    }

    .ctn-input-search {
        width: 100%;
    }

    input#input-search-task {
        width: 100%;
    }

    .sidebar-section {
        position: fixed !important;
    }
}

@media (max-width: 500px) {

    .subtask-icons img,
    .horizontal-line-hover {
        height: 11px;
        transition: opacity 0.3s;
        opacity: 1;
    }

    main {
        padding: 0 16px;
        margin-bottom: 80px;
    }

    h1.headline {
        font-size: 36px;
    }

    .btn-dark-responsive {
        width: 30px;
        height: 30px;
        padding-left: 7px;
    }

    .image-plus-add-task {
        height: 16px;
    }

    .header-container {
        min-width: 100% !important;
    }

    .tasks-box {
        width: 100%;
    }

    .ctn-no-tasks {
        width: 100% !important;
    }

    .overlay-board {
        width: 100%;
        z-index: 500;
    }

    .ctn-main-Detail-Task {
        gap: 12px;
    }

    .overlay-detail-task-board {
        height: auto;
        max-height: 75vh;
        width: 95%;
        gap: 16px;
        font-size: 14px;
    }

    p#task-title-detail {
        font-size: 24px;
    }

    .overlay-edit-task-board {
        height: 75vh;
        width: 95%;
        gap: 16px;
        padding: 12px;
    }

    .input-subtask-edit {
        font-size: 13px;
    }

    .task-description-detail {
        font-size: 14px;
    }

    .label-overlay-template {
        width: 100%;
        font-size: 13px;
    }

    .subtask-item {
        gap: 10px;
    }

    .custom-checkbox {
        width: 16px;
        height: 16px;
    }

    .prio {
        height: 36px;
        font-size: 14px;
    }

    button.btn-active {
        padding: 8px 12px;
    }

    .overlay-add-task-board-add {
        padding: 24px 12px;
        width: 95%;
        height: 80vh;
    }

}