@media (max-width: 1400px) {
    header {
        padding: 20px 40px;
    }

    main {
        width: 100%;
        position: unset !important;
        padding: unset;
        padding-top: 5%;
        margin-top: 96px;
        overflow: auto;
    }

    main>div {
        padding: 0 10%;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    nav {
        flex-direction: row !important;
        left: 0;
        top: calc(100% - 8.6%);
        width: 100%;
        height: 8.6% !important;
        padding: 0;
        z-index: 1;
    }

    .logo_navbar {
        display: none;
    }

    .logo_header_mobile {
        display: unset !important;
    }

    .header_mobile_container {
        display: flex !important;
    }

    .nav_items {
        justify-content: space-around !important;
        flex-direction: row;
        width: 100%;
        height: 100%;
        gap: 0px;
    }

    .nav_items a {
        width: unset !important;
    }

    .nav_item_active {
        flex-direction: column;
        justify-content: center !important;
        align-items: center;
        min-width: 80px;
        width: unset;
        height: 100%;
        border-radius: 16px;
        font-size: 0.875rem;
        padding: 0;
        gap: 4px;
    }

    .nav_item_active img,
    .nav_item img {
        width: 100%;
        height: 32%;
    }

    .nav_item {
        flex-direction: column;
        justify-content: center !important;
        width: 80px;
        height: 76px;
        padding: 0;
        font-size: 0.875rem;
    }

    .nav_privacy_legal {
        display: none !important;
    }

    .head {
        width: 100%;
    }

    .add_task_content {
        width: 100%;
        gap: 5%;
    }

    .add_task_footer {
        margin: 0 !important;
        width: 100%;
    }
}

@media (max-width: 1140px) {
    main {
        margin: 0;
        width: 100%;
        padding: unset;
        left: unset;
        top: unset;
        overflow: auto;
    }

    main > div {
        margin-top: 16%;
        padding: 0 4%;
    }

    .head {
        padding-left: 16px;
        width: 100%;
        height: 15%;
        display: flex;
        justify-content: flex-start;
        align-items: end;
    }

    .add_task_content {
        width: 100%;
        height: 100%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-top: 10%;
    }

    .vector_4 {
        display: none;
    }

    .task_entries {
        width: 95%;
        gap: 16px;
    }

    .input_assigned_to {
        width: 100% !important;
    }

    .select_category_dropdown {
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .category {
        width: 100%;
    }

    .add_task_footer {
        background: rgba(246, 247, 248, 1);
        position: fixed;
        width: 100%;
        height: 8.6%;
        top: calc(100% - 17.2%);
        z-index: 1000;
        align-items: center;
        justify-content: space-evenly;
    }

    .input_icon_wrapper {
        width: 100%;
    }

    .added_subtask_list {
        width: 100%;
    }

    .required_input {
        display: none;
    }

    .required_input_mobile {
        display: flex;
        justify-content: flex-start;
        width: 95%;
        padding-top: 16px;
        padding-bottom: 100px;
    }

    .priority_button {
        font-size: 0.875rem;
        width: 30%;
    }

    .add_task_button_container {
        justify-content: space-evenly;
        width: 95%;
    }
}

@media (max-width: 640px) and (orientation: portrait) {
    body {
        height: 100vh;
        width: 100vw;
        overflow: hidden;
    }

    header {
        height: 8.6%;
        width: 100%;
        position: unset;
        padding: unset;
    }

    .header_container {
        width: 100%;
        padding: 10px;
    }

    .header_content {
        display: none;
    }

    .help_content a {
        display: none;
    }

    .user_circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    nav {
        flex-direction: row !important;
        left: 0;
        top: calc(100% - 8.6%);
        width: 100%;
        height: 8.6% !important;
        padding: 0;
    }

    .logo_navbar {
        display: none;
    }

    .logo_header_mobile {
        display: unset !important;
    }

    .header_mobile_container {
        display: flex !important;
    }

    .nav_items {
        justify-content: space-around !important;
        flex-direction: row;
        width: 100%;
        height: 100%;
        gap: 0px;
    }

    .nav_items a {
        width: unset !important;
    }

    .nav_item_active {
        flex-direction: column;
        justify-content: center !important;
        align-items: center;
        min-width: 80px;
        width: unset;
        height: 100%;
        border-radius: 16px;
        font-size: 0.875rem;
        padding: 0;
        gap: 4px;
    }

    .nav_item_active img,
    .nav_item img {
        width: 100%;
        height: 32%;
    }

    .nav_item {
        flex-direction: column;
        justify-content: center !important;
        width: 80px;
        height: 76px;
        padding: 0;
        font-size: 0.875rem;
    }

    .nav_privacy_legal {
        display: none !important;
    }

    .small_logout_win {
        height: 200px;
        top: 7%;
        right: 2%;
    }

    .small_logout_win_help {
        display: flex !important;
    }


    main {
        margin: 0;
        width: 100%;
        height: 82.8%;
        padding: unset;
        left: unset;
        top: unset;
        overflow: auto;
    }

    .head {
        padding-left: 16px;
        width: 100%;
        height: 15%;
        display: flex;
        justify-content: flex-start;
        align-items: end;
    }

    .add_task_content {
        width: 100%;
        height: 100%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-top: 10%;
    }

    .vector_4 {
        display: none;
    }

    .task_entries {
        width: 95%;
        gap: 16px;
    }

    .input_assigned_to {
        width: 100% !important;
    }

    .select_category_dropdown {
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .add_task_footer {
        background: rgba(246, 247, 248, 1);
        position: fixed;
        width: 100%;
        height: 8.6%;
        z-index: 1000;
        align-items: center;
        justify-content: space-evenly;
    }

    .input_icon_wrapper {
        width: 100%;
    }

    .added_subtask_list {
        width: 100%;
    }

    .required_input {
        display: none;
    }

    .required_input_mobile {
        display: flex;
        justify-content: flex-start;
        width: 95%;
        padding-top: 16px;
        padding-bottom: 100px;
    }

    .priority_button {
        font-size: 0.875rem;
        width: 30%;
        gap: 2%;
    }

    .add_task_button_container {
        width: 95%;
    }

    .add_task_button {
        align-items: center;
       padding: 12px 16px 12px 16px;
    }

    button {
        font-size: 1rem;
    }
}