/* General reset and accessibility styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

/* Default Light Mode */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
}

/* Ensure Dark Mode Affects Body */
html.dark-mode, body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

/* Header styles with Hertfordshire Police branding */
.header {
    background-color: #003399;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    position: relative;
}

/* Dark Mode Header */
html.dark-mode .header, 
body.dark-mode .header {
    background-color: #222;
}

/* Main content styles */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Content */
html.dark-mode .content, 
body.dark-mode .content {
    background-color: #1e1e1e;
    color: #ffffff;
}

/* Religion list and links */
.religion-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.religion-link {
    display: inline-block;
    width: 100%;
    max-width: 600px;
    padding: 15px;
    margin: 10px 0;
    background-color: #003399;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out;
}

/* Dark Mode Religion Links */
html.dark-mode .religion-link, 
body.dark-mode .religion-link {
    background-color: #444;
    color: #ffffff;
}

html.dark-mode .religion-link:hover, 
body.dark-mode .religion-link:hover {
    background-color: #666;
}

/* Footer */
.footer {
    text-align: center;
    padding: 10px;
    background-color: #003399;
    color: white;
    font-size: 1rem;
    position: relative;
    margin-top: 40px;
}

/* Dark Mode Footer */
html.dark-mode .footer, 
body.dark-mode .footer {
    background-color: #222;
}
