/* testimonials section */
.comunity {}

.comunity .row {
    align-items: center;
    justify-content: center;
}

.comunity .leftside,
.comunity .rightside {
    width: 45%;
}

.comunity .section-heading-3 {
    height: 120px;
    font-family: myFirstFont;
    font-size: 60px;
    line-height: 60px;
    color: #0A313C;
    font-weight: 600;
    background: linear-gradient(90deg, #240183, #0074FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* display: inline-block; */

}

.comunity .sub-heading {
    font-family: myFirstFont3;
    font-size: 22px;
    line-height: 28px;
    font-weight: 400;
    color: #272636;
    margin-top: 1.5rem;
}

.comunity .section-header {
    padding: 0 5rem;
    padding-bottom: 0;
    margin: 0 3rem;
    margin-bottom: 1rem;
}

.comunity .section-headin-btn {
    font-family: myFirstFont2;
    font-size: 30px;
    line-height: 50px;
    color: #F1EAE2;
    font-weight: 600;
    width: 174px;
    height: 50px;
    margin-bottom: 0;
    /* background-color: #000000; */
    text-align: center;
    border-radius: 5px;
    border: 0;
    background: linear-gradient(90deg, #02FA72, #0074FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.community-cards-row {
    display: flex;
    flex-direction: row;
    margin: 0 0 0 12rem;
    gap: 21px;
    padding: 2rem 0;
    overflow-x: scroll;
    overflow-y: hidden;
    animation-direction: alternate;
    scrollbar-width: none;
    /* position: relative; */
}

/* Hide the scrollbar in Webkit browsers (Chrome, Safari) */
.community-cards-row::-webkit-scrollbar {
    display: none;
    /* Hide the scrollbar */
}

.community-cards-row .community-card {
    width: 456px;
    height: 359px;
    background-color: #0074FF;
    border: 0;
    border-radius: 30px;
    padding: 2rem;
    flex-shrink: 0;
    cursor: pointer;
}
.community-cards-row .community-card:last-child{
    margin-right: 4rem;
}
.community-cards-row .community-card:nth-child(3n + 2) {
    background-color: white;
    box-shadow: 0 0 15px #00000033;
    border: 0;
}

.community-cards-row .community-card:nth-child(3n) {
    background-color: #240183;
}

.community-cards-row .community-card .quotation {
    width: 40px;
    height: 32px;
    margin-bottom: 0.5rem;
}

.community-cards-row .community-card p {

    font-family: myFirstFont3;
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 0.2rem;
    /* width: 332px; */
    height: 170px;
}

.community-cards-row .community-card .editor img {
    width: 44px;
    height: 44px;
    border-radius: 35px;
    margin-top: auto;
    margin-bottom: auto;
}

.community-cards-row .community-card p,
.community-cards-row .community-card .editor,
.community-cards-row .community-card .star {
    padding-left: 1.5rem;
}

.community-cards-row .community-card .editor .editor-name {
    align-content: center;
    padding-left: 1rem;
}

.community-cards-row .community-card .editor .editor-name span:first-child {
    font-family: myFirstFont3;
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
    font-weight: 700;
}

.community-cards-row .community-card .editor .editor-name span:last-child {
    font-family: myFirstFont3;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 400;
    font-style: italic;
}

.community-cards-row .community-card:nth-child(3n + 2) p {
    color: #240183;
}

.community-cards-row .community-card:nth-child(3n + 2) .editor .editor-name span:first-child,
.community-cards-row .community-card:nth-child(3n + 2) .editor .editor-name span:last-child {
    color: #0C1528;
}

.community-cards-row .community-card .star {
    margin-bottom: 1rem;

}

.community-cards-row .community-card .star i {
    color: #E3E3E3
}

.community-cards-row .community-card .star i.yellow {
    color: #FFE500
}

.comunity hr {
    width: 80%;
    color: #D2D6DB;
    border-width: 1px;
    margin: 32px auto;
    opacity: unset;
}

@media (max-width: 1299px) {
    .comunity .section-heading-3 {
        height: fit-content;
    }

}

@media (max-width: 991px) {
    .community-cards-row {
        margin: 0 0 0 5rem;
    }

    .community {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .comunity .section-header {
    padding: 0;
    }
}

@media (max-width: 768px) {

    .comunity .leftside,
    .comunity .rightside {
        width: 90%;
        text-align: center;
    }
    .comunity .section-heading-3 {
        font-size: 40px;
        line-height: 40px;
    }
    .comunity .sub-heading {
    font-size: 16px;
    line-height: 20px;}
    .community-cards-row .community-card:last-child{
    margin-right: 2rem;
}
}

@media (max-width: 576px) {
    .community-cards-row .community-card {
        width: 294px;
        height: 350px;
    }
.community-cards-row .community-card {
    padding: 1.5rem 1rem;
}
    .community-cards-row .community-card .quotation {
        width: 32px;
        height: 27px;
    }

    .community-cards-row .community-card p {
        font-size: 14px;
        line-height: 20px;
    }

    .community-cards-row .community-card p,
    .community-cards-row .community-card .editor,
    .community-cards-row .community-card .star {
        padding-left: 1rem;
    }

    .community-cards-row .community-card .star i.yellow {
        font-size: 11px;
    }

    .community-cards-row .community-card .editor img {
        width: 50px;
        height: 50px;
        margin: inherit;
    }

    .community-cards-row .community-card .editor .editor-name span:first-child {
        font-size: 14px;
        line-height: 14px;
    }

    .community-cards-row .community-card .editor .editor-name span:last-child {
        font-size: 10px;
        line-height: 14px;
    }
.community-cards-row .community-card .star {
    margin-bottom: 0.8rem;
}
}

@media (max-width: 426px) {
    .community-cards-row {
        margin-left: 1rem;
        padding: 1rem 0;
        gap: 16px;
    }

    .community {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .comunity .section-heading-3 {
        font-size: 30px;
        line-height: 30px;
    }
    .comunity .sub-heading {
        margin-top: 1rem;
    }
        .comunity .leftside, .comunity .rightside {
        width: 100%;
    }
}

@media (max-width: 321px) {
.comunity .section-header{
    margin: 0 1rem;
}
    .community-cards-row .community-card {
        width: 90%;
 justify-content: center;
        padding: 1.5rem 1rem;
    }

    .community-cards-row .community-card p {
        height: 140px;
        font-size: 12px;
        line-height: 16px;
    }

    .community-cards-row .community-card .editor .editor-name span:first-child {
        font-size: 12px;
    }

    .community-cards-row .community-card .editor .editor-name span:last-child {
        font-size: 8px;
    }
        .community-cards-row .community-card:last-child{
    margin-right: 1rem;
}
}