/*
Theme Name: Oussa-dit 
Template: twentytwentyfive
Version: 1.0.0
Author: VirtualThom 
Description: A theme for Oussa-dit
*/
body {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
    background-color: #f5eec8; /* Parchment color */
}

.book-layout {
    display: flex;
    flex-wrap: wrap;
    height: 95vh;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* Partie gauche (Image) */
.left-part {
    flex: 1;
    text-align: center;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.left-part img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Partie droite (Texte) */
.right-part {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
    overflow-wrap: break-word;
}

#loadRandomPostButton{
    background-color: #f5eec8; /* Parchment color */
    margin-left: 20px;
    margin-top: 5px;
}

/*  Version Responsive: Image au-dessus et texte en dessous sur petits écrans */
@media (max-width: 768px) {
    .book-layout {
        flex-direction: column;
        height: auto;
    }

    .left-part, .right-part {
        max-width: 100%;
        text-align: center;
        padding: 10px;
    }

    .left-part img {
        max-width: 90%;
        height: auto;
    }

    .right-part {
        text-align: justify;
    }

    .dog-eared-page-button {
        bottom: 10px;
        right: 10px;
        font-size: 14px;
        padding: 8px 16px;
    }
}

