@import url(https://fonts.bunny.net/css?family=nunito-sans:200,200i,300,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i);

/* Full page with fixed background */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url('bg.jpg'); /* placeholder */
    background-size: cover;
    background-attachment: fixed; /* fixed, does not scroll */
    background-position: center;
    position: relative; /* needed for overlay */
}

/* Overlay behind the card */
body::before {
    content: "";
    position: fixed;   /* cover the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black; /* overlay color */
    opacity: 0.35;      /* 20% opacity */
    z-index: 0;        /* behind the card */
}

/* Floating card */
.card {
    width: 600px;
    margin: 135px auto 135px auto; /* top 135px, bottom 135px */
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    padding: 20px; /* small padding around content */
    position: relative; /* sits above overlay */
    z-index: 1;        /* ensure card is above overlay */
}

/* Page image */
.page-image {
    width: 100%;
    display: block;
    margin-bottom: 50px; /* 50px below image */
}

/* Text content */
#text {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    font-family: 'Nunito Sans', sans-serif;
}

/* Signature */
#signature {
    margin-top: 65px; /* 65px below text */
    text-align: right;
    font-style: italic;
    font-size: 16px;
    color: #555;
}

/* Navigation arrows at bottom of card */
.nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 40px;
}

.nav a {
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.nav a:hover {
    color: #0077ff;
}