﻿.magazine-viewport {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #1a2a3a;
    overflow: hidden;
}

.magazine {
    width: 1500px;
    height: 550px;
    position: absolute; /* Ensures centering works properly */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-left: 0 !important; /* Override Turn.js margin */
    transform: translate3d(0, 0, 0); /* Ensures no unexpected offset */
}

.page {
    width: 750px;
    height: 550px;
}

    .page img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Navigation Buttons */
.controls {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 20px;
}

#prev-btn, #next-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

#prev-btn:hover, #next-btn:hover {
    background-color: #0056b3;
}
