@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css');

body {
    display: flex;
    justify-content: center;
    font-family: 'Pretendard', sans-serif;
    background: white;
}

html, body {
    -webkit-font-smoothing: antialiased; /* 텍스트 스무딩 */
    text-rendering: optimizeLegibility; /* 텍스트 가독성 향상 */
    overflow: hidden;
}

.logo {
    width: 150px;
}
.container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center; /* 수직 중앙 정렬 */
    height: 100vh; /* 화면 전체 높이를 차지 */
}


.wrapper {
    display: flex;
    justify-content: center; /* 수평 중앙 정렬 */
    transition: transform 2.5s ease;
}

.child {
    background-image: url('../asset/goods_package.png');
    background-size: contain; /* 이미지를 div에 맞게 조절 */
    background-repeat: no-repeat; /* 이미지 반복 방지 */
    flex: 0 0 100px;
    display: flex;
    justify-content: top;
    align-items: top;
    font-size: 2em;
    margin-left: 6px;
    margin-right: 6px;
    flex-direction: column;
    align-items: top; /* 수직 정렬 */
    text-align: top; /* 텍스트 가운데 정렬 */
}

.child img{
    background: white;
    height: 170px;
    width: 180px;
    margin: 70px 5px 5px 5px;
    border: 1px solid;
}

.title {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: center;
}

.bottom {
    margin-top: 20px;
    display: flex;
    flex-direction: column; /* 아이템을 수직으로 정렬 */
}

.round-rect-button {
    display: inline-block;
    padding: 5px 30px;
    border-radius: 20px;
    border: 1.5px solid white;
    background-color: black;
    color: white; /* 버튼의 글자 색상 */
    font-family: Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
    text-align: center; /* 가로 정렬을 중앙으로 설정 */
    line-height: 40px; /* 버튼의 높이와 같은 높이로 설정 */
    transition: background-color 0.3s, color 0.3s;
}

.info {
    color: white; /* 버튼의 글자 색상 */
    font-size: 0.9rem;
    text-align: center; /* 가로 정렬을 중앙으로 설정 */
     margin: 4px 0; /
}

.btn_space {
    margin-top: 70px;
}

@media screen and (max-width: 768px) {
    .info {
        font-size: 0.6rem; /* 화면이 작을 때 텍스트 크기 조절 */
    }
    .title {
        font-size: 1.2rem; /* 화면이 작을 때 텍스트 크기 조절 */
    }
    .btn_space {
        margin-top: 50px;
    }
}

@media screen and (max-width: 568px) {
    .info {
        font-size: 0.5rem; /* 화면이 작을 때 텍스트 크기 조절 */
    }
    .title {
        font-size: 1.0rem; /* 화면이 작을 때 텍스트 크기 조절 */
    }
    .btn_space {
        margin-top: 50px;
    }
}

@media screen and (max-width: 400px) {
    .info {
        font-size: 0.5rem; /* 화면이 작을 때 텍스트 크기 조절 */
    }
    .title {
        font-size: 0.8rem; /* 화면이 작을 때 텍스트 크기 조절 */
    }
    .btn_space {
        margin-top: 30px;
    }
}

@media screen and (max-width: 300px) {
    .info {
        font-size: 0.4rem; /* 화면이 작을 때 텍스트 크기 조절 */
    }
    .title {
        font-size: 0.6rem; /* 화면이 작을 때 텍스트 크기 조절 */
    }
    .btn_space {
        margin-top: 20px;
    }
}



.round-rect-button:hover {
    background-color: white;
    color: black;
}

/* 숨겨진 input 요소 스타일링 */
.round-rect-button input[type="button"] {
    display: none;
}

.goods_info {
    margin-top: 50px;
    width: 100%;
    background: black;
}

.goods_info .name {
    color: white; /* 버튼의 글자 색상 */
    font-size: 13px;
    text-align: center; /* 가로 정렬을 중앙으로 설정 */
    margin: 4px 0; /
}

.goods_info .price {
    color: white   ; /* 버튼의 글자 색상 */
    font-size: 16px;
    text-align: center; /* 가로 정렬을 중앙으로 설정 */
    margin: 4px 0; /
    font-weight: bold;
}

.goods_info .prob {
    color: yellow   ; /* 버튼의 글자 색상 */
    font-size: 13px;
    text-align: center; /* 가로 정렬을 중앙으로 설정 */
    margin: 4px 0; /
}

.golden-sphere {
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.8) 0%, transparent 50%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
}

@keyframes expand {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}
