body {
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('media/page5/bg.png');
    background-size: cover;
    width: 100%;
    height: 100vh;
    margin: 0;
    position: relative;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Change from absolute to relative */
    width: 1100px; /* Match the width of #page1 */
    height: auto;
    margin: auto;
}

#page5 {
    position: relative; /* Allows absolute children */
    display: block;
}

/* Position relative to page1 */
#book {
    position: absolute; 
    z-index: 2;
}

p {
    font-family: monospace, sans-serif;
    font-weight: 800;
    font-size: 80%; 
    color: #2e45c6;
    position: absolute; 
    z-index:3;
    top: 48%;
}

#book, p {
    filter: blur(2px);
    transition: filter 0.3s ease-in-out;
}

#book:hover, p:hover {
    filter: blur(0);
}

a:link {
    color: #2e45c6;
}
a:visited {
    color: #2e45c6;
}
a:hover, a:active { 
    background-color: rgb(202, 222, 255);
}  