@media (max-width: 768px) {

    p,
    a,
    span,
    li,
    .towhom_section__item h1,
    .notfound_section__card p {
        font-size: 14px !important;
    }

    .hero_section {
        margin-bottom: 10px;
    }

    .hero_section__right {
        justify-content: end;
    }

    .hero_section__right__top_text {
        display: none;
    }

    .hero_section__center__item,
    .hero_section__center {
        font-size: 66px;
    }

    .begin_section__head,
    .towhom_section__head,
    .why_section h1 {
        font-size: 40px;
    }

    .why_section {
        flex-direction: column-reverse;
        width: 100% !important;
    }

    .why_section__items {
        flex-direction: column;
        margin-top: 0 !important;
    }

    .why_section__item {
        flex-basis: 40%;
    }

    .why_section__header {
        text-align: center !important;
    }

    .towhom_section {
        flex-direction: column-reverse;
        margin-top: 20px;
    }

    .towhom_section__head {
        margin-bottom: 30px;
    }

    .towhom_section__list {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .towhom_section__item {
        width: 100%;
    }

    .begin_section {
        margin-top: auto;
        padding-top: 0;
        margin-bottom: 10px;
    }

    .begin_section__items {
        padding-inline: inherit;
        margin-top: 30px !important;
    }

    .hero_section__center {
        align-items: center;
    }

    .notfound_section__card {
        width: auto;
    }
}

@media (max-width: 393px) {

    .why_section {
        flex-direction: column-reverse;
    }

    .begin_section__head,
    .towhom_section__head,
    .why_section h1 {
        font-size: 40px;
        text-align: center;
    }

    .why_section__items {
        flex-direction: column;
        margin-top: 10px;
    }

    .towhom_section__list {
        padding: 0;
        margin-bottom: 50px;
    }

    .end_section_left_text {
        display: none;
    }

    .hero_section__left {
        flex-basis: 10%;
    }
}