/* Main Site Styles */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f4f4;
}

/* Header */
header {
    background: #333;
    color: white;
    text-align: center;
    padding: 25px;
}

.logo {
    width: 120px;
    margin-bottom: 10px;
}

/* Navigation */
nav {
    background: #444;
    text-align: center;
    padding: 12px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1em;
}

nav a:hover {
    text-decoration: underline;
}

nav a.active {
    font-weight: bold;
    text-decoration: underline;
}

/* Main Content Area */
main {
    max-width: 900px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    text-align: center;
}

/* Gallery Grid */
.gallery-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gallery-item {
    width: 30%;
    background: #fafafa;
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    border-radius: 4px;
}

/* Voting Page */
.voting-images {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.vote-item {
    width: 30%;
    text-align: center;
}

.vote-item img {
    width: 100%;
    border-radius: 4px;
}

/* Form Elements */
label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
}

button {
    padding: 12px 18px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background: #111;
}

/* Notes */
.note {
    font-size: 0.9em;
    color: #555;
    margin-top: 15px;
}

/* Footer (generated by JS) */
footer {
    margin-top: 40px;
}