
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    /*background-color: #000; /* Deep space black */
    background-image: url("./elements/bluebrick.jpg");
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    align-items: center;
}

.center {   
	display: block;
   margin-left: auto;
   margin-right: auto;
   width: 50%; }

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind all content */
    pointer-events: none;
    background-color: black;
    overflow: hidden;
}
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}
@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 4px rgba(255, 255, 255, 0.8); }
    100% { opacity: 0; transform: scale(0.5); }
}
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    /*background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
    background-image: url("./elements/bluebrick.jpg");
    border-radius: 8px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    align-items: center;
}
.pdf-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 4px 2px;
    position: relative;
    z-index: 1;
    /*background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
    background-image: url("./elements/bluebrick.jpg");
    border-radius: 8px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    align-items: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f0f0f0;
}
h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f0f0f0;
}

p {
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

a {
    color: #4da6ff;
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
}

a:hover {
    color: #80c1ff;
    text-decoration: underline;
}
.navbar {
    display: flex; /* Makes the nav a flex container */
    justify-content: center; /* Centers the flex items horizontally */
    background-image: url("./elements/bluebrick.jpg");
    overflow: hidden;
}
.navbar a {
            color: white;
            text-decoration: none;
            font-weight: bold;
            padding: 10px 25px;
            border-radius: 1px;
            text-align: center;
}
.navbar a:hover {
            background-color: rgba(255, 0, 0, 0.2);
            background-image: url("./elements/d2_point_up.gif");
            background-repeat: no-repeat;
            background-position: center;
            
}

.center-wrapper {
            max-width: 800px;
            margin: 60px auto;   /* vertical spacing from top */
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
            align-items: center;
}
.image-box img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
}
.gif-side {
            height: 100px;
            width: auto;
        }
        
.gif-side-right {
            height: 100px;
            width: auto;
            float: right;
            margin-left: 15px;
        }
        
.gif-side-left {
            height: 100px;
            width: auto;
            float: left;
            margin-right: 15px;
        }
.align-right {
  float: right;
  margin-left: 15px; /* Adds space between the image and the text */
}
.button {
    text-align: center;
}
/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #aaa;
}
.gallery {
            max-width: 960px;                   /* keep it centred */
            margin: 40px auto;                  /* vertical spacing */
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

        .gallery figure {
            margin: 0;               /* remove default figure margin */
            text-align: center;      /* centre image & caption */
        }

        .gallery img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.15);
        }

        .gallery figcaption {
            margin-top: 8px;
            font-size: 0.9rem;
            color: #333;
        }
