#table {
    position: relative;
    background: url(../assets/second.jpg) center / cover no-repeat;
}

.table_back {
    width: 100%;
    height: 100%;
    background: #0d111ad4;
    position: relative;
    z-index: 2;
    padding: 180px 0;
}

.table_shadows {
    width: 100%;
    height: 224px;
    position: absolute;
    z-index: 0;
}

.table_shadow_top {
    background: linear-gradient(0deg, #0d111a00 0%, #0D111A 100%);
    top: 0;
}

.table_shadow_bottom {
    background: linear-gradient(180deg, #0d111a00 0%, #0D111A 100%);
    bottom: -1px;
}

.table_title {
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-100px);
    transition: opacity 1s ease, transform 1s ease;
}

.table_head {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: center;
    padding: 31px 0 56px;
}

.table_cards {
    max-width: 1230px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.flip_card {
    width: 362px;
    height: 240px;
    gap: 8px;
    perspective: 1000px;
    position: relative;
    cursor: pointer;
    filter: drop-shadow(0px 2px 6px #00000026);
    transition: all 0.3s ease-out;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(-100px);
    /* transition: opacity 1s ease, transform 1s ease; */
}

.drakon {
    position: absolute;
    z-index: 2;
    top: 21px;
    right: 54px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.flip_card_face {
    border-radius: 12px;
    border: 2px solid #3E5568;
    background: linear-gradient(180deg, #353951 0%, #13151E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip_card_face:hover {
    border-radius: 12.6px;
    transform: scale(1.05);
}

.flip_card_face:hover .flip_card_shadow {
    opacity: 0;
}

.flip_card_face:hover .drakon {
    top: 31px;
    right: 64px;
}

.flip_card_shadow {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #25283A 0%, #13151E 100%);
    opacity: 1;
    transition: all 0.6s ease;
    position: absolute;
    z-index: 1;
}

.flip_card_back {
    border-radius: 12px;
    border: 2px solid rgba(1, 224, 156, 0.32);
    background: linear-gradient(180deg, #191E1D 0%, #0C2B22 100%);
    box-shadow: 0px 0px 40px 0px rgba(0, 255, 170, 0.20);
}

.flip_card_face,
.flip_card_back {
    width: 362px;
    height: 240px;
    overflow: hidden;
    position: absolute;
    backface-visibility: hidden;
    transition: all 0.6s ease;
}

.drakon_back {
    position: absolute;
    pointer-events: none;
}

.drakon_top {
    top: -230px;
    right: -200px;
    transform: rotate(-25deg);
}

.drakon_bottom {
    transform: rotate(145deg);
    left: -180px;
    bottom: -245px;
}

.flip_card_title {
    text-align: center;
    color: #01E09C;
    text-align: center;
    font-family: "Albertusnova";
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    position: relative;
    z-index: 2;
}

.flip_card_text p {
    color: #FFF;
    text-align: center;
    font-family: 'OpenSans-Regular';
    font-size: 18px;
    font-style: normal;
    line-height: 120%;
}

.flip_card_text {
    padding: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 27px;
    height: 100%;
    width: 100%;
}

.flip_card_back span {
    color: #28BF88;
}

.flip_card_back {
    transform: rotateY(180deg);
}

.flip_card.flipped .flip_card_face {
    transform: rotateY(180deg);
}

.flip_card.flipped .flip_card_back {
    transform: rotateY(0deg);
}

.count_box {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 61px 0 45px;
    width: 100%;
    opacity: 0;
    transform: translateY(-100px);
    transition: opacity 1s ease, transform 1s ease;
}

.count_line {
    height: 8px;
    border-radius: 12px;
    background: #202939;
    width: 100%;
    position: relative;
}

.count_inline {
    width: 0%;
    border-radius: 12px;
    background: linear-gradient(90deg, #007B55 0%, #01E09C 100%);
    height: 8px;
    transition: all 0.2s ease;
}

.count_text {
    color: var(--grey-80);
}

.count_title {
    color: #FFF;
    text-shadow: 0px 4px 8px #00000026, 0px 1px 3px #0000004d;
    font-family: 'OpenSans-SemiBold';
    font-size: 24px;
    font-style: normal;
    line-height: 28px;
    text-align: center;
    width: 100%;
}

.table_revers {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1285px) {

    .table_back {
        padding: 135px 0;
    }

    .flip_card_title {
        font-size: 24px;
        font-style: normal;
        line-height: 110%;
    }

    .flip_card_text p {
        font-size: 14px;
        font-style: normal;
        line-height: 120%;
    }

    .flip_card_face,
    .flip_card_back,
    .flip_card {
        width: 276px;
        height: 182px;
    }

    .table_cards {
        gap: 32px;
        max-width: 900px;
    }

    .count_title {
        font-size: 18px;
        font-style: normal;
        line-height: 28px;
    }
}

@media (max-width: 935px) {
    .table_cards {
        gap: 24px;
        max-width: 900px;
        padding: 0 16px;
    }

    .count_box {
        padding: 61px 16px 45px;
    }
}

@media (max-width: 565px) {

    .table_title {
        white-space: nowrap;
        opacity: 1;
        transform: translateY(0px);
        transition: opacity 1s ease, transform 1s ease;
    }

    .table_revers {
        flex-direction: column-reverse;
    }

    .table_back {
        padding: 70px 0 112px;
    }

    .count_box {
        padding: 0px 16px 67px;
        max-width: 344px;
    }
}