/* General link styling */
a {
    color: #ffffff; /* Default color for all links */
    text-decoration: underline; /* Keep underline for all links */
    transition: color 0.3s; /* Smooth color transition on hover */
}

a:hover {
    color: #a0a0a0; /* Light grey color on hover */
}

/* External links styling */
a[href^="http://"],
a[href^="https://"] {
    color: #ffffff !important; /* Force white color for external links */
}

/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: 'Raleway', sans-serif;
    color: #ffffff; /* Set the main background font color to white */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body stretches to at least the height of the viewport */
}

/* Header styling */
.header {
    text-align: center;
    background-color: #000;
    padding: 20px 0;
}

.header img {
    max-width: 100%;
    height: auto;
}

/* Navbar styling */
.navbar {
    background-color: #333;
    text-align: center;
    padding: 15px 0;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    display: inline;
    margin-right: 20px;
}

.navbar ul li:last-child {
    margin-right: 0;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #a0a0a0;
}

/* Main content styling */
.main-content {
    flex: 1; /* Ensure main content area grows to fill remaining space */
    text-align: center;
    padding: 50px 0;
    background-color: #707070; /* Grey background for main content */
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
}

.content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.content p {
    font-size: 18px;
    line-height: 1.6;
}

/* Bulleted list styling */
.content ul {
    text-align: left; /* Ensure the text within the list is left-aligned */
    padding-left: 20px;  /* Adjust as needed */
    margin-left: 0;
    list-style-position: outside;  /* Ensure the bullet points are outside the content box */
}

/* Image grid styling */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
    gap: 20px; /* Space between grid items */
    margin-top: 20px;
}

.grid-item {
    text-align: center;
}

.grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.grid-item p {
    margin-top: 10px;
    font-size: 16px;
}

/* The Modal (background) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

