.about-heading {
    color: var(--color-primary-dark);
    text-align: center;
}

.about-flex {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
    gap: 16px;
}

.about-card {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    background-color: white;
    box-shadow: var(--shadow-box);
    border-radius: 16px;
    position: relative;
    padding: 16px;
    overflow: hidden;
}



.about-card:nth-child(1) {
    background-image: linear-gradient(to bottom left,
            rgb(189, 213, 234, 0) 25%,
            rgb(189, 213, 234, 0.25) 75%,
            rgb(189, 213, 234, 0.5) 100%);
}

.about-card:nth-child(2) {
    text-align: center;
    background-image: linear-gradient(rgb(189, 213, 234, 0) 25%,
            rgb(189, 213, 234, 0.25) 75%,
            rgb(189, 213, 234, 0.5) 100%);
}

.about-card:nth-child(3) {
    text-align: right;
    background-image: linear-gradient(to bottom right,
            rgb(189, 213, 234, 0) 25%,
            rgb(189, 213, 234, 0.25) 75%,
            rgb(189, 213, 234, 0.5) 100%);
}

.about-card>img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.about-card:nth-child(1)>img {
    bottom: -140px;
}

.about-card-heading,
.about-card-desc {
    position: relative;
}

.about-card-heading {
    color: var(--color-secondary-dark);
    font-size: 1.4rem;
}

.about-card-desc {
    width: 50%;
}

.about-card:nth-child(2) .about-card-desc {
    width: 100%;
}

.about-card:nth-child(3) .about-card-desc {
    margin-left: auto;
}

@media screen and (width > 900px) {

    .about-flex {
        justify-content: start;
    }

    .about-card {
        width: calc(50% - 8px);
        max-width: unset;
    }

}

@media screen and (width > 1400px) {

    .about-card {
        width: calc(33.33% - 12px);
    }

}