@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;
    }

    .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;
    }

}

@media (max-width: 1140px) {
    main {
        margin: 0;
        width: 100%;
        left: unset;
        top: unset;
        overflow: auto;
    }

    main>div {
        margin-top: 96px;
    }

}

@media (max-width: 850px) {
    .greetings {
        display: none;
    }

    .summary_overview {
        margin-right: 0;
    }
}

@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;
    }

    main>div {
        margin-top: 0;
        padding: 0;
    }

    .div_headline {
        width: 100%;
    }

    .btn_dark {
        width: 100%;
    }

    .headline {
        flex-direction: column;
        width: 100%;
        justify-content: unset !important;
        align-items: flex-start;
        padding-top: 38px;
        padding-left: 5%;
        padding-bottom: 0;
        gap: 0px;
    }

    .headline_vector {
        display: none;
    }

    .headline_vector_vertical {
        display: unset;
    }

    .summary_div {
        width: 100%;
        height: 100%;
        padding: 5%;
        flex-direction: column;
    }

    .summary_container {
        padding: 0 5%;
    }

    .summary_overview {
        justify-content: flex-start;
        margin: 16px 0px 16px 0px;
        width: 100%;
        height: 100%;
        gap: 20px;
    }

    .summary_overview a {
        width: 100%;
        display: flex;
    }

    .summary_first_row {
        gap: 24px;
    }

    .summary_box {
        flex-grow: 1;
        justify-self: center;
        width: 93%;
        min-height: 20.4%;
    }

    .box_item {
        width: 40px;
        height: 40px;
    }

    .pencil,
    .check {
        background-size: 40px 40px;
    }

    .urgent {
        width: 100%;
    }

    .urgency_summary_icon {
        width: 40px;
        height: 40px;
    }

    .vector_5_urgency {
        height: 68px;
    }

    .summary_third_row {
        gap: 24px;

    }

    .small_box {
        flex-grow: 1;
        width: 27.1% !important;
        padding: 0px;
    }

    .task_number {
        font-size: 3rem;
    }

    #date {
        font-size: 1rem;
    }

    .task_name,
    .deadline,
    .task_name p {
        font-size: 0.857rem;
    }

    .greetings {
        display: none;
    }
}