.w-50 {
    width: 50%;
}

.modules {
    gap: 30px;
    padding: .4rem .8rem;
    box-sizing: border-box;
}

.title1 {
    margin: 16px 0;
    font-size: 30px;
}

.text1 {
    font-size: 18px;
    text-indent: 36px;
    line-height: 32px;
    color: #3F3F46;
}

.bg-white {
    background-color: #fff;
}

.certificate-nav {
    flex-wrap: wrap;
    gap: 5px;
}

.certificate-nav-item {
    padding: .15rem .2rem;
    border: 1px solid #5F5F4F;
    border-radius: 10px;
    transition: all .3s;
    cursor: pointer;
}

.certificate-nav-item:hover {
    background-color: var(--yn-primary-color);
    border-color: var(--yn-primary-color);
    color: #fff;
}

.certificate-nav-item.active {
    background-color: var(--yn-primary-color);
    border-color: var(--yn-primary-color);
    color: #fff;
}

.certificate-box {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.certificate-box  .certificate-item {
    width: 250px;
    /* width: 25%; */
    padding: 20px;
    cursor: pointer;
    transition: all .3s;
    background-color: #fff;
    border-radius: 10px;
}

.certificate-box  .certificate-item:hover {
    transform: translateY(-10px);
}

.certificate-item-name {
    margin-top: 10px;
    color: #525252;
}

.none {
    display: none;
}

/* 手机 */
@media screen and (max-width:576px) {
    .w-50 {
        width: 100%;
    }
    .modules {
        flex-direction: column;
    }

    .title1 {
        margin: 8px 0;
        font-size: 24px;
    }

    .text1 {
        text-indent: 28px;
        font-size: 14px;
        line-height: 20px;
    }

    .certificate-box  .certificate-item {
        width: 150px;
        padding: 10px;
    }

    .certificate-item-name {
        font-size: 14px;
    }

    .certificate-nav-item {
        font-size: 14px;
    }
    
}

/* ipad */
@media screen and (min-width:576px) and (max-width:1000px) {
    .text1 {
        text-indent: 28px;
        font-size: 14px;
        line-height: 28px;
    }
}