
.tarifSection {
    background: #6AA9EE;
    padding: 6vh 0;
}

.tarifSection__header_text_block {
    width: 80%;

}


.tarifSection__card_description {
    margin-top: 15px;
}
.tarifSection__card_description p {

    /* Desctop/Text 1 */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;

    /* Txt/White */
    color: #FFFFFF;

}

.tarifSection__card_btn_wrapper {
    position: relative;
    bottom: -30px;
    display: flex;
    white-space: nowrap;
}

.pipi {
    background-color: #152572 !important;
}

.tarifSection__header_content {
    margin-bottom: 5%;
}

.tarifSection__header_content h2 {


    /* Desctop/H2 */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    font-size: 60px;
    line-height: 100%;
    /* identical to box height, or 60px */
    width: 150%;
    /* Bg/White */
    color: #FFFFFF;
}

.tarifSection__header_text_item {

    border-color: rgba(21, 37, 114, 0.12) !important;

    display: flex;
    flex-direction: column;
    align-content: center;
    justify-items: center;
    justify-content: center;
}

.first2 {
    border-top: rgba(255, 255, 255, 0.02) 0.05em solid;
    border-left: rgba(255, 255, 255, 0.22) 0.05em solid;
}

.second2 {
    border-top: rgba(255, 255, 255, 0.22) 0.05em solid;
    border-bottom: rgba(255, 255, 255, 0.22) 0.05em solid;
    border-left: rgba(255, 255, 255, 0.22) 0.05em solid;
}

.third2 {
    border-left: rgba(255, 255, 255, 0.22) 0.05em solid;

}

.tarif_first {
    border-top: rgba(255, 255, 255, 0.02) 0.05em solid;
    border-left: rgba(255, 255, 255, 0.22) 0.05em solid;

}

.me-s-5 {
    margin-right: 5%;
}

.tarif_second {
    border-top: rgba(255, 255, 255, 0.22) 0.05em solid;
    border-bottom: rgba(255, 255, 255, 0.22) 0.05em solid;
    border-left: rgba(255, 255, 255, 0.22) 0.05em solid;

}

.tarif_third {
    border-left: rgba(255, 255, 255, 0.22) 0.05em solid;

}

.tarifSection__header_text_item p {
    margin-bottom: 15px;
    margin-top: 15px;
    margin-left: 15px;
    width: 100%;
}

.tarif_third {
    border-bottom: 0;
}

.tarifSection__header_text_block {

}

.tarifSection__card_content {
    width: 100%; /* По умолчанию для маленьких экранов */
    height: 502px;
    border-radius: 10px;
    padding: 15px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    margin-top: 5px;

}


/* Экран от 1440px и выше (XL - широкоформатные экраны) */
@media (min-width: 1440px) {
    .tarifSection__card_content {
        width: 90%;
        gap: 0 !important
    }
    .tarifSection__cards_row {
        gap: 0 !important
    }
}

.tarifSection {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
}
@media (max-width: 412px) {
    .tarifSection__card_content {
        height: 542px !important;

    }


}


@media (min-width: 768px) and (max-width: 991.98px) { /* md диапазон */
    .tarifSection__card_content {
        height: fit-content;
        flex-direction: row !important; /* горизонтальное расположение */
        align-items: center; /* выравнивание по центру */
        gap: 16px; /* расстояние между элементами */
        position: relative;
    }

    .tarifSection__card_price_wrapper,
    .tarifSection__card_description {
        flex-direction: column !important; /* если нужно отдельное вертикальное */
        align-items: flex-start;
    }

    .tarifSection__card_content > * {
        flex-shrink: 0; /* предотвратить сжатие элементов */
    }
}
.tarifSection__card_content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Чтобы внутренние элементы не выходили за границы */
}

.tarifSection__card_content:hover {
    transform: scale(1.05); /* Увеличение карточки */
}
.tarifSection__card_content:active {
    transform: scale(0.98); /* Лёгкое уменьшение при клике */
}

.turov img {
    animation: pulse 2s infinite; /* Запуск анимации */
    transition: transform 0.2s ease-in-out; /* Плавность масштабирования */
}

@keyframes pulse {
    0% {
        transform: scale(1); /* Исходный размер */
    }
    50% {
        transform: scale(1.1); /* Увеличение размера */

    }
    100% {
        transform: scale(1); /* Возврат к исходному размеру */
    }
}


.tarifSection__card_upper_title {

    margin-left: 20px;
    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    gap: 10px;
    white-space: nowrap;
    max-width: 220px;
    height: 36px;


    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    /* Подходит начинающим */


    /* Desctop/Text 1 */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;

    /* Txt/White */
    color: #FFFFFF;

    opacity: 0.8;


}

