H3 {
    color: purple;
    text-decoration: underline;
    font-family: serif;
    font-size: 40pt;
    font-variant: small-caps;
    text-align: right;
}

/* Make a uniform background color only for paragraphs inside a div */
div p {
    background-color: #f0f0f0;
    margin: 0;
    padding: 0.5em 0.75em;
}

/* If you prefer the background to wrap just the text, add class "para-inline" to the <p>
   or use: <div><p class="para-inline">...</p></div> */
.para-inline {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 0.25em 0.5em;
}

/* Page background color + single image (no-repeat) and layered copies */
:root {
    --bg-img: "https://images.impresa.pt/expresso/2026-02-28-big-yahu.jpg-6856fd7f/1x1/mw-1200&outputFormat=jpeg";
}

body {
    position: relative;
    min-height: 100vh;
    background-color: #0b1220; /* page background color */
    background-image: url(https://images.impresa.pt/expresso/2026-02-28-big-yahu.jpg-6856fd7f/1x1/mw-1200&outputFormat=jpeg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

/* Add two extra copies of the same image as layered backgrounds with different opacity */
body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url(https://images.impresa.pt/expresso/2026-02-28-big-yahu.jpg-6856fd7f/1x1/mw-1200&outputFormat=jpeg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
}
body::before { opacity: 0.6; z-index: -2; }
body::after  { opacity: 0.2; z-index: -3; }

/* Paragraph backgrounds inside divs with specified opacities */
div p {
    background-color: rgba(240,240,240,0.6); /* 0.6 opacity */
    margin: 0 0 1em 0;
    padding: 0.5em 0.75em;
}
.low-opacity {
    background-color: rgba(240,240,240,0.2); /* 0.2 opacity */
}