html, body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
}

#ebook-wrap {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;
}

#header {
    width: 100%;
    height: 50px;
    text-align: center;
    background-color: #6a6a6a;
}

#process-name {
    color: #ffffff;
    font-size: 30px;
    line-height: 50px;
}

#ebook-main {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#flipbook {
    width: 1178px;
    height: 662px;
    margin: 0 auto;
    position: relative;
}

.page {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 이미지를 페이지 크기에 맞게 잘라서 채움 */
}

/* 중앙 화살표 버튼 스타일 */
#page-move-btn {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 13;
}

.contents-btn {
    width: 77px;
    height: 100px;
    margin: 0px 30px;
    cursor: pointer;
}

.prev-btn img, .next-btn img {
    width: 100%;
    height: 100%;
}