/* section1.css */

.top-coupon-banner-section {
    width: 100%;
    background-color: var(--event-banner-background-color, #FFF5F7);
    border-top: 1px solid var(--event-banner-border-color, #FFE6EB);
    border-bottom: 1px solid var(--event-banner-border-color, #FFE6EB);
}

.top-coupon-banner-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 16px 80px;
    display: flex;
    justify-content: center;
}

.top-coupon-banner-link {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.top-coupon-banner-image {
    width: 128px;
    height: 80px;
    flex: 0 0 auto;
}

.top-coupon-banner-text {
    display: block;
    font-family: Pretendard, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    --event-banner-text-color: #111111;
    --event-banner-highlight-color: #F01941;
}

.top-coupon-banner-text .event-banner-text {
    color: var(--event-banner-text-color);
}

.top-coupon-banner-text .event-banner-highlight {
    color: var(--event-banner-highlight-color);
}

#section1 {
    width: 100%;
    background-color: #ffffff;
    padding: 96px 80px;

}

.section1-container {
    width: 100%;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    height: auto; /* 높이를 자동으로 조정 */
    margin: 0 auto;
}

.intro-text-container {
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: center;
}

.intro-text {
    width: max-content;
    max-width: 436px;
    height: auto;
    margin: 0 auto;
}

.intro-text h1 {
    font-size: 56px;
    font-family: 'Pretendard-ExtraBold', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    word-break: break-all;
}

.intro-sub-image {
    margin-top: 48px;
}

.intro-sub-image img {
    width: 290.57px;
    height: 36px;
    display: block;
}

.intro-download-button {
    /*display: flex;*/
    display: inline-block;
    align-items: center;
    /*width: 285px;*/
    height: 64px;
    padding: 14px 40px;
    font-size: 24px;
    font-weight: 700;
    background-color: #143CD2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 40px;
    border: none;
    margin-top: 48px;
    cursor: pointer;
}

.intro-download-button:hover {
    background-color: #1030A8;
}

.intro-image {
    width: 50%; /* 이미지 영역의 너비 */
    height: auto;
    overflow: hidden;
    border-radius: 32px;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

/* 미디어 쿼리 */
@media (max-width: 1079px) {
    .top-coupon-banner-container {
        padding: 16px 20px;
        justify-content: flex-start;
    }

    .top-coupon-banner-link {
        gap: 16px;
    }

    .top-coupon-banner-image {
        width: 96px;
        height: 60px;
    }

    .top-coupon-banner-text {
        font-size: 18px;
    }

    #section1 {
        padding: 48px 20px;
    }

    .section1-container {
        max-width: unset;
        flex-direction: column;
        align-items: unset;
        gap: 24px;
    }

    .intro-text-container {
        width: 100%;
    }

    .intro-image {
        width: 100%;
        border-radius: 16px;
    }

    .intro-text {
        margin: 0;
    }

    .intro-text h1 {
        font-size: 32px;
    }

    .intro-sub-image {
        margin-top: 24px;
    }

    .intro-sub-image img {
        width: 161.43px;
        height: 20px;
    }

    .intro-download-button {
        display: none;
    }

    .intro-image img {
        border-radius: 16px;
    }
}
