* {
    margin: 0;
    padding: 0;
}
body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.container {
    width: 1100px;
    height: 1318px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
}
.background {
    width: 1100px;
    height: 1318px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
}
img {
    display: block;
}
.middle-row {
    display: flex;
}
.book-wrapper {
    position: relative;
}
.book-wrapper img {
    display: block;
}
.book-clickable {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}
.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    width: 100%;
    height: 100%;
}
.popup-content img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto;
}
.popup-content img.visible {
    opacity: 1;
}
.popup-content img:hover {
    box-shadow: 0 0 10px rgba(255, 165, 0, 1), 0 0 20px rgba(255, 165, 0, 1), 0 0 30px rgba(255, 140, 0, 0.8);
}
.popup-info {
    background: #f5f5f0;
    padding: 20px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}
.popup-info.visible {
    opacity: 1;
}
.popup-info h2 {
    display: inline;
    margin: 0;
    font-size: 18px;
    font-weight: normal;
    font-style: italic;
    color: #333;
}
.popup-info p {
    display: inline;
    margin: 0;
    font-size: 18px;
    font-weight: normal;
    color: #333;
}
.popup-info p::before {
    content: ", by ";
}
