body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: left;
}

nav {
    background-color: #333;
    padding: 10px;
    text-align: center;
}

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

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

nav a.active {
    color: #999;
    font-weight: bold;
}

h1, h2 {
    color: #333;
}

.upload-section {
    margin-top: 20px;
}

.upload-section input, .upload-section textarea {
    padding: 10px;
    font-size: 1em;
}

.upload-section button {
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

.upload-section button:hover {
    background-color: #555;
}

#photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

#photo-gallery img, #photo-gallery video {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    aspect-ratio: auto;
}

#logout-button {
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
}

#logout-button:hover {
    background-color: #555;
}

/* Responsive design for mobile */
@media (max-width: 600px) {
    nav a {
        display: block;
        margin: 10px 0;
    }
}

.auth-section {
    margin-top: 20px;
    max-width: 400px;
}

.auth-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-section input, .auth-section button {
    padding: 10px;
    font-size: 1em;
}

.auth-section button {
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

.auth-section button:hover {
    background-color: #555;
}