@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../fonts/AvenirNextCyr-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../fonts/AvenirNextCyr-Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

* {
    font-family: "Avenir Next Cyr", sans-serif;
    box-sizing: border-box;
}

.d-none-sm {
    display: none;
}

.d-none-lg {
    display: block;
}

@media screen and (min-width: 768px) {
    .d-none-lg {
        display: none !important;
    }

    .d-none-sm {
        display: block;
    }
}

.body-overflow {
    overflow: hidden;
}

.container {
    display: flex;
    width: 100%;
    height: auto;
    margin: 0;
}

@media screen and (min-width: 768px) {
    .container {
        height: 100vh;
    }
}

.card {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #1F1F1F;
}

@media screen and (min-width: 768px) {
    .card {
        height: auto;
        align-self: center;
        border-radius: 10px;
        max-width: 470px;
        margin: 0 auto;
        border: 1px solid #F2F2F2;
        overflow: hidden;
        background-color: #ffffff;
    }
}

.card__header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 42px 24px 34px;
    background-color: #FF430F;
}

.card__header-company {
    width: 130px;
    height: 42px;
}

@media screen and (min-width: 768px) {
    .card__header-company {
        width: 180px;
        height: 55px;
    }
}

.card__body {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 12px 12px;
    border-radius: 16px 16px 0 0;
    background-color: #ffffff;
}

@media screen and (min-width: 768px) {
    .card__body {
        border-radius: unset;
        padding: 0 24px 56px;
    }
}

.card__avatar {
    margin-top: -49px;
    margin-bottom: 16px;
    border-radius: 50%;
}

.card__body-container {
    width: 100%;
    margin-bottom: 24px;
}

.card__body-container--bottom {
    display: flex;
    justify-content: space-between;
}

.card__name {
    font-weight: 600;
    font-size: 24px;
    line-height: 33px;
    letter-spacing: 0.01em;
    color: #000000;
    margin: 0 0 4px;
}

@media screen and (min-width: 768px) {
    .card__name {
        font-size: 20px;
        line-height: 27px;
    }
}

.card__text {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.01em;
    color: #070707;
    margin: 0;
}

@media screen and (min-width: 768px) {
    .card__text {
        font-size: 14px;
        line-height: 19px;
    }
}

.card__text--grey {
    color: #828282;
}

.card__text--big {
    font-size: 18px;
    line-height: 25px;
}

@media screen and (min-width: 768px) {
    .card__text--big {
        font-size: 16px;
        line-height: 22px;
    }
}

.card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card__list-item {
    margin-bottom: 14px;
}

.card__list-item:last-child {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .card__list-item {
        margin-bottom: 8px;
    }

    .card__list-item:last-child {
        margin-bottom: 0;
    }
}

.card__list-link {
    text-decoration: none;
}

.qr-code {
    display: block;
    width: fit-content;
    margin: 0 auto 8px;
}

.qr-code--m-32 {
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    border: none;
    outline: none;
    text-decoration: none;
}

.button-share {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background-color: unset;
    padding: 0;
}

.button-add-contacts {
    position: fixed;
    width: calc(100% - 24px);
    left: 12px;
    bottom: 12px;
    background: linear-gradient(270.03deg, #005DAA 0.04%, #0463CC 96.94%);
    color: #ffffff;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0.01em;
    padding: 12px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal--open {
    display: block;
}

.modal__wrap {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}

.modal__header {
    width: 100%;
    padding: 20px 24px;
    box-shadow: 0 6px 19px rgba(0, 0, 0, 0.06);
}

.modal__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal__nav-btn {
    width: 18px;
    height: 18px;
    background-color: unset;
    padding: 0;
}

.modal__nav-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    color: #323C47;
    margin: 0;
}

.modal__body {
    display: flex;
    justify-content: center;
    height: 100%;
    padding-top: 112px;
}













