@charset "UTF-8";

#area2-1 {
    position: relative;
    width: 100%;
    background-color: #FF439E;
}

#area2-1 .background-container {
    position: relative;
    width: 100%;
}

#area2-1 .bg {
    width: 100%;
}

#area2-1 .bg img, #area2-1 .mobileBg img {
    width: 100%;
    height: auto;
    display: block;
}

#area2-1 .mobileBg {
    width: 100%;
    display: none;
}

#area2-1 .content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    padding-top: 60px;
}

#area2-1 .content-container {
    display: flex;
}

#area2-1 .divider {
    width: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 140px;
    align-self: stretch;
}

#area2-1 .eligibility-section,
#area2-1 .award-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#area2-1 .section-title {
    color: #fff;
    margin-top: 0px;
    margin-bottom: 60px;
    font-size: 32px;
    text-align: center;
}

#area2-1 .items-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 380px;
}

#area2-1 .item {
    display: flex;
    align-items: center;
    gap: 20px;
}

#area2-1 .item-icon {
    width: 120px;
    flex-shrink: 0;
}

#area2-1 .item-icon img {
    width: 100%;
    height: auto;
}

#area2-1 .item-texts {
    display: flex;
    flex-direction: column;
}

#area2-1 .item-text {
    color: #fff;
    font-size: 20px;
    line-height: 28px;
    text-align: left;
}

#area2-1 .notice-link-container {
    margin: 20px 0;
    text-align: center;
    width: 100%;
}

#area2-1 .notice-link {
    color: #F4E32C;
    font-size: 24px;
    font-weight: 600;
    text-decoration: underline;
    padding: 8px 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

#area2-1 .notice-link:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

.apply-button img {
    width: 100%;
    height: auto;
}


/* 響應式設計 */
/* 針對 1300px 到 1690px 的螢幕寬度 */
@media screen and (min-width: 1300px) and (max-width: 1690px) {
    #area2-1 .content-overlay {
        padding-top: 40px;
    }

    #area2-1 .section-title {
        margin-bottom: 40px;
    }

    #area2-1 .item-icon {
        width: 90px;
        flex-shrink: 0;
    }
    
    #area2-1 .divider {
        margin: 0 80px;
    }
    
    .apply-button img {
        width: 60%;
    }
    
    #area2-1 .items-container {
        width: 320px;
    }
}

/* 針對 850px 到 1299px 的螢幕寬度 */
@media screen and (min-width: 850px) and (max-width: 1299px) {
    #area2-1 .content-overlay {
        padding-top: 20px;
    }

    #area2-1 .section-title {
        margin-bottom: 20px;
    }

    #area2-1 .item-icon {
        width: 60px;
    }
    
    #area2-1 .divider {
        margin: 0 50px;
    }
    
    .apply-button img {
        width: 40%;
    }
    
    #area2-1 .items-container {
        width: 280px;
        gap: 15px;
    }

    #area2-1 .section-title {
        font-size: 20px;
    }
    
    #area2-1 .item-text {
        font-size: 16px;
        line-height: 20px;
    }

    #area2-1 .notice-link-container {
        margin: 10px 0;
    }

    #area2-1 .notice-link {
        font-size: 18px;
    }
}

/* 針對 500px 到 849px 的螢幕寬度 */
@media screen and (max-width: 849px)and (min-width: 500px) {
    #area2-1 .bg {
        display: none;
    }
    
    #area2-1 .mobileBg {
        display: block;
        max-height: 1650px;
    }

    #area2-1 .mobileBg img {
        max-height: 1650px;
    }

    #area2-1 .content-overlay {
        padding-top: 40px;
    }

    #area2-1 .content-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    #area2-1 .divider {
        width: 100%;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.5);
        margin: 60px 0;
        transform: rotate(180deg);
    }

    .apply-button img {
        width: 80%;
    }
}

/* 針對 0 到 499px 的螢幕寬度 */
@media screen and (max-width: 499px)and (min-width: 0) {
    #area2-1 .bg {
        display: none;
    }
    
    #area2-1 .mobileBg {
        display: block;
        max-height: 1100px;
    }

    #area2-1 .mobileBg img {
        max-height: 1100px;
    }

    #area2-1 .content-overlay {
        padding-top: 20px;
    }

    #area2-1 .section-title {
        margin-bottom: 20px;
        font-size: 24px;
    }

    #area2-1 .content-container {
        flex-direction: column;
    }

    #area2-1 .item-icon {
        width: 80px;
    }

    #area2-1 .item-text {
        font-size: 14px;
        line-height: 18px;
    }
    
    #area2-1 .divider {
        width: 100%;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.5);
        margin: 30px 0;
        transform: rotate(180deg);
    }

    .apply-button img {
        width: 80%;
    }
}