/* File: css/style.css */



body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-image: url('background.jpg'); 
    background-repeat: no-repeat;                      
    background-attachment: fixed;                     
    background-size: cover;                          
   
}


main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9); 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
}



h2, h3 {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    margin-top: 20px;
}

/* 8.e. CSS Navigational Menu for Primary Nav */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #0056b3; /* Darker blue for nav background */
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #003d80; /* Even darker blue on hover */
}

/* Footer Styles (Secondary Navigation) */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

#footer-nav-container ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

#footer-nav-container ul li a {
    color: #ccc;
    text-decoration: none;
    padding: 0 10px;
    border-right: 1px solid #777;
}

#footer-nav-container ul li:last-child a {
    border-right: none;
}

#footer-nav-container ul li a:hover {
    color: #007bff;
}

/* General Content Styling */
.content-section p, .rules-list li, .category p {
    margin-bottom: 15px;
    text-align: justify;
}

.note {
    font-size: 0.9em;
    color: #888;
    margin-top: 10px;
}

/* Submission/Voting Form Styling */
form {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px dashed #ccc;
    margin-top: 20px;
}

input[type="submit"], .button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

input[type="submit"]:hover, .button:hover {
    background-color: #1e7e34;
}