* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.png') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow-y: auto;
    padding-bottom: 20px;
    margin-top: 20px;
}

.header-image img {
    width: 600px;
    height: 333px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 0px;
}
.header-image {
    width: 600px;
    height: 333px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 0px;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
}

.gallery-item {
            position: relative;
            text-align: center;
 	padding-top: 40px; /* Added top padding */
        }

.gallery-text {
            position: absolute;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 16px;
            font-weight: bold;
            color: #333;
            max-width: 90%;
        }

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.button-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
}

.button-container a {
    display: flex;
    width: 48%;
    justify-content: center;
}

.button-container a img {
    width:100%; 
    height: auto;
    border-radius: 5px;
}

.prev-button, .next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.prev-button:hover, .next-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.store-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button-row {
    display: flex;
    justify-content: space-around; /* ¹öÆ°À» °¡·Î·Î ¹èÄ¡ */
    width: 100%;
    padding: 20px;
    margin-bottom: 20px; /* ¹öÆ° ÄÁÅ×ÀÌ³Ê¿Í °¶·¯¸® »çÀÌÀÇ °£°Ý ¼³Á¤ */
}

.button-row a img {
    width: 100%;/* ¹öÆ° ÀÌ¹ÌÁö Å©±â Á¶Á¤ */
    height: auto; 
}


.store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    margin: 0 5px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s ease;
}

.store-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.store-button img {
    width: 20px;
    height: auto;
    margin-right: 5px;
}