.tarifSection__card_description {
    margin-left: 20px;
}

a {
    text-decoration: none; /* Убирает подчеркивание */
    color: inherit; /* Наследует цвет текста от родительского элемента */
}

.tarifSection__card_title {
    margin-top: -15px;
    margin-left: 20px;
    /* «Basis» */


    /* Desctop/H4 */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 100%;
    /* identical to box height, or 40px */

    /* Txt/White */
    color: #FFFFFF;


}

.tarifSection__header_content h2 {
    font-size: 40px; /* xs */
    max-width: 100%;
}

/* sm */
@media (min-width: 576px) {
    .tarifSection__header_content h2 {
        font-size: 45px;
    }
}

/* md */
@media (min-width: 768px) {
    .tarifSection__header_content h2 {
        font-size: 50px;
    }
}

.tarifSection__header_text_block {
    width: 50% !important; /* По умолчанию для экранов больше, чем md */
}

@media (max-width: 768px) { /* Для экранов шириной 768px и меньше (md и ниже) */
    .tarifSection__header_text_block {
        width: 90% !important;
        margin-top: 5% !important;
    }
}


.perem p {
    color: #152572 !important;

}

.perem {
    border-color: rgba(21, 37, 114, 0.1) !important;
}

.perem2 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.inviteSection {
    padding-bottom: 30px;
}

.sdpt {
    display: block;
    white-space: nowrap;
    text-align: center;
    padding: 15px !important;
    position: relative;
    bottom: 0;
    width: 100%;
}

.sdptdiv {
    width: 100%;
    position: relative;
    bottom: 0;
    height: 10px;
}

.pupu3 {
    color: #152572 !important;
    font-family: 'Onest';
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 30px !important; /* xs */
    line-height: 115% !important;
}

/* sm */
@media (min-width: 576px) {
    .pupu3 {
        font-size: 35px !important;
    }
}

/* md */
@media (min-width: 768px) {
    .pupu3 {
        font-size: 40px !important;
    }
}

/* lg */
@media (min-width: 992px) {
    .pupu3 {
        font-size: 45px !important;
    }
}

/* xl */
@media (min-width: 1200px) {
    .pupu3 {
        font-size: 50px !important;
    }
}


.tarifSection__card_price {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    font-size: 100px;
    line-height: 103%;
    /* identical to box height, or 103px */
    letter-spacing: -0.04em;

    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 82.52%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;


}

.tarifSection {
    background-image: url("assets/imgs/bg2.png");
    background-position: center;
    background-size: cover;
}

.tarifSection__card_price_wrapper {
    margin-left: 20px;
    margin-top: 50px;
    margin-bottom: 20px;
}



.tarifSection__card_price_wrapper span {
    position: relative;
    bottom: -55px;
    margin-left: 5px;
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    /* identical to box height, or 22px */
    text-align: center;
    color: #7AB4F2;

}

.lineline {
    margin-left: 0%;
    height: 1px;
    border: #7AB4F2 solid 1px;
    width: 95%;
    background-color: #2D84E3;
}

.tarifSection__cards_row {
    padding: 5%;
    padding-right: 10%;
    padding-left: 10%;
    margin-top: -10%;
    margin-bottom: -5%;
    display: flex;
    justify-content: center;
    width: 100%;
}
.tarifSection__card_description {
    flex-direction: column;
    justify-content: center;
    margin-left: 0%;
}

.perem {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
}

.perem p {
    width: fit-content;
}

.paraf {

    font-family: 'Onest';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 31px;
    /* identical to box height */

    /* Txt/Dark blu */
    color: #152572;

}

@media (min-width: 768px) and (max-width: 991.98px) { /* md диапазон */

    .busni {
        font-size: 39px !important;
    }

    .lineline {
        transform: rotate(180deg);
        width: 1px;
        height: 70%;
        position: absolute;
        left: 45%;
        top: 50px;
        margin-left: 0;
    }
    .tarifSection__card_description {
        flex-direction: column;
        justify-content: center;
        margin-left: 5%;
        margin-top: -5%;
    }

    .tarifSection__card_description p {
        font-size: 18px;

    }

    .gigi {
        font-family: 'Onest';
        font-style: normal;
        font-weight: 700;
        font-size: 17px;
        line-height: 20px;

        /* Txt/White */
        color: #FFFFFF;
    }

    .sdptdiv {
        margin-top: 15%;
    }
    .pipipi {

        position: absolute; /* для управления позиционированием */
        left: 50%; /* сместить линию, чтобы она была на месте */
        top: -165px; /* начальная позиция сверху */
        margin-left: 0; /* убрать лишний отступ */

    }
}