body {
    margin: 0;
    padding: 0;
    background-color: #c8d6c4;
    font-family: sans-serif;
    overflow: hidden; /* Evita scrolls accidentales */
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    padding: 10px;
    box-sizing: border-box;
}

#menu-book {
    margin: 0 auto !important;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    background-color: #fff;
}

.page {
    background-color: #fff;
}

.page img {
    width: 100%;
    height: 100%;
    /* 'contain' es vital para que tus fotos de 2482x3510 no se corten */
    object-fit: contain; 
    display: block;
}

.controls {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

button {
    padding: 12px 24px;
    cursor: pointer;
    background: #374D33;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.3s ease;
}

button:hover {
    background: #4a6645;
}

/* ======================================================
   NUEVA MEDIDA: LAPTOP FULL HD (1920x1080)
   ====================================================== */
@media (min-width: 1025px) {
    .main-wrapper {
        padding: 40px; /* Más espacio alrededor en pantallas grandes */
    }
    
    button {
        font-size: 16px;
        padding: 14px 28px;
    }
}

/* ======================================================
   TUS MEDIDAS RESPONSIVE (MANTENIDAS)
   ====================================================== */

@media (max-width: 840px) {
    button { padding: 10px 16px; }
}

@media (max-width: 640px) {
    button { font-size: 13px; }
}

@media (max-width: 480px) {
    .page img { object-fit: contain; }
    .controls { gap: 5px; }
}

@media (max-width: 412px) {
    button { padding: 10px 12px; flex: 1; }
}

@media (max-width: 320px) {
    .main-wrapper { padding: 5px; }
    button { font-size: 11px; }
}

@media (max-width: 240px) {
    .controls { flex-direction: column; width: 100%; }
    button { width: 100%; }
}