@media (max-width: 1420px){
    .content-add-task {
        padding: 5% 5%;
    }
}

@media (max-width: 1420px){
    #subtask-input,
    #input-assign,
    #input-title {
        width: 376px !important;
        height: 36px !important;
    }

    input[type="date"] {
        width: 396px !important;
        height: 40px !important;
    }
    
    .input-menu {
        width: 396px !important;
        height: 40px !important;
    }

    .category-select {
        width: 396px !important;
        height: 40px !important;
    }

    #description {
       width: 362px;
       height: 88px;
    }

    .input-menu img,
    #subtask-icons {
        top: 20px
    }

    .bt-priority {
        width: 120px;  
    }

    .subtask-scrollbar{
        width: 396px;
    }

    #category-colorpicker {
        top: 20px !important;
    }
}

@media (max-width: 1150px) {
    .content {
        position: relative;
    }
    
    .scrollbar-form {
        height: 100%;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #A8A8A8 transparent;
    }

    .scrollbar-form h1{
        position: sticky;
        background-color: #f5f6f7;
        top: 0;
        z-index: 2;
        padding-bottom: 20px;
    }

    form{
        padding-right: 10px;
    }

    .form-add-task {
        flex-direction: column;
        gap: 16px;
    }

    .divider{
        display: none;
    }

    .required-info {
        padding-right: 50px;
    }

    .bg-drop-down{
        width: 396px !important;
    }

    .right-form{
        width: fit-content;
    }
}

@media (max-width: 768px) {
    .display-position {
        justify-content: center;
    }

    .required-info {
        display: none;
    }

    .required-info-mobil {
        display: flex;
        padding-top: 20px;
        padding-bottom: 10px;
    }
}

@media (max-width: 425px) {  
    .scrollbar-form{
        scrollbar-width: none;
    }

    .scrollbar-form::-webkit-scrollbar{
        display: none !important;
    }

    .scrollbar-form h1{
        position: sticky;
        background-color: #f5f6f7;
        top: 0;
        z-index: 2;
    }

    form{
        padding-right: 0;
    }

    .form-add-task input {
        height: 40px;
    }

    .left-form,
    .right-form {
        gap: 20px;
        align-items: center;
    }

    .divider{
        display: none;
    }

    .priority {
       width: 310px;
       height: 48px;
       gap: 0;
       justify-content: space-between;
    }

    .bt-priority {
        width: 121px;
        height: 41px;
    }

    .bt-add-task {
        position: absolute;
        bottom: 0;
        right: 16px;
    }

    #subtask-input,
    #input-assign,
    #input-title {
        width: 290px !important;
    }

    input[type="date"],
    .input-menu,
    .category-select,
    .bg-drop-down,
    .subtask-scrollbar {
        width: 310px !important;
    }

    #description {
        width: 276px !important;
    }


    .bt-priority {
        width: 100px;
        font-size: 16px;
    }

    .bt-add-task {
        width: fit-content;
        left: 50%;
        transform: translateX(-50%);
    }

    .subtask-scrollbar {
        width: 318px;  
    }

    .required-info-mobil{
        padding-left: 5px;
    }
}