@font-face {
    font-family: 'CustomFont';
    /* 给字体起一个名字 */
    src: url('./MartinaPlantijn-Regular.woff2') format('woff2');
    /* 引入字体文件 */
    font-weight: normal;
    /* 字体粗细 */
    font-style: normal;
    /* 字体样式 */
}

/* 投资加盟页面特定样式 */
.purchase-hero-text {
    color: #D3F768;
    height: 160px;
    padding: 30px 0;
    border-bottom: 1px solid #4F6526;
}

.purchase-calculator {
    height: 888px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.node {
    top: 57px !important;
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: center;
}

.resultAmount {
    margin: 40px auto;
    text-align: center;
}

.box-item {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 66px;
    line-height: 38px;
    text-align: center;
    position: relative;
    writing-mode: vertical-lr;
    text-orientation: upright;
    overflow: hidden;


}

.box-item span {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%, 0);
    transition: transform 0.1s ease;
    letter-spacing: 10px;
    font-family: "CustomFont", serif;
    font-weight: normal;
    font-size: 68px;

}

.Join {
    width: 100%;
    text-align: center;
    color: #60CF5A;
}

.rate {
    display: flex;
    align-items: center;
}

.percentage {
    font-size: 36px;
    color: #D3F768;
    margin-left: 30px;
    margin-left: 10px !important;
    margin-bottom: 20px;
}

.purchase-hero-content-item-title img {
    width: 62px;
    height: 82px;
    margin-right: 10px;
}

@media (max-width:768px) {
    .purchase-hero-content-item-title img {
        width: 32px;
        height: 42px;
    }

    .purchase-hero-content-item {
        margin-top: 20px;
        border-bottom: 1px solid #4F6526;
    }

    .purchase-hero-content .purchase-hero-content-item:last-child {
        border-bottom: none;
    }

    .cooperation-hero {
        height: 330px;
    }
}

/* 表单样式 */
#join-form {
    border: 1px solid #6EB651;
    background: transparent;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    width: 55%;
    margin: 0 auto 30px;
}

.join-input {
    background: transparent;
    border: 1px solid #6EB651;
    color: #d6ffb7;
    font-size: 16px;
    text-align: center;
    height: 54px;
    border-radius: 0;
    margin-bottom: 10px;
    box-shadow: none;
    width: 100%;
    transition: border 0.2s, color 0.2s;
}

.join-input:focus {
    outline: none;
    border: 2px solid #fff;
    color: #fff;
    box-shadow: none;
    background: transparent;
}

#join-form label {
    color: #6EB651;
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-align: center;
    width: 100%;
    display: block;
}

#join-form .form-label {
    margin-bottom: 4px;
}

#join-form .form-select.join-input {
    height: 54px;
    font-size: 1.2rem;
    color: #6EB651;
    background: transparent;
    border: 2px solid #6EB651;
    min-width: 100px;
    max-width: 180px;
}

.join-btn {
    display: block;
    margin: 30px auto 0 auto;
    font-size: 1.3rem;
    padding: 8px 40px;
    border-radius: 8px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    #join-form {
        padding: 10px;
        width: 96%;
    }

    .join-input {
        font-size: 1.2rem;
        height: 3rem;
        min-width: 0;
        max-width: 100%;
    }

    #join-form .form-select {
        padding: 0;
        font-size: 1.5rem;
        height: 3rem;
    }

    #join-form .form-select.join-input {
        font-size: 1rem;
        height: 3rem;
        min-width: 60px;
        max-width: 5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .join-btn {
        font-size: 1rem;
        padding: 6px 20px;
    }

    .captcha-box {
        flex-direction: column;
    }

    .refresh-captcha {
        width: 100%;
    }

    .captcha-box #captchaImg {
        display: block;
    }
}