



/* 전체 스타일 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #b3b1b1;
    /* 배경 색상 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* 전체 화면 높이 */
    box-sizing: border-box;
}

/* 첫 번째 이미지 컨테이너 */
.image-container {
    width: 96px;
    height: 96px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    /* 이미지와 다음 콘텐츠 사이의 간격 */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 첫 번째 텍스트 */
.text-container {
    text-align: center;
    /* 컨테이너 가운데 정렬 */
    margin-bottom: 20px;
    /* 텍스트와 다음 콘텐츠 사이의 간격 */
    padding: 0 15px;
    max-width: 600px;
    /* 최대 너비 제한 */
    width: 90%;
    /* 자동 너비 */
    word-wrap: break-word;
    /* 자동 줄바꿈 */
    word-break: break-all;
    /* 단어가 컨테이너 밖으로 나가는 것 방지 */
    overflow-wrap: break-word;
    /* 줄바꿈 보장 */
}

.text-container h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2c2c2c;
    font-weight: bold;
}

.text-container p {
    font-size: 16px;
    color: #2c2c2c;
    line-height: 1.8;
    font-weight: bold;
    text-align: justify;
    /* 텍스트 양쪽 정렬 */
}

/* 버튼 스타일 */
.button,
.second-button {
    width: 90%;
    /* 버튼 너비 자동 조정 */
    max-width: 600px;
    margin-top: 20px;
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    background-color: white;
    color: #333;
    border: 2px solid #b3b1b1;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    transition:
        background-color 0.3s,
        color 0.3s,
        border-color 0.3s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.button:hover,
.second-button:hover {
    background-color: #b3b1b1;
    color: white;
    border-color: white;
}

.button:active,
.second-button:active {
    background-color: #b3b1b1;
    color: white;
    border-color: white;
}

/* 두 번째 이미지 컨테이너 */
.second-image-container {
    margin-top: 30px;
    position: relative;
    width: 90%;
    /* 자동 너비 */
    max-width: 600px;
}

.second-image-container img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
}

.second-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    padding: 10px;
    box-sizing: border-box;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* 두 번째 버튼 스타일 (아이콘 포함, 텍스트 가운데 정렬) */
.second-button {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 아이콘과 텍스트 가운데 정렬 */
    gap: 10px;
    /* 아이콘과 텍스트 사이의 간격 */
    animation: pulse 2s infinite;
}

.second-button img {
    width: 50px;
    /* 이미지 더 크게, 작은 화면에서 보기 좋음 */
    height: 50px;
    border-radius: 50%;
    /* 원형 이미지 */
    object-fit: cover;
}

/* 호흡 애니메이션 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* 반응형 레이아웃 최적화 */
@media (max-width: 768px) {
    .text-container h1 {
        font-size: 20px;
    }

    .text-container p {
        font-size: 14px;
    }

    .button,
    .second-button {
        font-size: 16px;
        padding: 14px;
    }

    .second-button img {
        width: 40px;
        height: 40px;
    }
}
