@media (max-width: 1250px) {
    /* .modal-content-user {
        right: 15px;
    } */

    .persons__list {
        gap: 20px;
    }

    .persons__btn {
        max-width: 100%;
        min-width: 100%;
    }
}


@media (max-width: 1080px) {
    .btn {
        max-width: 240px;
        width: 100%;
        height: 42px;
        font-size: 16px;
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 240px;
        min-width: 240px;
    }

    .btn-yellow {
        width: 210px;

        font-size: 14px;
    }



    .persons__item {
        padding: 20px;
    }

    .persons {
        padding-top: 100px;
    }

    .header__nav {
        padding: 95px 0 0 0;
        position: fixed;
        top: -120%;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: #030026;
        transition: all 0.3s ease 0s;
        overflow: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .header__nav.active {
        top: 0;
    }

    .header__logo-nav {
        margin-bottom: 20px;
        display: flex;
    }

    .header__link-help {
        display: none;
    }

    .contacts__nav {
        display: block;
        border: none;
    }

    .contacts__title {
        text-align: center;
    }

    .header__menu-btn {
        display: block;
        background-color: transparent;
        border: none;
        position: relative;
        width: 28px;
        height: 18px;
        z-index: 3;
    }

    .header__menu-btn span {
        margin: 0;
        position: absolute;
        background-color: #fff;
        left: 0;
        width: 100%;
        top: 8px;
        height: 2px;
        border-radius: 4px;
        transition: all 0.3s ease 0s;
    }

    .header__menu-btn:before,
    .header__menu-btn:after {
        content: '';
        background-color: #fff;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        border-radius: 4px;
        transition: all 0.3s ease 0s;
    }

    .header__menu-btn:before {
        top: 0;
    }

    .header__menu-btn:after {
        bottom: 0;
    }

    .header__menu-btn.active span {
        transform: scale(0);
    }

    .header__menu-btn.active:before {
        transform: rotate(45deg);
        top: 8px;
    }

    .header__menu-btn.active:after {
        transform: rotate(-45deg);
        bottom: 8px;
    }

    .header__menu-btn {
        /* position: relative; */
    }

    .header__search {
        padding: 10px;
        position: absolute;
        right: -120%;
        top: 60px;
        z-index: -2;
        background-color: #030026;
        max-width: 100%;
        transition: all 0.32s linear;
        opacity: .99;
    }

    .header__search.active {
        right: 0;
    }

    .header__search-form {
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header__search-input {
        padding-left: 45px;
        width: 100%;
        max-width: 100%;
    }

    .header__search-open svg path {
        fill: #fff;
    }

    .header__search-open .search__open,
    .header__search-open .search__close {
        width: 100%;
        transition: all 0.32s linear;
        width: 30px;
        height: 30px;
    }

    .header__search-btn {
        left: 20px;
    }

    .header__search-open {
        display: block;
    }

    .header__search-open .search__close {
        display: none;
    }

    .header__search-open.active .search__open {
        display: none;
    }

    .header__search-open.active .search__close {
        display: block;
    }

    input {
        padding: 14px 30px;
    }

    .header__top {
        margin-bottom: 0;
    }

}

@media (max-width: 900px) {
    .persons__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-modal {
        width: 60vw !important;
    }

    .form__inner {
        flex-direction: column;
    }

    .form__contacts-wrap {
        margin-bottom: 20px;
    }

    .form__btn {
        position: unset;
    }

    .form__inner {
        gap: 40px;
    }

    /* .title__m {
        margin-bottom: 15px;
    } */

    .form__person-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .persons__job,
    .persons__company {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .persons__name {
        font-size: 21px;
    }

    .persons__img label {
        margin-bottom: 10px;
        width: 100px;
        height: 100px;
    }

    .persons__about {
        margin-bottom: 10px;
    }

    .persons__actions {
        /* margin-bottom: 10px; */
    }


    .contact-modal {
        width: 80vw !important;
    }

    .timer-container {
        font-size: 12px;
        text-align: center;
    }

    .form__contacts-title {
        font-size: 24px;
    }

    .form__contacts-subtitle {
        font-size: 14px;
        padding-top: 0;
        margin-bottom: 0;
    }

    .form__contacts-top {
        flex-direction: column;
        align-items: start;

    }

}

@media (max-width: 600px) {
    .login__title {}

    .custom_login {
        padding: 0 15px;
        display: flex;
        justify-content: start;
        align-items: start;
        width: 100% !important;

    }

    .btn-group {
        flex-direction: column;
        /* gap: 0; */
    }

    .btn-wrap {
        flex-direction: column;
    }

    .login__btn {
        margin: 0 auto;
    }

    .contact-modal {
        width: 100vw !important;
    }

    .title__m {
        font-size: 20px;
    }

    .header__search-form {
        max-width: 100%;
    }

    .form__photo-link {
        font-size: 12px;
        padding-left: 165px;
    }

    .form__person-wrap,
    .form__inputs-wrap,
    .form__contacts-wrap {
        padding: 20px;
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }

    .form__fields-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .form__input {
        max-width: 100%;
    }

    .form__photo-link {
        font-size: 12px;
    }

    .login__form {
        padding: 20px;
    }

    .header__profile-wrap {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .persons__list {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .persons__job,
    .persons__company {
        grid-template-columns: 100px 1fr;
    }

    .form__contacts-title {
        font-size: 20px;
    }

    .header__logo-company {
        width: 130px;
    }

    .header__logo div {
        font-size: 15px;
    }



    .avatar_header_img {
        width: 30px;
        height: 30px;
    }

    .header__logo-bottom {
        display: none;
    }

    .login__btn {
        max-width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 475px) {
    .custom-checkbox>label {
        font-size: 11px;
    }

    /* .header__logo-wrap {
        flex-direction: column;
    } */
    .header__logo-company {
        width: 100px;
    }

    .header__logo div {
        font-size: 14px;
    }

    .persons__about {
        align-self: flex-start;
    }

    .persons__job,
    .persons__company {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 345px) {

    .header__logo-company {
        width: 80px;
    }

    .header__logo div {
        font-size: 12px;
    }

}