.discover {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--section-padding);
    gap: 16px;
}

.price,
.subscription,
.advantage {
    display: flex;
    flex-direction: column;
    padding: 16px;
    width: 350px;
    height: 200px;
    border-radius: 40px;
    box-sizing: border-box;
    position: relative;
}
.price::after,
.subscription::after,
.advantage::after {
    content: "";
    position: absolute;
    bottom: -16px;
    border-style: solid;
    border-color: var(--lilac-100) transparent;
    transform: rotate(36deg);
}

.price::after,
.subscription::after {
    right: 0;
    border-width: 18px 52px 0 0;
    border-color: var(--lilac-100) transparent;
    transform: rotate(36deg);
}

.price h3 {
    font-weight: 800;
    font-size: 22px;
    color: white;
}

.subscription::after {
    border-color: var(--gray-50) transparent;
}

.advantage::after {
    left: 0;
    border-width: 6px 52px 15px 0;
    border-color: transparent var(--cherry-100);
    transform: rotate(-36deg);
    z-index: -1;
}
.price {
    background-color: var(--lilac-100);
}

.price-container {
    display: flex;
    align-items: baseline;
}

.price-container span {
    font-weight: 600;
}

.price-container span:first-child {
    font-size: 54px;
}

.price-container span:last-child {
    font-size: 24px;
}

.subscription {
    background-color: var(--gray-50);
}

.subscription h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--cherry-100);
}

.advantage {
    display: inline;
    background-color: var(--cherry-100);
}

.advantage span {
    font-weight: 600;
    font-size: 30px;
    line-height: 1.3;
    color: white;
}

.advantage span:nth-child(2),
.advantage span:nth-child(4) {
    color: var(--tangerine-100);
}

.advantage span:nth-child(6) {
    color: var(--lilac-100);
    text-decoration: underline;
}

@media only screen and (min-width: 850px) and (min-height: 500px) {
    .discover {
        flex-direction: row;
        justify-content: center;
    }
}
