/* =======================================================
   FORBIDDEN LIBRARY
   Viandanti di Ruolo
======================================================= */

.library-game {

    background: linear-gradient(
        180deg,
        rgba(250,248,238,.96),
        rgba(239,235,220,.96)
    );

    min-height: 700px;

    border-radius: 20px;

    padding: 30px;

    margin-bottom: 30px;

    border: 3px solid #7b5a2b;

    box-shadow: 0 0 25px rgba(0,0,0,.25);

}

#magicBook {

    width: 700px;

    max-width: 100%;

    transition: transform .25s ease;

}

#magicBook:hover {

    transform: scale(1.02);

}

.result-box {

    min-height: 220px;

}

#resultTitle {

    font-size: 1.7rem;

    font-weight: bold;

    color: #5b3a16;

    margin-bottom: 15px;

}

#resultText {

    font-size: 1.15rem;

    line-height: 1.8;

}

#readButton {

    min-width: 240px;

    font-size: 1.15rem;

    font-weight: bold;

}

#readButton:disabled {

    opacity: .75;

    cursor: default;

}

@media (max-width: 768px) {

    .library-game {

        padding: 20px;

    }

    #magicBook {

        width: 500px;

    }

    #resultTitle {

        font-size: 1.45rem;

    }

    #resultText {

        font-size: 1.05rem;

    }

}

@media (max-width: 480px) {

    #magicBook {

        width: 100%;

    }

    #resultTitle {

        font-size: 1.25rem;

    }

    #resultText {

        font-size: 1rem;

    }

}