@import "../../../css/variables.scss";

.achievement-main {
    width: 100%;
    text-align: center;
    margin: 8rem 0;
}

.basic-achievement {
    margin-left: 5%;
    margin-right: 5%;
}

.achievement-heading-div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-heading-div>* {
    flex: 1;
}

.achievement-heading-img-div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-heading-text-div {
    text-align: center;
}

.achievement-heading-img-div>* {
    max-width: 100%;
    height: auto;
}

.achievement-heading-text {
    font-size: 56px;
    font-weight: 400;
    color: $theme-blue;
    font-family: "Google Sans Medium";
    line-height: 1.1;
    text-align: center;
    margin: 2rem 0;
}

.achievement-heading-sub-text {
    font-size: 30px;
    font-family: "Google Sans Regular";
    color: $theme-secondary;
    text-align: center;
    margin-bottom: 10px;
}

.achievement-header-detail-text {
    font-size: 20px;
    line-height: 30px;
    color: $theme-secondary;
    margin-top: 0px;
    margin-left: 20px;
    margin-right: 20px;
    font-family: "Google Sans Medium";
}

.section-heading-text-div {
    margin: 8rem 0 4rem 0;
    text-align: center;
    font-family: "Google Sans Regular";
}

.section-heading-text {
    font-size: 56px;
    font-weight: 600;
    color: $theme-blue;
}

.section-header-detail-text {
    color: $theme-secondary;
    font-size: 20px;
    line-height: 30px;
    margin: 2rem 0;
    font-family: Google Sans Medium;
}

.achievement-cards-div-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 1380px) {

    .achievement-main {
        margin-top: 4rem;
    }

    .achievement-heading-text {
        font-size: 50px;
        margin-top: 80px;
    }

    .achievement-heading-sub-text {
        font-size: 25px;
    }
}

@media (max-width: 768px) {

    .achievement-heading-text,
    .section-heading-text {
        font-size: 30px;
        margin-top: 20px;
    }

    .achievement-heading-sub-text {
        font-size: 20px;
    }

    .achievement-heading-div {
        flex-direction: column;
    }

    .achievement-header-detail-text {
        font-size: 16px;
        margin-right: 0px;
        margin-left: 0px;
        line-height: normal;
        text-align: center;
    }

    .achievement-cards-div-main {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 30px;
    }
}